Skip to content

Commit 28d9b58

Browse files
committed
Improve consistency of CSS3 package and default CSS syntax
1 parent cca250c commit 28d9b58

File tree

2 files changed

+34
-12
lines changed

2 files changed

+34
-12
lines changed

Brackets Dark.sublime-color-scheme

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@
326326
},
327327
{
328328
"name": "CSS unit keyword",
329-
"scope": "constant.numeric.css keyword.other.unit.css",
329+
"scope": "keyword.other.unit.css",
330330
"foreground": "var(green)"
331331
},
332332
{
@@ -359,6 +359,22 @@
359359
"scope": "entity.name.tag.wildcard.css",
360360
"foreground": "var(textcolor)"
361361
},
362+
// CSS specific rules >> https://packagecontrol.io/packages/CSS3
363+
{
364+
"name": "CSS pseudo-class/pseudo-element",
365+
"scope": "entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css",
366+
"foreground": "var(textcolor)"
367+
},
368+
{
369+
"name": "CSS unquoted font name",
370+
"scope": "meta.property-value.font-family.css string.unquoted.identifier.css",
371+
"foreground": "var(textcolor)"
372+
},
373+
{
374+
"name": "CSS variable",
375+
"scope": "support.type.property-name.custom.css",
376+
"foreground": "var(textcolor)"
377+
},
362378
// D specific rules
363379
{
364380
"name": "D numeric base prefix",
@@ -1015,11 +1031,6 @@
10151031
"scope": "entity.other.attribute-name.attribute.scss",
10161032
"foreground": "var(blue)"
10171033
},
1018-
{
1019-
"name": "SCSS pseudo-class/pseudo-element",
1020-
"scope": "source.scss entity.other.attribute-name.pseudo-class.css, source.scss entity.other.attribute-name.pseudo-element.css",
1021-
"foreground": "var(textcolor)"
1022-
},
10231034
{
10241035
"name": "SCSS property value",
10251036
"scope": "support.constant.property-value.scss, support.constant.font-name.scss",

Brackets Light.sublime-color-scheme

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@
326326
},
327327
{
328328
"name": "CSS unit keyword",
329-
"scope": "constant.numeric.css keyword.other.unit.css",
329+
"scope": "keyword.other.unit.css",
330330
"foreground": "var(green)"
331331
},
332332
{
@@ -359,6 +359,22 @@
359359
"scope": "entity.name.tag.wildcard.css",
360360
"foreground": "var(textcolor)"
361361
},
362+
// CSS specific rules >> https://packagecontrol.io/packages/CSS3
363+
{
364+
"name": "CSS pseudo-class/pseudo-element",
365+
"scope": "entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css",
366+
"foreground": "var(textcolor)"
367+
},
368+
{
369+
"name": "CSS unquoted font name",
370+
"scope": "meta.property-value.font-family.css string.unquoted.identifier.css",
371+
"foreground": "var(textcolor)"
372+
},
373+
{
374+
"name": "CSS variable",
375+
"scope": "support.type.property-name.custom.css",
376+
"foreground": "var(textcolor)"
377+
},
362378
// D specific rules
363379
{
364380
"name": "D numeric base prefix",
@@ -1015,11 +1031,6 @@
10151031
"scope": "entity.other.attribute-name.attribute.scss",
10161032
"foreground": "var(blue)"
10171033
},
1018-
{
1019-
"name": "SCSS pseudo-class/pseudo-element",
1020-
"scope": "source.scss entity.other.attribute-name.pseudo-class.css, source.scss entity.other.attribute-name.pseudo-element.css",
1021-
"foreground": "var(textcolor)"
1022-
},
10231034
{
10241035
"name": "SCSS property value",
10251036
"scope": "support.constant.property-value.scss, support.constant.font-name.scss",

0 commit comments

Comments
 (0)