Skip to content

Commit 7812f3c

Browse files
committed
fixing variables
1 parent 06a8efd commit 7812f3c

File tree

1 file changed

+14
-15
lines changed

1 file changed

+14
-15
lines changed

src/_sass/elements/_code.scss

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ code[class*="language-"],
1919
pre[class*="language-"] {
2020
color: black;
2121
text-shadow: 0 1px white;
22-
font-family: Consolas, Monaco, 'Andale Mono', monospace;
22+
font-family: "Droid Sans Mono", "Lucida Console", "Monaco", monospace;
2323
direction: ltr;
2424
text-align: left;
2525
white-space: pre;
@@ -40,13 +40,13 @@ pre[class*="language-"] {
4040
pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,
4141
code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {
4242
text-shadow: none;
43-
background: #eceef0;
43+
background: color(gray-100);
4444
}
4545

4646
pre[class*="language-"]::selection, pre[class*="language-"] ::selection,
4747
code[class*="language-"]::selection, code[class*="language-"] ::selection {
4848
text-shadow: none;
49-
background: #eceef0;
49+
background: color(gray-100);
5050
}
5151

5252
@media print {
@@ -61,12 +61,12 @@ pre[class*="language-"] {
6161
padding: 1em;
6262
margin: .5em 0;
6363
overflow: auto;
64-
background-color: #eceef0;
64+
background-color: color(code-background);
6565
}
6666

6767
:not(pre) > code[class*="language-"],
6868
pre[class*="language-"] {
69-
background: #eceef0;
69+
background: color(gray-50);
7070
}
7171

7272
/* Inline code */
@@ -79,15 +79,15 @@ pre[class*="language-"] {
7979
.token.prolog,
8080
.token.doctype,
8181
.token.cdata {
82-
color: #474d66;
82+
color: color(code-gray);
8383
}
8484

8585
.token.punctuation {
86-
color: #474d66;
86+
color: color(code-gray);
8787
}
8888

8989
.namespace {
90-
opacity: .7;
90+
opacity: .1;
9191
}
9292

9393
.token.property,
@@ -97,7 +97,7 @@ pre[class*="language-"] {
9797
.token.constant,
9898
.token.symbol,
9999
.token.deleted {
100-
color: #d52039;
100+
color: color(code-orange);
101101
}
102102

103103
.token.selector,
@@ -106,32 +106,31 @@ pre[class*="language-"] {
106106
.token.char,
107107
.token.builtin,
108108
.token.inserted {
109-
color: #6fba97;
109+
color: color(code-green);
110110
}
111111

112112
.token.operator,
113113
.token.entity,
114114
.token.url,
115115
.language-css .token.string,
116116
.style .token.string {
117-
color: #f89c56;
118-
background: hsla(0, 0%, 100%, .5);
117+
color: color(code-orange);
119118
}
120119

121120
.token.atrule,
122121
.token.attr-value,
123122
.token.keyword {
124-
color: #2e98df;
123+
color: color(code-orange);
125124
}
126125

127126
.token.function {
128-
color: #ff678d;
127+
color: color(code-pink);
129128
}
130129

131130
.token.regex,
132131
.token.important,
133132
.token.variable {
134-
color: #f89c56;
133+
color: color(code-orange);
135134
}
136135

137136
.token.important,

0 commit comments

Comments
 (0)