mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
![Alex Ross](/assets/img/avatar_default.png)
* Syntax highlighting incorrect in vscode.python for the word 'file' Fixes #188190 * Update colorization test
501 lines
12 KiB
JSON
501 lines
12 KiB
JSON
{
|
|
"name": "Solarized (light)",
|
|
"tokenColors": [
|
|
{
|
|
"settings": {
|
|
"foreground": "#657B83"
|
|
}
|
|
},
|
|
{
|
|
"scope": [
|
|
"meta.embedded",
|
|
"source.groovy.embedded",
|
|
"string meta.image.inline.markdown",
|
|
"variable.legacy.builtin.python"
|
|
],
|
|
"settings": {
|
|
"foreground": "#657B83"
|
|
}
|
|
},
|
|
{
|
|
"name": "Comment",
|
|
"scope": "comment",
|
|
"settings": {
|
|
"fontStyle": "italic",
|
|
"foreground": "#93A1A1"
|
|
}
|
|
},
|
|
{
|
|
"name": "String",
|
|
"scope": "string",
|
|
"settings": {
|
|
"foreground": "#2AA198"
|
|
}
|
|
},
|
|
{
|
|
"name": "Regexp",
|
|
"scope": "string.regexp",
|
|
"settings": {
|
|
"foreground": "#DC322F"
|
|
}
|
|
},
|
|
{
|
|
"name": "Number",
|
|
"scope": "constant.numeric",
|
|
"settings": {
|
|
"foreground": "#D33682"
|
|
}
|
|
},
|
|
{
|
|
"name": "Variable",
|
|
"scope": [
|
|
"variable.language",
|
|
"variable.other"
|
|
],
|
|
"settings": {
|
|
"foreground": "#268BD2"
|
|
}
|
|
},
|
|
{
|
|
"name": "Keyword",
|
|
"scope": "keyword",
|
|
"settings": {
|
|
"foreground": "#859900"
|
|
}
|
|
},
|
|
{
|
|
"name": "Storage",
|
|
"scope": "storage",
|
|
"settings": {
|
|
"fontStyle": "bold",
|
|
"foreground": "#586E75"
|
|
}
|
|
},
|
|
{
|
|
"name": "Class name",
|
|
"scope": [
|
|
"entity.name.class",
|
|
"entity.name.type",
|
|
"entity.name.namespace",
|
|
"entity.name.scope-resolution"
|
|
],
|
|
"settings": {
|
|
"fontStyle": "",
|
|
"foreground": "#CB4B16"
|
|
}
|
|
},
|
|
{
|
|
"name": "Function name",
|
|
"scope": "entity.name.function",
|
|
"settings": {
|
|
"foreground": "#268BD2"
|
|
}
|
|
},
|
|
{
|
|
"name": "Variable start",
|
|
"scope": "punctuation.definition.variable",
|
|
"settings": {
|
|
"foreground": "#859900"
|
|
}
|
|
},
|
|
{
|
|
"name": "Embedded code markers",
|
|
"scope": [
|
|
"punctuation.section.embedded.begin",
|
|
"punctuation.section.embedded.end"
|
|
],
|
|
"settings": {
|
|
"foreground": "#DC322F"
|
|
}
|
|
},
|
|
{
|
|
"name": "Built-in constant",
|
|
"scope": [
|
|
"constant.language",
|
|
"meta.preprocessor"
|
|
],
|
|
"settings": {
|
|
"foreground": "#B58900"
|
|
}
|
|
},
|
|
{
|
|
"name": "Support.construct",
|
|
"scope": [
|
|
"support.function.construct",
|
|
"keyword.other.new"
|
|
],
|
|
"settings": {
|
|
"foreground": "#CB4B16"
|
|
}
|
|
},
|
|
{
|
|
"name": "User-defined constant",
|
|
"scope": [
|
|
"constant.character",
|
|
"constant.other"
|
|
],
|
|
"settings": {
|
|
"foreground": "#CB4B16"
|
|
}
|
|
},
|
|
{
|
|
"name": "Inherited class",
|
|
"scope": "entity.other.inherited-class",
|
|
"settings": {
|
|
"foreground": "#6C71C4"
|
|
}
|
|
},
|
|
{
|
|
"name": "Function argument",
|
|
"scope": "variable.parameter",
|
|
"settings": {}
|
|
},
|
|
{
|
|
"name": "Tag name",
|
|
"scope": "entity.name.tag",
|
|
"settings": {
|
|
"foreground": "#268BD2"
|
|
}
|
|
},
|
|
{
|
|
"name": "Tag start/end",
|
|
"scope": "punctuation.definition.tag",
|
|
"settings": {
|
|
"foreground": "#93A1A1"
|
|
}
|
|
},
|
|
{
|
|
"name": "Tag attribute",
|
|
"scope": "entity.other.attribute-name",
|
|
"settings": {
|
|
"foreground": "#93A1A1"
|
|
}
|
|
},
|
|
{
|
|
"name": "Library function",
|
|
"scope": "support.function",
|
|
"settings": {
|
|
"foreground": "#268BD2"
|
|
}
|
|
},
|
|
{
|
|
"name": "Continuation",
|
|
"scope": "punctuation.separator.continuation",
|
|
"settings": {
|
|
"foreground": "#DC322F"
|
|
}
|
|
},
|
|
{
|
|
"name": "Library constant",
|
|
"scope": [
|
|
"support.constant",
|
|
"support.variable"
|
|
],
|
|
"settings": {}
|
|
},
|
|
{
|
|
"name": "Library class/type",
|
|
"scope": [
|
|
"support.type",
|
|
"support.class"
|
|
],
|
|
"settings": {
|
|
"foreground": "#859900"
|
|
}
|
|
},
|
|
{
|
|
"name": "Library Exception",
|
|
"scope": "support.type.exception",
|
|
"settings": {
|
|
"foreground": "#CB4B16"
|
|
}
|
|
},
|
|
{
|
|
"name": "Library variable",
|
|
"scope": "support.other.variable",
|
|
"settings": {}
|
|
},
|
|
{
|
|
"name": "Invalid",
|
|
"scope": "invalid",
|
|
"settings": {
|
|
"foreground": "#DC322F"
|
|
}
|
|
},
|
|
{
|
|
"name": "diff: header",
|
|
"scope": [
|
|
"meta.diff",
|
|
"meta.diff.header"
|
|
],
|
|
"settings": {
|
|
"fontStyle": "italic",
|
|
"foreground": "#268BD2"
|
|
}
|
|
},
|
|
{
|
|
"name": "diff: deleted",
|
|
"scope": "markup.deleted",
|
|
"settings": {
|
|
"fontStyle": "",
|
|
"foreground": "#DC322F"
|
|
}
|
|
},
|
|
{
|
|
"name": "diff: changed",
|
|
"scope": "markup.changed",
|
|
"settings": {
|
|
"fontStyle": "",
|
|
"foreground": "#CB4B16"
|
|
}
|
|
},
|
|
{
|
|
"name": "diff: inserted",
|
|
"scope": "markup.inserted",
|
|
"settings": {
|
|
"foreground": "#859900"
|
|
}
|
|
},
|
|
{
|
|
"name": "Markup Quote",
|
|
"scope": "markup.quote",
|
|
"settings": {
|
|
"foreground": "#859900"
|
|
}
|
|
},
|
|
{
|
|
"name": "Markup Lists",
|
|
"scope": "markup.list",
|
|
"settings": {
|
|
"foreground": "#B58900"
|
|
}
|
|
},
|
|
{
|
|
"name": "Markup Styling",
|
|
"scope": [
|
|
"markup.bold",
|
|
"markup.italic"
|
|
],
|
|
"settings": {
|
|
"foreground": "#D33682"
|
|
}
|
|
},
|
|
{
|
|
"name": "Markup: Strong",
|
|
"scope": "markup.bold",
|
|
"settings": {
|
|
"fontStyle": "bold"
|
|
}
|
|
},
|
|
{
|
|
"name": "Markup: Emphasis",
|
|
"scope": "markup.italic",
|
|
"settings": {
|
|
"fontStyle": "italic"
|
|
}
|
|
},
|
|
{
|
|
"scope": "markup.strikethrough",
|
|
"settings": {
|
|
"fontStyle": "strikethrough"
|
|
}
|
|
},
|
|
{
|
|
"name": "Markup Inline",
|
|
"scope": "markup.inline.raw",
|
|
"settings": {
|
|
"fontStyle": "",
|
|
"foreground": "#2AA198"
|
|
}
|
|
},
|
|
{
|
|
"name": "Markup Headings",
|
|
"scope": "markup.heading",
|
|
"settings": {
|
|
"fontStyle": "bold",
|
|
"foreground": "#268BD2"
|
|
}
|
|
},
|
|
{
|
|
"name": "Markup Setext Header",
|
|
"scope": "markup.heading.setext",
|
|
"settings": {
|
|
"fontStyle": "",
|
|
"foreground": "#268BD2"
|
|
}
|
|
}
|
|
],
|
|
"colors": {
|
|
// Base
|
|
// "foreground": "",
|
|
"focusBorder": "#b49471",
|
|
// "contrastActiveBorder": "",
|
|
// "contrastBorder": "",
|
|
// "widget.shadow": "",
|
|
"input.background": "#DDD6C1",
|
|
// "input.border": "",
|
|
"input.foreground": "#586E75",
|
|
"input.placeholderForeground": "#586E75AA",
|
|
"inputOption.activeBorder": "#D3AF86",
|
|
// "inputValidation.infoBorder": "",
|
|
// "inputValidation.infoBackground": "",
|
|
// "inputValidation.warningBackground": "",
|
|
// "inputValidation.warningBorder": "",
|
|
// "inputValidation.errorBackground": "",
|
|
// "inputValidation.errorBorder": "",
|
|
"badge.background": "#B58900AA",
|
|
"progressBar.background": "#B58900",
|
|
"dropdown.background": "#EEE8D5",
|
|
// "dropdown.foreground": "",
|
|
"dropdown.border": "#D3AF86",
|
|
"button.background": "#AC9D57",
|
|
// "button.foreground": "",
|
|
"selection.background": "#878b9180",
|
|
"list.activeSelectionBackground": "#DFCA88",
|
|
"list.activeSelectionForeground": "#6C6C6C",
|
|
"quickInputList.focusBackground": "#DFCA8866",
|
|
"list.hoverBackground": "#DFCA8844",
|
|
"list.inactiveSelectionBackground": "#D1CBB8",
|
|
"list.highlightForeground": "#B58900",
|
|
// "scrollbar.shadow": "",
|
|
// "scrollbarSlider.activeBackground": "",
|
|
// "scrollbarSlider.background": "",
|
|
// "scrollbarSlider.hoverBackground": "",
|
|
// Editor
|
|
"editor.background": "#FDF6E3",
|
|
"editor.foreground": "#657B83",
|
|
"notebook.cellEditorBackground": "#F7F0E0",
|
|
"editorWidget.background": "#EEE8D5",
|
|
"editorCursor.foreground": "#657B83",
|
|
"editorWhitespace.foreground": "#586E7580",
|
|
"editor.lineHighlightBackground": "#EEE8D5",
|
|
"editor.selectionBackground": "#EEE8D5",
|
|
"minimap.selectionHighlight": "#EEE8D5",
|
|
"editorIndentGuide.background": "#586E7580",
|
|
"editorIndentGuide.activeBackground": "#081E2580",
|
|
"editorHoverWidget.background": "#CCC4B0",
|
|
"editorLineNumber.activeForeground": "#567983",
|
|
// "editorHoverWidget.border": "",
|
|
// "editorLineNumber.foreground": "",
|
|
// "editorMarkerNavigation.background": "",
|
|
// "editorMarkerNavigationError.background": "",
|
|
// "editorMarkerNavigationWarning.background": "",
|
|
// "editorLink.activeForeground": "",
|
|
// "editor.findMatchBackground": "",
|
|
// "editor.findMatchHighlightBackground": "",
|
|
// "editor.findRangeHighlightBackground": "",
|
|
// "editor.hoverHighlightBackground": "",
|
|
// "editor.inactiveSelectionBackground": "",
|
|
// "editor.lineHighlightBorder": "",
|
|
// "editor.rangeHighlightBackground": "",
|
|
// "editor.selectionHighlightBackground": "",
|
|
// "editor.wordHighlightBackground": "",
|
|
// "editor.wordHighlightStrongBackground": "",
|
|
// Editor: Suggest Widget
|
|
// "editorSuggestWidget.background": "",
|
|
// "editorSuggestWidget.border": "",
|
|
// "editorSuggestWidget.foreground": "",
|
|
// "editorSuggestWidget.highlightForeground": "",
|
|
// "editorSuggestWidget.selectedBackground": "",
|
|
// Editor: Peek View
|
|
"peekViewResult.background": "#EEE8D5",
|
|
// "peekViewResult.lineForeground": "",
|
|
// "peekViewResult.selectionBackground": "",
|
|
// "peekViewResult.selectionForeground": "",
|
|
"peekViewEditor.background": "#FFFBF2",
|
|
"peekViewTitle.background": "#EEE8D5",
|
|
"peekView.border": "#B58900",
|
|
"peekViewEditor.matchHighlightBackground": "#7744AA40",
|
|
// "peekViewResult.fileForeground": "",
|
|
// "peekViewResult.matchHighlightBackground": "",
|
|
// "peekViewTitleLabel.foreground": "",
|
|
// "peekViewTitleDescription.foreground": "",
|
|
// Editor: Diff
|
|
// "diffEditor.insertedTextBackground": "",
|
|
// "diffEditor.insertedTextBorder": "",
|
|
// "diffEditor.removedTextBackground": "",
|
|
// "diffEditor.removedTextBorder": "",
|
|
// Workbench: Title
|
|
"titleBar.activeBackground": "#EEE8D5",
|
|
// "titleBar.activeForeground": "",
|
|
// "titleBar.inactiveBackground": "",
|
|
// "titleBar.inactiveForeground": "",
|
|
// Workbench: Editors
|
|
// "editorGroupHeader.noTabsBackground": "",
|
|
"editorGroup.border": "#DDD6C1",
|
|
"editorGroup.dropBackground": "#DDD6C1AA",
|
|
"editorGroupHeader.tabsBackground": "#D9D2C2",
|
|
// Workbench: Tabs
|
|
"tab.border": "#DDD6C1",
|
|
"tab.activeBackground": "#FDF6E3",
|
|
"tab.inactiveForeground": "#586E75",
|
|
"tab.inactiveBackground": "#D3CBB7",
|
|
"tab.activeModifiedBorder": "#cb4b16",
|
|
// "tab.activeBackground": "",
|
|
// "tab.activeForeground": "",
|
|
// "tab.inactiveForeground": "",
|
|
"tab.lastPinnedBorder": "#FDF6E3",
|
|
// Workbench: Activity Bar
|
|
"activityBar.background": "#DDD6C1",
|
|
"activityBar.foreground": "#584c27",
|
|
"activityBarBadge.background": "#B58900",
|
|
// "activityBarBadge.foreground": "",
|
|
// Workbench: Panel
|
|
// "panel.background": "",
|
|
"panel.border": "#DDD6C1",
|
|
// "panelTitle.activeBorder": "",
|
|
// "panelTitle.activeForeground": "",
|
|
// "panelTitle.inactiveForeground": "",
|
|
// Workbench: Side Bar
|
|
"sideBar.background": "#EEE8D5",
|
|
"sideBarTitle.foreground": "#586E75",
|
|
// "sideBarSectionHeader.background": "",
|
|
// Workbench: Status Bar
|
|
"statusBar.foreground": "#586E75",
|
|
"statusBar.background": "#EEE8D5",
|
|
"statusBar.debuggingBackground": "#EEE8D5",
|
|
"statusBar.noFolderBackground": "#EEE8D5",
|
|
// "statusBar.foreground": "",
|
|
"statusBarItem.remoteBackground": "#AC9D57",
|
|
"ports.iconRunningProcessForeground": "#2AA19899",
|
|
"statusBarItem.prominentBackground": "#DDD6C1",
|
|
"statusBarItem.prominentHoverBackground": "#DDD6C199",
|
|
// "statusBarItem.activeBackground": "",
|
|
// "statusBarItem.hoverBackground": "",
|
|
// Workbench: Debug
|
|
"debugToolBar.background": "#DDD6C1",
|
|
"debugExceptionWidget.background": "#DDD6C1",
|
|
"debugExceptionWidget.border": "#AB395B",
|
|
// Workbench: Quick Open
|
|
"pickerGroup.border": "#2AA19899",
|
|
"pickerGroup.foreground": "#2AA19899",
|
|
// Extensions
|
|
"extensionButton.prominentBackground": "#b58900",
|
|
"extensionButton.prominentHoverBackground": "#584c27aa",
|
|
// Workbench: Terminal
|
|
// Colors sourced from the official palette http://ethanschoonover.com/solarized
|
|
"terminal.ansiBlack": "#073642",
|
|
"terminal.ansiRed": "#dc322f",
|
|
"terminal.ansiGreen": "#859900",
|
|
"terminal.ansiYellow": "#b58900",
|
|
"terminal.ansiBlue": "#268bd2",
|
|
"terminal.ansiMagenta": "#d33682",
|
|
"terminal.ansiCyan": "#2aa198",
|
|
"terminal.ansiWhite": "#eee8d5",
|
|
"terminal.ansiBrightBlack": "#002b36",
|
|
"terminal.ansiBrightRed": "#cb4b16",
|
|
"terminal.ansiBrightGreen": "#586e75",
|
|
"terminal.ansiBrightYellow": "#657b83",
|
|
"terminal.ansiBrightBlue": "#839496",
|
|
"terminal.ansiBrightMagenta": "#6c71c4",
|
|
"terminal.ansiBrightCyan": "#93a1a1",
|
|
"terminal.ansiBrightWhite": "#fdf6e3",
|
|
// Set terminal background explicitly, otherwise selection becomes invisible when the
|
|
// terminal is in the side bar
|
|
"terminal.background": "#FDF6E3",
|
|
// Interactive Playground
|
|
"walkThrough.embeddedEditorBackground": "#00000014"
|
|
},
|
|
"semanticHighlighting": true
|
|
}
|