Skip to content

Commit

Permalink
Merge pull request #151 from pjlamb12/master
Browse files Browse the repository at this point in the history
JS and TS changes for VS Code
  • Loading branch information
wesbos authored Sep 11, 2017
2 parents b92c285 + e717528 commit c628eb7
Showing 1 changed file with 211 additions and 8 deletions.
219 changes: 211 additions & 8 deletions cobalt2.tmTheme
Original file line number Diff line number Diff line change
Expand Up @@ -926,8 +926,8 @@
<string>Template Literals - ticks</string>
<key>scope</key>
<string>
, template.begin,
, template.end,
, punctuation.definition.string.template.begin.js,
, punctuation.definition.string.template.end.js,
</string>
<key>settings</key>
<dict>
Expand All @@ -940,7 +940,7 @@
<key>name</key>
<string>Template Literals - words</string>
<key>scope</key>
<string>template</string>
<string>string.template.js</string>
<key>settings</key>
<dict>
<key>foreground</key>
Expand All @@ -953,9 +953,7 @@
<string>Template Literals - expressions</string>
<key>scope</key>
<string>
, string.template.expression.punctuation.begin,
, string.template.expression.punctuation.end,
, string.template.expression.brace,
, string.template.js punctuation,
</string>
<key>settings</key>
<dict>
Expand All @@ -980,7 +978,7 @@
<key>name</key>
<string>Template Literals - language</string>
<key>scope</key>
<string>template.variable.language</string>
<string>string.template variable</string>
<key>settings</key>
<dict>
<key>fontStyle</key>
Expand All @@ -990,6 +988,204 @@
</dict>
</dict>

<!-- JSX! -->
<dict>
<key>name</key>
<string>JavaScript Function</string>
<key>scope</key>
<string>storage.type.function.jsx</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#FFA5F3</string>
<key>background</key>
<string>#1D3C52</string>
</dict>
</dict>

<dict>
<key>name</key>
<string>Quotes</string>
<key>scope</key>
<string>
, punctuation.definition.string.begin.jsx,
, punctuation.definition.string.end.jsx,
</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#2EFF00</string>
</dict>
</dict>

<dict>
<key>name</key>
<string>Object Keys</string>
<key>scope</key>
<string>
, string.unquoted.label.jsx,
, meta.object-literal.key.jsx,
</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#2AFFDF</string>
</dict>
</dict>

<dict>
<key>name</key>
<string>Object Keys - strings</string>
<key>scope</key>
<string>meta.object-literal.key.string.quoted</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#80FFBB</string>
</dict>
</dict>

<dict>
<key>name</key>
<string>Object Keys - functions</string>
<key>scope</key>
<string>meta.object-literal.key.entity</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#FFC600</string>
</dict>
</dict>

<dict>
<key>name</key>
<string>Template Literals - ticks</string>
<key>scope</key>
<string>
, punctuation.definition.string.template.begin.jsx,
, punctuation.definition.string.template.end.jsx,
</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#2EFF00</string>
</dict>
</dict>

<dict>
<key>name</key>
<string>Template Literals - words</string>
<key>scope</key>
<string>string.template.jsx</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#9EFF80</string>
</dict>
</dict>

<dict>
<key>name</key>
<string>Template Literals - expressions</string>
<key>scope</key>
<string>
, string.template.jsx punctuation,
</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#FFFFFF</string>
</dict>
</dict>

<!-- TYPESCRIPT! -->
<dict>
<key>name</key>
<string>TypeScript Function</string>
<key>scope</key>
<string>storage.type.function.ts</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#FFA5F3</string>
<key>background</key>
<string>#1D3C52</string>
</dict>
</dict>

<dict>
<key>name</key>
<string>Quotes</string>
<key>scope</key>
<string>
, punctuation.definition.string.begin.ts,
, punctuation.definition.string.end.ts,
</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#2EFF00</string>
</dict>
</dict>

<dict>
<key>name</key>
<string>Template Literals - ticks</string>
<key>scope</key>
<string>
, punctuation.definition.string.template.begin.ts,
, punctuation.definition.string.template.end.ts,
</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#2EFF00</string>
</dict>
</dict>

<dict>
<key>name</key>
<string>Template Literals - words</string>
<key>scope</key>
<string>string.template.ts</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#9EFF80</string>
</dict>
</dict>

<dict>
<key>name</key>
<string>Template Literals - expressions</string>
<key>scope</key>
<string>
, string.template.ts punctuation,
</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#FFFFFF</string>
</dict>
</dict>

<dict>
<key>name</key>
<string>Object Keys</string>
<key>scope</key>
<string>
, string.unquoted.label.ts,
, meta.object-literal.key.ts,
</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#2AFFDF</string>
</dict>
</dict>



<!--
ES6 Classes
-->
Expand All @@ -1001,6 +1197,8 @@
<string>
, entity.name.class.js,
, entity.name.type.class.js,
, entity.name.class.jsx,
, entity.name.type.class.jsx,
</string>
<key>settings</key>
<dict>
Expand All @@ -1013,7 +1211,10 @@
<key>name</key>
<string>Class KeyWord</string>
<key>scope</key>
<string>storage.type.class.js</string>
<string>
, storage.type.class.js,
, storage.type.class.jsx,
</string>
<key>settings</key>
<dict>
<key>foreground</key>
Expand All @@ -1028,6 +1229,8 @@
<string>
, storage.type.extends.js,
, storage.modifier.extends.js,
, storage.type.extends.jsx,
, storage.modifier.extends.jsx,
</string>
<key>settings</key>
<dict>
Expand Down

0 comments on commit c628eb7

Please sign in to comment.