Skip to content

Commit 1224f08

Browse files
committed
feat(design): adjust prismjs theme colors
1 parent 6aa2213 commit 1224f08

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

static/styles/prism.scss

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
code[class*="language-"],
99
pre[class*="language-"] {
10-
color: black;
10+
color: #333;
1111
background: none;
1212
// text-shadow: 0 1px white;
1313
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
@@ -82,23 +82,26 @@ pre[class*="language-"] {
8282
opacity: .7;
8383
}
8484

85-
.token.property,
86-
.token.tag,
87-
.token.boolean,
88-
.token.number,
8985
.token.constant,
9086
.token.symbol,
9187
.token.deleted {
9288
color: #905;
9389
}
9490

91+
.token.property,
92+
.token.tag,
93+
.token.boolean,
94+
.token.number {
95+
color: #9b59b6;
96+
}
97+
9598
.token.selector,
9699
.token.attr-name,
97100
.token.string,
98101
.token.char,
99102
.token.builtin,
100103
.token.inserted {
101-
color: #690;
104+
color: #16a085; // green
102105
}
103106

104107
.token.operator,
@@ -117,7 +120,7 @@ pre[class*="language-"] {
117120
}
118121

119122
.token.function {
120-
color: #DD4A68;
123+
color: #c0392b;
121124
}
122125

123126
.token.regex,

0 commit comments

Comments
 (0)