Skip to content

Commit

Permalink
fix(theme): adjust light theme to new settings in vscode 1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Lieben committed Feb 2, 2017
1 parent 691610f commit f4cd0f4
Show file tree
Hide file tree
Showing 2 changed files with 115 additions and 40 deletions.
58 changes: 40 additions & 18 deletions themes/light_plus.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
"name": "Function declarations",
"scope": [
"entity.name.function",
"support.function"
"support.function",

"support.constant.handlebars"
],
"settings": {
"foreground": "#795E26"
Expand All @@ -19,8 +21,28 @@
"support.class",
"support.type",
"entity.name.type",
"entity.name.class",

"storage.type.cs",
"storage.type.java"
"storage.type.generic.cs",
"storage.type.modifier.cs",
"storage.type.variable.cs",

"storage.type.annotation.java",
"storage.type.generic.java",
"storage.type.java",
"storage.type.object.array.java",
"storage.type.primitive.array.java",
"storage.type.primitive.java",
"storage.type.token.java",

"storage.type.groovy",
"storage.type.annotation.groovy",
"storage.type.parameters.groovy",
"storage.type.generic.groovy",
"storage.type.object.array.groovy",
"storage.type.primitive.array.groovy",
"storage.type.primitive.groovy"
],
"settings": {
"foreground": "#267f99"
Expand All @@ -34,7 +56,9 @@
"meta.type.new.expr",
"support.constant.math",
"support.constant.dom",
"support.constant.json"
"support.constant.json",

"entity.other.inherited-class"
],
"settings": {
"foreground": "#267f99"
Expand All @@ -50,40 +74,38 @@
{
"name": "Variable and parameter name",
"scope": [
"variable.parameter",
"variable",
"variable.name",
"meta.definition.variable.name",
"support.variable"
],
"settings": {
"foreground": "#001080"
}
},
{
"name": "Object keys, TS gammar specific",
"scope": "object-literal.member.key",
"name": "Object keys, TS grammar specific",
"scope": [
"meta.object-literal.key",
"meta.object-literal.key entity.name.function"
],
"settings": {
"foreground": "#001080"
}
},
{
"name": "CSS property value",
"scope": [
"support.property-value",
"constant.rgb-value",
"support.property-value.scss",
"constant.rgb-value.scss"
"support.constant.property-value",
"support.constant.font-name",
"support.constant.media-type",
"support.constant.media",
"constant.other.color.rgb-value",
"constant.other.rgb-value",
"support.constant.color"
],
"settings": {
"foreground": "#0451a5"
}
},
{
"name": "JSX Tag names, workaround for flattening match with function",
"scope": "entity.name.function.tag",
"settings": {
"foreground": "#800000"
}
}
]
}
97 changes: 75 additions & 22 deletions themes/light_vs.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
}
},
{
"scope": "header",
"scope": "meta.diff.header",
"settings": {
"foreground": "#000080"
}
Expand All @@ -34,7 +34,9 @@
}
},
{
"scope": "constant.numeric",
"scope": [
"constant.numeric"
],
"settings": {
"foreground": "#09885a"
}
Expand All @@ -45,12 +47,6 @@
"foreground": "#811f3f"
}
},
{
"scope": "constant.rgb-value",
"settings": {
"foreground": "#0451a5"
}
},
{
"name": "css tags in selectors, xml tags",
"scope": "entity.name.tag",
Expand All @@ -71,7 +67,19 @@
}
},
{
"scope": ["entity.other.attribute-name.css", "entity.other.attribute-name.scss"],
"scope": [
"entity.other.attribute-name.class.css",
"entity.other.attribute-name.class.mixin.css",
"entity.other.attribute-name.id.css",
"entity.other.attribute-name.parent-selector.css",
"entity.other.attribute-name.pseudo-class.css",
"entity.other.attribute-name.pseudo-element.css",

"source.css.less entity.other.attribute-name.id",

"entity.other.attribute-name.attribute.scss",
"entity.other.attribute-name.scss"
],
"settings": {
"foreground": "#800000"
}
Expand Down Expand Up @@ -128,7 +136,10 @@
}
},
{
"scope": ["markup.punctuation.quote.beginning", "markup.punctuation.list.beginning"],
"scope": [
"beginning.punctuation.definition.quote.markdown",
"beginning.punctuation.definition.list.markdown"
],
"settings": {
"foreground": "#0451a5"
}
Expand Down Expand Up @@ -201,7 +212,28 @@
}
},
{
"scope": ["string.xml", "string.jade", "string.yaml", "string.html"],
"scope": [

"string.comment.buffered.block.jade",
"string.quoted.jade",
"string.interpolated.jade",

"string.unquoted.plain.in.yaml",
"string.unquoted.plain.out.yaml",
"string.unquoted.block.yaml",
"string.quoted.single.yaml",

"string.quoted.double.xml",
"string.quoted.single.xml",
"string.unquoted.cdata.xml",

"string.quoted.double.html",
"string.quoted.single.html",
"string.unquoted.html",

"string.quoted.single.handlebars",
"string.quoted.double.handlebars"
],
"settings": {
"foreground": "#0000ff"
}
Expand All @@ -213,13 +245,37 @@
}
},
{
"scope": "support.property-value",
"name": "JavaScript string interpolation ${}",
"scope": [
"punctuation.definition.template-expression.begin.ts",
"punctuation.definition.template-expression.end.ts"
],
"settings": {
"foreground": "#0000ff"
}
},
{
"scope": [
"support.constant.property-value",
"support.constant.font-name",
"support.constant.media-type",
"support.constant.media",
"constant.other.color.rgb-value",
"constant.other.rgb-value",
"support.constant.color"
],
"settings": {
"foreground": "#0451a5"
}
},
{
"scope": ["support.type.property-name.css", "support.type.property-name.less", "support.type.property-name.scss"],
"scope": [
"support.type.property-name.css",
"support.type.property-name.variable.css",
"support.type.property-name.media.css",
"support.type.property-name.less",
"support.type.property-name.scss"
],
"settings": {
"foreground": "#ff0000"
}
Expand Down Expand Up @@ -261,13 +317,10 @@
}
},
{
"scope": "keyword.control.less",
"settings": {
"foreground": "#800000"
}
},
{
"scope": "metatag.php",
"scope": [
"punctuation.section.embedded.begin.metatag.php",
"punctuation.section.embedded.end.metatag.php"
],
"settings": {
"foreground": "#800000"
}
Expand Down Expand Up @@ -298,7 +351,7 @@
"foreground": "#0000ff"
}
},
{
{
"scope": ["punctuation.definition.string.interpolation.start","punctuation.definition.string.interpolation.end"],
"settings": {
"foreground": "#ba68c8"
Expand All @@ -309,6 +362,6 @@
"settings": {
"foreground": "#ba68c8"
}
}
}
]
}

0 comments on commit f4cd0f4

Please sign in to comment.