Skip to content

Commit 03c0903

Browse files
committed
style: update code highlighting.
1 parent 26d3251 commit 03c0903

File tree

1 file changed

+3
-16
lines changed

1 file changed

+3
-16
lines changed

src/style/index.less

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
.token.constant,
4343
.token.deleted,
4444
.token.number,
45-
.token.property,
4645
.token.symbol {
4746
color: #e91e63;
4847
}
@@ -66,6 +65,7 @@
6665
.token.atrule,
6766
.token.attr-value,
6867
.token.attr-name,
68+
.token.property,
6969
.token.keyword {
7070
color: #3f51b5;
7171
}
@@ -90,21 +90,8 @@
9090
.attr-name {
9191
color: #005cc5;
9292
}
93-
}
94-
95-
code[class*='language-css'],
96-
pre[class*='language-css'] {
97-
color: #005cc5;
98-
.token.property,
99-
.token.color {
100-
color: #005cc5;
101-
}
102-
103-
.unit {
104-
color: #d73a49;
105-
}
106-
107-
.token.selector .class {
93+
.token.selector .class,
94+
.token.class-name {
10895
color: #6f42c1;
10996
}
11097
}

0 commit comments

Comments
 (0)