├── .gitignore ├── .vscodeignore ├── LICENSE ├── README.md ├── dev.sh ├── icon.png ├── package.json ├── screenshot.png └── themes └── sourcegraph-dark.json /.gitignore: -------------------------------------------------------------------------------- 1 | out/ 2 | *.vsix 3 | -------------------------------------------------------------------------------- /.vscodeignore: -------------------------------------------------------------------------------- 1 | .gitignore 2 | dev.sh 3 | screenshot.png 4 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2017 Sourcegraph, Inc. 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Sourcegraph color theme 2 | 3 | [![vs marketplace](https://img.shields.io/vscode-marketplace/v/sourcegraph.vscode-sourcegraph-theme.svg?label=vs%20marketplace)](https://marketplace.visualstudio.com/items?itemName=sourcegraph.vscode-sourcegraph-theme) [![downloads](https://img.shields.io/vscode-marketplace/d/sourcegraph.vscode-sourcegraph-theme.svg)](https://marketplace.visualstudio.com/items?itemName=sourcegraph.vscode-sourcegraph-theme) [![rating](https://img.shields.io/vscode-marketplace/r/sourcegraph.vscode-sourcegraph-theme.svg)](https://marketplace.visualstudio.com/items?itemName=sourcegraph.vscode-sourcegraph-theme) 4 | 5 | ![Screenshot](./screenshot.png) 6 | 7 | ## Development 8 | 9 | To install it manually, clone this repository and run: 10 | 11 | ``` 12 | ./dev.sh attach 13 | ``` 14 | 15 | Then reload VS Code and you should see the Sourcegraph Theme in the extensions list. You can now select the "Sourcegraph Dark" theme in the list that appears when you run the `Preferences: Color Theme` action. 16 | -------------------------------------------------------------------------------- /dev.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # adapted from https://github.com/dracula/visual-studio-code/blob/master/bootstrap.sh 4 | 5 | repo_dir="$( cd "$(dirname "${BASH_SOURCE[0]}")" && pwd )" 6 | 7 | attach() { 8 | sourcegraph_theme_path="$( find ~/.vscode/extensions -maxdepth 1 -type d -name 'sourcegraph.vscode-sourcegraph-theme*' )" 9 | if [[ "$sourcegraph_theme_path" ]]; then 10 | sourcegraph_theme_dir="$( basename "$sourcegraph_theme_path" )" 11 | mkdir -p ~/.vscode/extensions/disabled 12 | mv "$sourcegraph_theme_path" ~/.vscode/extensions/disabled/"$sourcegraph_theme_dir" 13 | fi 14 | ln -s "$repo_dir" ~/.vscode/extensions/vscode-sourcegraph-theme 15 | } 16 | 17 | eject() { 18 | rm -f ~/.vscode/extensions/vscode-sourcegraph-theme 19 | if [ -d ~/.vscode/extensions/disabled ]; then 20 | disabled_path="$( find ~/.vscode/extensions/disabled -maxdepth 1 -type d -name 'sourcegraph.vscode-sourcegraph-theme*' )" 21 | sourcegraph_theme_dir="$( basename "$disabled_path" )" 22 | mv "$disabled_path" ~/.vscode/extensions/"$sourcegraph_theme_dir" 23 | rm -r ~/.vscode/extensions/disabled 24 | fi 25 | } 26 | 27 | case "$1" in 28 | attach) 29 | attach 30 | ;; 31 | eject) 32 | eject 33 | ;; 34 | esac -------------------------------------------------------------------------------- /icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sourcegraph/themes/b664686c66ba73159edd270e3e16a3857363b4f9/icon.png -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "vscode-sourcegraph-theme", 3 | "displayName": "Sourcegraph Theme", 4 | "description": "Sourcegraph's theme for Visual Studio Code", 5 | "version": "0.0.2", 6 | "publisher": "sourcegraph", 7 | "bugs": { 8 | "url": "https://github.com/sourcegraph/themes/issues" 9 | }, 10 | "homepage": "https://sourcegraph.com", 11 | "repository": { 12 | "type": "git", 13 | "url": "https://github.com/sourcegraph/themes" 14 | }, 15 | "engines": { 16 | "vscode": "^1.12.0" 17 | }, 18 | "categories": [ 19 | "Themes" 20 | ], 21 | "contributes": { 22 | "themes": [ 23 | { 24 | "label": "Sourcegraph Dark", 25 | "uiTheme": "vs-dark", 26 | "path": "./themes/sourcegraph-dark.json" 27 | } 28 | ] 29 | }, 30 | "icon": "icon.png", 31 | "keywords": [ 32 | "sourcegraph", 33 | "sourcegraph dark", 34 | "sourcegraph.com", 35 | "dark", 36 | "theme" 37 | ], 38 | "scripts": { 39 | "attach": "./dev.sh attach", 40 | "eject": "./dev.sh eject", 41 | "package": "mkdir out && vsce package -o out/vscode-sourcegraph-theme.vsix" 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sourcegraph/themes/b664686c66ba73159edd270e3e16a3857363b4f9/screenshot.png -------------------------------------------------------------------------------- /themes/sourcegraph-dark.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "vscode://schemas/color-theme", 3 | "name": "Sourcegraph Dark", 4 | "colors": { 5 | "focusBorder": "#1C7CD675", 6 | "foreground": "#F2F4F8", 7 | "widget.shadow": "#000000", 8 | "selection.background": "#1C7CD650", 9 | "errorForeground": "#f03e3e", 10 | "button.background": "#1C7CD6", 11 | "button.foreground": "#F2F4F8", 12 | "button.hoverBackground": "#1862AB", 13 | "dropdown.background": "#0E121B", 14 | "dropdown.foreground": "#F2F4F8", 15 | "input.background": "#0E121B", 16 | "input.border": "#2B3750", 17 | "input.foreground": "#F2F4F8", 18 | "input.placeholderForeground": "#F2F4F850", 19 | "inputOption.activeBorder": "#1C7CD6", 20 | "inputValidation.errorBackground": "#C92A2A50", 21 | "inputValidation.errorBorder": "#F03E3E", 22 | "inputValidation.infoBackground": "#1862AB50", 23 | "inputValidation.infoBorder": "#1C7CD6", 24 | "inputValidation.warningBackground": "#E6770050", 25 | "inputValidation.warningBorder": "#F59F00", 26 | "scrollbar.shadow": "#000000", 27 | "scrollbarSlider.activeBackground": "#2B375075", 28 | "scrollbarSlider.background": "#2B375050", 29 | "scrollbarSlider.hoverBackground": "#2B375050", 30 | "badge.foreground": "#A2B0CD", 31 | "badge.background": "#151C28", 32 | "progressBar.background": "#1C7CD6", 33 | "list.activeSelectionBackground": "#1C7CD6", 34 | "list.activeSelectionForeground": "#F2F4F8", 35 | "list.dropBackground": "#242E42", 36 | "list.highlightForeground": "#F2F4F8", 37 | "list.hoverBackground": "#151C28", 38 | "list.inactiveSelectionBackground": "#1C7CD625", 39 | "list.hoverForeground": "#F2F4F8", 40 | "list.focusForeground": "#F2F4F8", 41 | "activityBar.background": "#2B3750", 42 | "activityBar.dropBackground": "#32405d", 43 | "activityBar.foreground": "#F2F4F8", 44 | "activityBar.border": "#2B3750", 45 | "activityBarBadge.background": "#1C7CD6", 46 | "activityBarBadge.foreground": "#F2F4F8", 47 | "sideBar.background": "#1D2535", 48 | "sideBar.foreground": "#F2F4F8", 49 | "sideBarTitle.foreground": "#F2F4F8", 50 | "sideBarSectionHeader.background": "#161A27", 51 | "sideBarSectionHeader.foreground": "#F2F4F8", 52 | "editorGroup.background": "#1D2535", 53 | "editorGroup.border": "#1D2535", 54 | "editorGroup.dropBackground": "#242E42", 55 | "editorGroupHeader.noTabsBackground": "#1D2535", 56 | "editorGroupHeader.tabsBackground": "#1D2535", 57 | "editorGroupHeader.tabsBorder": "#0E121B", 58 | "tab.activeBackground": "#0E121B", 59 | "tab.activeForeground": "#F2F4F8", 60 | "tab.inactiveBackground": "#1D2535", 61 | "tab.inactiveForeground": "#A2B0CD", 62 | "tab.unfocusedActiveForeground": "#A2B0CD", 63 | "tab.unfocusedInactiveForeground": "#A2B0CD", 64 | "editor.background": "#0E121B", 65 | "editor.foreground": "#F2F4F8", 66 | "editorLineNumber.foreground": "#F2F4F850", 67 | "editorCursor.foreground": "#A2B0CD", 68 | "editor.selectionBackground": "#1C7CD650", 69 | "editor.selectionHighlightBackground": "#1C7CD625", 70 | "editor.inactiveSelectionBackground": "#1C7CD625", 71 | "editor.findMatchBackground": "#f7670750", 72 | "editor.findMatchHighlightBackground": "#f7670750", 73 | "editor.findRangeHighlightBackground": "#f7670750", 74 | "editor.lineHighlightBackground": "#1C7CD625", 75 | "editorLink.activeForeground": "#1C7CD6", 76 | "editorIndentGuide.background": "#F2F4F825", 77 | "editorBracketMatch.background": "#1C7CD625", 78 | "editorBracketMatch.border": "#1C7CD650", 79 | "editorOverviewRuler.border": "#2B3750", 80 | "editorOverviewRuler.findMatchForeground": "#f7670750", 81 | "editorOverviewRuler.rangeHighlightForeground": "#f7670750", 82 | "editorOverviewRuler.selectionHighlightForeground": "#f7670750", 83 | "editorOverviewRuler.addedForeground": "#8ce99a", 84 | "editorOverviewRuler.deletedForeground": "#ffa8a8", 85 | "editorOverviewRuler.errorForeground": "#f03e3e", 86 | "editorOverviewRuler.warningForeground": "#f59f00", 87 | "editorOverviewRuler.infoForeground": "#1c7cd6", 88 | "editorError.foreground": "#f03e3e", 89 | "editorWarning.foreground": "#37b24d", 90 | "editorInfo.foreground": "#1c7cd6", 91 | "editorGutter.modifiedBackground": "#ffe066", 92 | "editorGutter.addedBackground": "#8ce99a", 93 | // "editorGutter.deletedBackground": "#", 94 | "diffEditor.insertedTextBackground": "#37b24d25", 95 | "diffEditor.removedTextBackground": "#f03e3e25", 96 | "editorWidget.background": "#1D2535", 97 | "editorWidget.border": "#2B3750", 98 | "editorSuggestWidget.foreground": "#F2F4F8", 99 | "peekView.border": "#1C7CD6", 100 | "peekViewEditor.background": "#07090D", 101 | "peekViewEditor.matchHighlightBackground": "#f7670750", 102 | "peekViewResult.background": "#1D2535", 103 | "peekViewResult.fileForeground": "#F2F4F8", 104 | "peekViewResult.lineForeground": "#F2F4F8", 105 | "peekViewResult.matchHighlightBackground": "#f7670750", 106 | "peekViewResult.selectionBackground": "#1C7CD6", 107 | "peekViewTitle.background": "#161A27", 108 | "peekViewTitleDescription.foreground": "#A2B0CD", 109 | "peekViewTitleLabel.foreground": "#F2F4F8", 110 | "panel.background": "#07090D", 111 | "panel.border": "#2B3750", 112 | "panelTitle.activeBorder": "#2B3750", 113 | "panelTitle.activeForeground": "#F2F4F8", 114 | "panelTitle.inactiveForeground": "#F2F4F850", 115 | "statusBar.background": "#1C7CD6", 116 | "statusBar.foreground": "#F2F4F8", 117 | "statusBar.debuggingBackground": "#f76707", 118 | "statusBar.debuggingForeground": "#F2F4F8", 119 | "statusBar.noFolderForeground": "#F2F4F8", 120 | "statusBar.noFolderBackground": "#ae3ec9", 121 | "statusBarItem.hoverBackground": "#FFFFFF25", 122 | "titleBar.activeBackground": "#39496A", 123 | "titleBar.activeForeground": "#A2B0CD", 124 | "titleBar.inactiveBackground": "#2B3750", 125 | "titleBar.inactiveForeground": "#A2B0CD50", 126 | "notification.background": "#1D2535", 127 | "notification.foreground": "#F2F4F8", 128 | "notification.buttonBackground": "#1C7CD6", 129 | "notification.buttonHoverBackground": "#1862ab", 130 | "notification.buttonForeground": "#F2F4F8", 131 | "notification.infoBackground": "#1C7CD6", 132 | "notification.infoForeground": "#F2F4F8", 133 | "notification.warningBackground": "#f59f00", 134 | "notification.warningForeground": "#F2F4F8", 135 | "notification.errorBackground": "#f03e3e", 136 | "notification.errorForeground": "#F2F4F8", 137 | "extensionButton.prominentForeground": "#F2F4F8", 138 | "extensionButton.prominentBackground": "#37b24d", 139 | "extensionButton.prominentHoverBackground": "#2b8a3e", 140 | "pickerGroup.border": "#2B3750", 141 | "pickerGroup.foreground": "#A2B0CD", 142 | "terminal.foreground": "#A2B0CD", 143 | "terminal.ansiBlue": "#1862ab", 144 | "terminal.ansiBrightBlue": "#1C7CD6", 145 | "terminal.ansiBrightCyan": "#1098ad", 146 | "terminal.ansiBrightGreen": "#37b24d", 147 | "terminal.ansiBrightMagenta": "#ae3ec9", 148 | "terminal.ansiBrightRed": "#f03e3e", 149 | "terminal.ansiBrightYellow": "#ffe066", 150 | "terminal.ansiCyan": "#0b7285", 151 | "terminal.ansiGreen": "#2b8a3e", 152 | "terminal.ansiMagenta": "#862e9c", 153 | "terminal.ansiRed": "#c92a2a", 154 | "terminal.ansiYellow": "#ffe066", 155 | "welcomePage.buttonBackground": "#1D2535", 156 | "welcomePage.buttonHoverBackground": "#151C28", 157 | "gitDecoration.modifiedResourceForeground": "#ffe066", 158 | "gitDecoration.deletedResourceForeground": "#ffa8a8", 159 | "gitDecoration.untrackedResourceForeground": "#8ce99a", 160 | "gitDecoration.ignoredResourceForeground": "#F2F4F875" 161 | }, 162 | "tokenColors": [ 163 | { 164 | "settings": { 165 | "foreground": "#D4D4D4" 166 | // "background": "#1E1E1E" 167 | } 168 | }, 169 | { 170 | "scope": "emphasis", 171 | "settings": { 172 | "fontStyle": "italic" 173 | } 174 | }, 175 | { 176 | "scope": "strong", 177 | "settings": { 178 | "fontStyle": "bold" 179 | } 180 | }, 181 | { 182 | "scope": "header", 183 | "settings": { 184 | "foreground": "#000080" 185 | } 186 | }, 187 | { 188 | "scope": "comment", 189 | "settings": { 190 | "foreground": "#2b8a3e" 191 | } 192 | }, 193 | { 194 | "scope": "constant.language", 195 | "settings": { 196 | "foreground": "#329af0" 197 | } 198 | }, 199 | { 200 | "scope": [ 201 | "constant.numeric" 202 | ], 203 | "settings": { 204 | "foreground": "#d3f9d8" 205 | } 206 | }, 207 | { 208 | "scope": "constant.regexp", 209 | "settings": { 210 | "foreground": "#364fc7" 211 | } 212 | }, 213 | { 214 | "scope": "entity.name.tag", 215 | "settings": { 216 | "foreground": "#329af0" 217 | } 218 | }, 219 | { 220 | "scope": "entity.name.tag.css", 221 | "settings": { 222 | "foreground": "#ffc078" 223 | } 224 | }, 225 | { 226 | "scope": "entity.other.attribute-name", 227 | "settings": { 228 | "foreground": "#72c3fc" 229 | } 230 | }, 231 | { 232 | "scope": [ 233 | "entity.other.attribute-name.class.css", 234 | "entity.other.attribute-name.class.mixin.css", 235 | "entity.other.attribute-name.id.css", 236 | "entity.other.attribute-name.parent-selector.css", 237 | "entity.other.attribute-name.pseudo-class.css", 238 | "entity.other.attribute-name.pseudo-element.css", 239 | "source.css.less entity.other.attribute-name.id", 240 | "entity.other.attribute-name.attribute.scss", 241 | "entity.other.attribute-name.scss" 242 | ], 243 | "settings": { 244 | "foreground": "#ffc078" 245 | } 246 | }, 247 | { 248 | "scope": "invalid", 249 | "settings": { 250 | "foreground": "#ff6b6b" 251 | } 252 | }, 253 | { 254 | "scope": "markup.underline", 255 | "settings": { 256 | "fontStyle": "underline" 257 | } 258 | }, 259 | { 260 | "scope": "markup.bold", 261 | "settings": { 262 | "fontStyle": "bold", 263 | "foreground": "#329af0" 264 | } 265 | }, 266 | { 267 | "scope": "markup.heading", 268 | "settings": { 269 | "fontStyle": "bold", 270 | "foreground": "#329af0" 271 | } 272 | }, 273 | { 274 | "scope": "markup.italic", 275 | "settings": { 276 | "fontStyle": "italic" 277 | } 278 | }, 279 | { 280 | "scope": "markup.inserted", 281 | "settings": { 282 | "foreground": "#d3f9d8" 283 | } 284 | }, 285 | { 286 | "scope": "markup.deleted", 287 | "settings": { 288 | "foreground": "#ffa8a8" 289 | } 290 | }, 291 | { 292 | "scope": "markup.changed", 293 | "settings": { 294 | "foreground": "#329af0" 295 | } 296 | }, 297 | { 298 | "scope": "beginning.punctuation.definition.quote.markdown", 299 | "settings": { 300 | "foreground": "#2b8a3e" 301 | } 302 | }, 303 | { 304 | "scope": "beginning.punctuation.definition.list.markdown", 305 | "settings": { 306 | "foreground": "#6796e6" 307 | } 308 | }, 309 | { 310 | "scope": "markup.inline.raw", 311 | "settings": { 312 | "foreground": "#ffa8a8" 313 | } 314 | }, 315 | { 316 | "scope": "meta.selector", 317 | "settings": { 318 | "foreground": "#ffc078" 319 | } 320 | }, 321 | { 322 | "name": "brackets of XML/HTML tags", 323 | "scope": "punctuation.definition.tag", 324 | "settings": { 325 | "foreground": "#808080" 326 | } 327 | }, 328 | { 329 | "scope": "meta.preprocessor", 330 | "settings": { 331 | "foreground": "#329af0" 332 | } 333 | }, 334 | { 335 | "scope": "meta.preprocessor.string", 336 | "settings": { 337 | "foreground": "#ffa8a8" 338 | } 339 | }, 340 | { 341 | "scope": "meta.preprocessor.numeric", 342 | "settings": { 343 | "foreground": "#d3f9d8" 344 | } 345 | }, 346 | { 347 | "scope": "meta.structure.dictionary.key.python", 348 | "settings": { 349 | "foreground": "#72c3fc" 350 | } 351 | }, 352 | { 353 | "scope": "meta.diff.header", 354 | "settings": { 355 | "foreground": "#329af0" 356 | } 357 | }, 358 | { 359 | "scope": "storage", 360 | "settings": { 361 | "foreground": "#329af0" 362 | } 363 | }, 364 | { 365 | "scope": "storage.type", 366 | "settings": { 367 | "foreground": "#329af0" 368 | } 369 | }, 370 | { 371 | "scope": "storage.modifier", 372 | "settings": { 373 | "foreground": "#329af0" 374 | } 375 | }, 376 | { 377 | "scope": "string", 378 | "settings": { 379 | "foreground": "#ffa8a8" 380 | } 381 | }, 382 | { 383 | "scope": "string.tag", 384 | "settings": { 385 | "foreground": "#ffa8a8" 386 | } 387 | }, 388 | { 389 | "scope": "string.value", 390 | "settings": { 391 | "foreground": "#ffa8a8" 392 | } 393 | }, 394 | { 395 | "scope": "string.regexp", 396 | "settings": { 397 | "foreground": "#d16969" 398 | } 399 | }, 400 | { 401 | "name": "JavaScript string interpolation ${}", 402 | "scope": [ 403 | "punctuation.definition.template-expression.begin.js", 404 | "punctuation.definition.template-expression.begin.ts", 405 | "punctuation.definition.template-expression.end.ts", 406 | "punctuation.definition.template-expression.end.js" 407 | ], 408 | "settings": { 409 | "foreground": "#329af0" 410 | } 411 | }, 412 | { 413 | "scope": [ 414 | "support.type.vendored.property-name", 415 | "support.type.property-name", 416 | "variable.css", 417 | "variable.scss", 418 | "variable.other.less" 419 | ], 420 | "settings": { 421 | "foreground": "#72c3fc" 422 | } 423 | }, 424 | { 425 | "scope": "keyword", 426 | "settings": { 427 | "foreground": "#329af0" 428 | } 429 | }, 430 | { 431 | "scope": "keyword.control", 432 | "settings": { 433 | "foreground": "#329af0" 434 | } 435 | }, 436 | { 437 | "scope": "keyword.operator", 438 | "settings": { 439 | "foreground": "#d4d4d4" 440 | } 441 | }, 442 | { 443 | "scope": [ 444 | "keyword.operator.new", 445 | "keyword.operator.expression", 446 | "keyword.operator.cast", 447 | "keyword.operator.sizeof", 448 | "keyword.operator.logical.python" 449 | ], 450 | "settings": { 451 | "foreground": "#329af0" 452 | } 453 | }, 454 | { 455 | "scope": "keyword.other.unit", 456 | "settings": { 457 | "foreground": "#d3f9d8" 458 | } 459 | }, 460 | { 461 | "scope": [ 462 | "punctuation.section.embedded.begin.php", 463 | "punctuation.section.embedded.end.php" 464 | ], 465 | "settings": { 466 | "foreground": "#329af0" 467 | } 468 | }, 469 | { 470 | "scope": "support.function.git-rebase", 471 | "settings": { 472 | "foreground": "#72c3fc" 473 | } 474 | }, 475 | { 476 | "scope": "constant.sha.git-rebase", 477 | "settings": { 478 | "foreground": "#d3f9d8" 479 | } 480 | }, 481 | { 482 | "name": "coloring of the Java import and package identifiers", 483 | "scope": [ 484 | "storage.modifier.import.java", 485 | "variable.language.wildcard.java", 486 | "storage.modifier.package.java" 487 | ], 488 | "settings": { 489 | "foreground": "#d4d4d4" 490 | } 491 | }, 492 | { 493 | "name": "this.self", 494 | "scope": "variable.language", 495 | "settings": { 496 | "foreground": "#329af0" 497 | } 498 | }, 499 | { 500 | "name": "Function declarations", 501 | "scope": [ 502 | "entity.name.function", 503 | "support.function", 504 | "support.constant.handlebars" 505 | ], 506 | "settings": { 507 | "foreground": "#fff3bf" 508 | } 509 | }, 510 | { 511 | "name": "Types declaration and references", 512 | "scope": [ 513 | "meta.return-type", 514 | "support.class", 515 | "support.type", 516 | "entity.name.type", 517 | "entity.name.class", 518 | "storage.type.cs", 519 | "storage.type.generic.cs", 520 | "storage.type.modifier.cs", 521 | "storage.type.variable.cs", 522 | "storage.type.annotation.java", 523 | "storage.type.generic.java", 524 | "storage.type.java", 525 | "storage.type.object.array.java", 526 | "storage.type.primitive.array.java", 527 | "storage.type.primitive.java", 528 | "storage.type.token.java", 529 | "storage.type.groovy", 530 | "storage.type.annotation.groovy", 531 | "storage.type.parameters.groovy", 532 | "storage.type.generic.groovy", 533 | "storage.type.object.array.groovy", 534 | "storage.type.primitive.array.groovy", 535 | "storage.type.primitive.groovy" 536 | ], 537 | "settings": { 538 | "foreground": "#4EC9B0" 539 | } 540 | }, 541 | { 542 | "name": "Types declaration and references, TS grammar specific", 543 | "scope": [ 544 | "meta.type.cast.expr", 545 | "meta.type.new.expr", 546 | "support.constant.math", 547 | "support.constant.dom", 548 | "support.constant.json", 549 | "entity.other.inherited-class" 550 | ], 551 | "settings": { 552 | "foreground": "#4EC9B0" 553 | } 554 | }, 555 | { 556 | "name": "Control flow keywords", 557 | "scope": "keyword.control", 558 | "settings": { 559 | "foreground": "#C586C0" 560 | } 561 | }, 562 | { 563 | "name": "Variable and parameter name", 564 | "scope": [ 565 | "variable", 566 | "meta.definition.variable.name", 567 | "support.variable" 568 | ], 569 | "settings": { 570 | "foreground": "#72c3fc" 571 | } 572 | }, 573 | { 574 | "name": "Object keys, TS grammar specific", 575 | "scope": [ 576 | "meta.object-literal.key", 577 | "meta.object-literal.key entity.name.function" 578 | ], 579 | "settings": { 580 | "foreground": "#72c3fc" 581 | } 582 | }, 583 | { 584 | "name": "CSS property value", 585 | "scope": [ 586 | "support.constant.property-value", 587 | "support.constant.font-name", 588 | "support.constant.media-type", 589 | "support.constant.media", 590 | "constant.other.color.rgb-value", 591 | "constant.other.rgb-value", 592 | "support.constant.color" 593 | ], 594 | "settings": { 595 | "foreground": "#ffa8a8" 596 | } 597 | } 598 | ] 599 | } --------------------------------------------------------------------------------