Skip to content

Commit

Permalink
Merge widgets and scheme variables
Browse files Browse the repository at this point in the history
  • Loading branch information
equinusocio committed May 29, 2016
1 parent dcf0ebd commit f48df5d
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 57 deletions.
17 changes: 4 additions & 13 deletions src/settings/specific/Material-Theme-Darker.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,6 @@
}
}
},
"widget": {
"background": "#212121",
"caret": "#FFCC00",
"foreground": "#616161",
"highlight": "#00000030",
"selection": "#61616140",
"invisibles": "#BFBFBF",
"comments": "#4A4A4A",
"keywords": "#cfd8dc",
"constant": "#80CBC4",
"string": "#F9355A",
"constantEscape": "#FFC400"
},
"scheme": {
"background": "#212121",
"comments": "#4A4A4A",
Expand All @@ -60,6 +47,10 @@
"highlight": "#00000030",
"selection": "#61616140",
"shadow": "#00000010",
"keywords": "#cfd8dc",
"constant": "#80CBC4",
"string": "#F9355A",
"constantEscape": "#FFC400",
"base": {
"white": "#ffffff",
"black": "#000000",
Expand Down
17 changes: 4 additions & 13 deletions src/settings/specific/Material-Theme-Lighter.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,6 @@
}
}
},
"widget": {
"background": "#fafafa",
"caret": "#27272790",
"foreground": "#80CBC4",
"highlight": "#90A4AE20",
"selection": "#80CBC440",
"invisibles": "#E7EAEC",
"comments": "#CCD7DA",
"keywords": "#AAB3B5",
"constant": "#80CBC4",
"string": "#F9355A",
"constantEscape": "#FFC400"
},
"scheme": {
"background": "#fafafa",
"comments": "#CCD7DA",
Expand All @@ -60,6 +47,10 @@
"highlight": "#90A4AE20",
"selection": "#80CBC440",
"shadow": "#90A4AE50",
"keywords": "#AAB3B5",
"constant": "#80CBC4",
"string": "#F9355A",
"constantEscape": "#FFC400",
"base": {
"white": "#ffffff",
"black": "#000000",
Expand Down
17 changes: 4 additions & 13 deletions src/settings/specific/Material-Theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,6 @@
}
}
},
"widget": {
"background": "#263238",
"caret": "#B0BEC5",
"foreground": "#607D8B",
"highlight": "#00000012",
"selection": "#546E7A",
"invisibles": "#65737e",
"comments": "#546E7A",
"keywords": "#cfd8dc",
"constant": "#80CBC4",
"string": "#F9355A",
"constantEscape": "#FFC400"
},
"scheme": {
"background": "#263238",
"comments": "#546E7A",
Expand All @@ -56,6 +43,10 @@
"highlight": "#00000030",
"selection": "#80CBC420",
"shadow": "#00000010",
"keywords": "#cfd8dc",
"constant": "#80CBC4",
"string": "#F9355A",
"constantEscape": "#FFC400",
"base": {
"white": "#ffffff",
"black": "#000000",
Expand Down
22 changes: 11 additions & 11 deletions src/widgets/widget.stTheme
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@
<key>background</key>
<string><%= ui.background.primary.hex %></string>
<key>caret</key>
<string><%= widget.caret %></string>
<string><%= scheme.caret %></string>
<key>foreground</key>
<string><%= widget.foreground %></string>
<string><%= scheme.foreground %></string>
<key>invisibles</key>
<string><%= widget.invisibles %></string>
<string><%= scheme.invisibles %></string>
<key>lineHighlight</key>
<string><%= widget.highlight %></string>
<string><%= scheme.highlight %></string>
<key>selection</key>
<string><%= widget.selection %></string>
<string><%= scheme.selection %></string>
<key>selectionBorder</key>
<string><%= widget.selection %></string>
<string><%= scheme.selection %></string>
</dict>
</dict>
<dict>
Expand All @@ -41,7 +41,7 @@
<key>fontStyle</key>
<string>italic</string>
<key>foreground</key>
<string><%= widget.comments %></string>
<string><%= scheme.comments %></string>
</dict>
</dict>
<dict>
Expand All @@ -52,7 +52,7 @@
<key>settings</key>
<dict>
<key>foreground</key>
<string><%= widget.keyword %></string>
<string><%= scheme.keyword %></string>
</dict>
</dict>
<dict>
Expand All @@ -61,7 +61,7 @@
<key>settings</key>
<dict>
<key>foreground</key>
<string><%= widget.constant %></string>
<string><%= scheme.constant %></string>
</dict>
</dict>
<dict>
Expand All @@ -70,7 +70,7 @@
<key>settings</key>
<dict>
<key>foreground</key>
<string><%= widget.string %></string>
<string><%= scheme.string %></string>
</dict>
</dict>
<dict>
Expand All @@ -79,7 +79,7 @@
<key>settings</key>
<dict>
<key>foreground</key>
<string><%= widget.constantEscape %></string>
<string><%= scheme.constantEscape %></string>
</dict>
</dict>
</array>
Expand Down
4 changes: 2 additions & 2 deletions widgets/Widget - Material-Theme-Darker.stTheme
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
<key>caret</key>
<string>#FFCC00</string>
<key>foreground</key>
<string>#616161</string>
<string>#eeffffff</string>
<key>invisibles</key>
<string>#BFBFBF</string>
<string>#65737e</string>
<key>lineHighlight</key>
<string>#00000030</string>
<key>selection</key>
Expand Down
10 changes: 5 additions & 5 deletions widgets/Widget - Material-Theme.stTheme
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@
<key>background</key>
<string>#263238</string>
<key>caret</key>
<string>#B0BEC5</string>
<string>#FFCC00</string>
<key>foreground</key>
<string>#607D8B</string>
<string>#eeffff</string>
<key>invisibles</key>
<string>#65737e</string>
<key>lineHighlight</key>
<string>#00000012</string>
<string>#00000030</string>
<key>selection</key>
<string>#546E7A</string>
<string>#80CBC420</string>
<key>selectionBorder</key>
<string>#546E7A</string>
<string>#80CBC420</string>
</dict>
</dict>
<dict>
Expand Down

0 comments on commit f48df5d

Please sign in to comment.