Skip to content

Commit

Permalink
[GHI-#27] Colorize the hash symbol of CSS hex color values as keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
arcticicestudio committed Sep 20, 2016
1 parent ebdb534 commit 5ca7ba3
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions styles/languages/css.less
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,21 @@ W3C
.source.css.less,
.source.css.scss,
.source.css.sass {
.meta.at-rule {
.punctuation.definition.keyword {
color: @syntax-color-keyword;
.meta {
&.at-rule {
.punctuation.definition.keyword {
color: @syntax-color-keyword;
}

& > .string.quoted {
color: @syntax-color-class;
}
}

& > .string.quoted {
color: @syntax-color-class;
&.property-value {
.punctuation.definition.constant {
color: @syntax-color-keyword;
}
}
}

Expand Down

0 comments on commit 5ca7ba3

Please sign in to comment.