Skip to content

Commit 323f771

Browse files
Merge branch 'improvement/ghi-#27-colorize-css-hex-color-hash-symbol-as-keyword' into develop
2 parents ebdb534 + 5ca7ba3 commit 323f771

1 file changed

Lines changed: 13 additions & 5 deletions

File tree

styles/languages/css.less

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,21 @@ W3C
2626
.source.css.less,
2727
.source.css.scss,
2828
.source.css.sass {
29-
.meta.at-rule {
30-
.punctuation.definition.keyword {
31-
color: @syntax-color-keyword;
29+
.meta {
30+
&.at-rule {
31+
.punctuation.definition.keyword {
32+
color: @syntax-color-keyword;
33+
}
34+
35+
& > .string.quoted {
36+
color: @syntax-color-class;
37+
}
3238
}
3339

34-
& > .string.quoted {
35-
color: @syntax-color-class;
40+
&.property-value {
41+
.punctuation.definition.constant {
42+
color: @syntax-color-keyword;
43+
}
3644
}
3745
}
3846

0 commit comments

Comments
 (0)