vscode: various adjustments (#271)

Co-authored-by: David Schaller <dafitt@posteo.in>
This commit is contained in:
Daniel Thwaites 2024-03-18 00:38:53 +00:00 committed by GitHub
parent edf739eeb3
commit 4d29962d98
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 424 additions and 81 deletions

View file

@ -1,42 +1,58 @@
// Modified from https://github.com/golf1052/base16-generator/blob/f34ab4e68d957900bd28b9c2ade3a6ff5598de91/builder/templates/vscode/templates/default.mustache
{
"$schema": "vscode://schemas/color-theme",
"name": "{{scheme-name}}",
"type": "dark",
"colors": {
"contrastActiveBorder": null,
"contrastBorder": null,
"focusBorder": "#{{base0D-hex}}",
"foreground": "#{{base05-hex}}",
"disabledForeground": "#{{base04-hex}}",
"widget.shadow": "#{{base00-hex}}",
"selection.background": "#{{base0D-hex}}",
"widget.border": "#{{base02-hex}}",
"widget.shadow": "#00000000",
"selection.background": "#{{base02-hex}}",
"descriptionForeground": "#{{base03-hex}}",
"errorForeground": "#{{base08-hex}}",
"icon.foreground": "#{{base04-hex}}",
"icon.foreground": "#{{base05-hex}}",
"sash.hoverBorder": null,
"window.activeBorder": null,
"window.inactiveBorder": null,
"textBlockQuote.background": "#{{base01-hex}}",
"textBlockQuote.border": "#{{base0D-hex}}",
"textCodeBlock.background": "#{{base00-hex}}",
"textLink.activeForeground": "#{{base0C-hex}}",
"textLink.foreground": "#{{base0D-hex}}",
"textPreformat.foreground": "#{{base0D-hex}}",
"textPreformat.background": null,
"textSeparator.foreground": "#{{base05-hex}}",
"toolbar.hoverBackground": "#{{base02-hex}}",
"toolbar.activeBackground": "#{{base03-hex}}",
"toolbar.hoverOutline": null,
"toolbar.activeBackground": "#{{base02-hex}}",
"button.background": "#{{base0D-hex}}",
"button.foreground": "#{{base07-hex}}",
"button.hoverBackground": "#{{base04-hex}}",
"button.secondaryForeground": "#{{base07-hex}}",
"button.foreground": "#{{base00-hex}}",
"button.border": null,
"button.separator": null,
"button.hoverBackground": "#{{base0D-hex}}C0",
"button.secondaryForeground": "#{{base00-hex}}",
"button.secondaryBackground": "#{{base0E-hex}}",
"button.secondaryHoverBackground": "#{{base04-hex}}",
"button.secondaryHoverBackground": "#{{base0E-hex}}C0",
"checkbox.background": "#{{base00-hex}}",
"checkbox.foreground": "#{{base05-hex}}",
"checkbox.border": null,
"checkbox.selectBackground": null,
"checkbox.selectBorder": null,
"dropdown.background": "#{{base00-hex}}",
"dropdown.listBackground": "#{{base00-hex}}",
"dropdown.border": null,
"dropdown.foreground": "#{{base05-hex}}",
"input.background": "#{{base00-hex}}",
"input.border": null,
"input.foreground": "#{{base05-hex}}",
"input.placeholderForeground": "#{{base03-hex}}",
"inputOption.activeBackground": "#{{base02-hex}}",
"inputOption.activeBorder": "#{{base09-hex}}",
"inputOption.activeForeground": "#{{base05-hex}}",
"inputOption.activeBackground": "#{{base0D-hex}}",
"inputOption.activeBorder": null,
"inputOption.activeForeground": "#{{base00-hex}}",
"inputOption.hoverBackground": null,
"inputValidation.errorBackground": "#{{base08-hex}}",
"inputValidation.errorForeground": "#{{base05-hex}}",
"inputValidation.errorBorder": "#{{base08-hex}}",
@ -46,106 +62,190 @@
"inputValidation.warningBackground": "#{{base0A-hex}}",
"inputValidation.warningForeground": "#{{base05-hex}}",
"inputValidation.warningBorder": "#{{base0A-hex}}",
"scrollbar.shadow": "#{{base01-hex}}",
"scrollbarSlider.activeBackground": "#{{base04-hex}}",
"scrollbarSlider.background": "#{{base02-hex}}",
"scrollbarSlider.hoverBackground": "#{{base03-hex}}",
"badge.background": "#{{base00-hex}}",
"scrollbar.shadow": "#00000000",
"scrollbarSlider.activeBackground": "#{{base04-hex}}77",
"scrollbarSlider.background": "#{{base03-hex}}33",
"scrollbarSlider.hoverBackground": "#{{base03-hex}}77",
"badge.foreground": "#{{base05-hex}}",
"badge.background": "#{{base00-hex}}",
"progressBar.background": "#{{base03-hex}}",
"list.activeSelectionBackground": "#{{base02-hex}}",
"list.activeSelectionForeground": "#{{base05-hex}}",
"list.dropBackground": "#{{base07-hex}}",
"list.activeSelectionIconForeground": null,
"list.dropBackground": "#{{base03-hex}}66",
"list.focusBackground": "#{{base02-hex}}",
"list.focusForeground": "#{{base05-hex}}",
"list.focusHighlightForeground": null,
"list.focusOutline": "#{{base0D-hex}}",
"list.focusAndSelectionOutline": "#{{base0D-hex}}",
"list.highlightForeground": "#{{base07-hex}}",
"list.hoverBackground": "#{{base02-hex}}",
"list.hoverForeground": "#{{base05-hex}}",
"list.inactiveSelectionBackground": "#{{base02-hex}}",
"list.inactiveSelectionForeground": "#{{base05-hex}}",
"list.inactiveSelectionIconForeground": null,
"list.inactiveFocusBackground": "#{{base02-hex}}",
"list.inactiveFocusOutline": "#{{base03-hex}}",
"list.invalidItemForeground": "#{{base08-hex}}",
"list.errorForeground": "#{{base08-hex}}",
"list.warningForeground": "#{{base0A-hex}}",
"listFilterWidget.background": "#{{base00-hex}}",
"listFilterWidget.outline": null,
"listFilterWidget.noMatchesOutline": "#{{base08-hex}}",
"listFilterWidget.shadow": "#00000000",
"list.filterMatchBackground": "#{{base02-hex}}",
"list.filterMatchBorder": null,
"list.deemphasizedForeground": null,
"list.dropBetweenBackground": null,
"tree.indentGuidesStroke": "#{{base05-hex}}",
"tree.inactiveIndentGuidesStroke": null,
"tree.tableColumnsBorder": null,
"tree.tableOddRowsBackground": null,
"activityBar.background": "#{{base01-hex}}",
"activityBar.dropBackground": "#{{base07-hex}}",
"activityBar.dropBorder": "#{{base03-hex}}",
"activityBar.foreground": "#{{base05-hex}}",
"activityBar.inactiveForeground": "#{{base03-hex}}",
"activityBar.border": null,
"activityBarBadge.background": "#{{base0D-hex}}",
"activityBarBadge.foreground": "#{{base07-hex}}",
"activityBarBadge.foreground": "#{{base00-hex}}",
"activityBar.activeBorder": "#{{base05-hex}}",
"activityBar.activeBackground": "#{{base02-hex}}",
"activityBar.activeFocusBorder": "#{{base0D-hex}}",
"activityBarTop.foreground": "#{{base05-hex}}",
"activityBarTop.activeBorder": "#{{base0D-hex}}",
"activityBarTop.inactiveForeground": "#{{base03-hex}}",
"activityBarTop.dropBorder": "#{{base03-hex}}",
"profileBadge.background": "#{{base01-hex}}",
"profileBadge.foreground": "#{{base03-hex}}",
"sideBar.background": "#{{base01-hex}}",
"sideBar.foreground": "#{{base05-hex}}",
"sideBar.border": null,
"sideBar.dropBackground": "#{{base02-hex}}",
"sideBarTitle.foreground": "#{{base05-hex}}",
"sideBarSectionHeader.background": "#{{base01-hex}}",
"sideBarSectionHeader.foreground": "#{{base05-hex}}",
"sideBarSectionHeader.border": null,
"minimap.findMatchHighlight": "#{{base0A-hex}}",
"minimap.selectionHighlight": "#{{base02-hex}}",
"minimap.errorHighlight": "#{{base08-hex}}",
"minimap.warningHighlight": "#{{base0A-hex}}",
"minimap.background": "#{{base00-hex}}",
"minimap.selectionOccurrenceHighlight": "#{{base03-hex}}",
"minimap.foregroundOpacity": null,
"minimap.infoHighlight": null,
"minimapSlider.background": null,
"minimapSlider.hoverBackground": null,
"minimapSlider.activeBackground": null,
"minimapGutter.addedBackground": "#{{base0B-hex}}",
"minimapGutter.modifiedBackground": "#{{base0E-hex}}",
"minimapGutter.deletedBackground": "#{{base08-hex}}",
"editorGroup.background": "#{{base00-hex}}",
"editorGroup.dropBackground": "#{{base02-hex}}",
"editorGroup.border": null,
"editorGroup.dropBackground": "#{{base03-hex}}66",
"editorGroupHeader.noTabsBackground": "#{{base01-hex}}",
"editorGroupHeader.tabsBackground": "#{{base01-hex}}",
"editorGroupHeader.tabsBorder": null,
"editorGroupHeader.border": null,
"editorGroup.emptyBackground": "#{{base00-hex}}",
"editorGroup.focusedEmptyBorder": "#{{base0D-hex}}",
"editorGroup.dropIntoPromptForeground": "#{{base06-hex}}",
"editorGroup.dropIntoPromptBackground": "#{{base00-hex}}",
"editorGroup.dropIntoPromptBorder": null,
"tab.activeBackground": "#{{base02-hex}}",
"tab.unfocusedActiveBackground": "#{{base02-hex}}",
"tab.activeForeground": "#{{base05-hex}}",
"tab.border": "#00000000",
"tab.activeBorder": null,
"tab.dragAndDropBorder": "#${{base03-hex}}",
"tab.unfocusedActiveBorder": null,
"tab.activeBorderTop": null,
"tab.unfocusedActiveBorderTop": null,
"tab.lastPinnedBorder": null,
"tab.inactiveBackground": "#{{base01-hex}}",
"tab.unfocusedInactiveBackground": "#{{base01-hex}}",
"tab.inactiveForeground": "#{{base05-hex}}",
"tab.unfocusedActiveForeground": "#{{base04-hex}}",
"tab.unfocusedInactiveForeground": "#{{base04-hex}}",
"tab.hoverBackground": "#{{base02-hex}}",
"tab.unfocusedHoverBackground": "#{{base02-hex}}",
"tab.hoverForeground": "#{{base05-hex}}",
"tab.unfocusedHoverForeground": "#{{base05-hex}}",
"tab.hoverBorder": null,
"tab.unfocusedHoverBorder": null,
"tab.activeModifiedBorder": "#{{base0D-hex}}",
"tab.inactiveModifiedBorder": "#{{base0D-hex}}",
"tab.unfocusedActiveModifiedBorder": "#{{base0D-hex}}",
"tab.unfocusedInactiveModifiedBorder": "#{{base0D-hex}}",
"editorPane.background": "#{{base00-hex}}",
"sideBySideEditor.horizontalBorder": null,
"sideBySideEditor.verticalBorder": null,
"editor.background": "#{{base00-hex}}",
"editor.foreground": "#{{base05-hex}}",
"editorLineNumber.foreground": "#{{base03-hex}}",
"editorLineNumber.activeForeground": "#{{base04-hex}}",
"editorLineNumber.dimmedForeground": null,
"editorCursor.background": null,
"editorCursor.foreground": "#{{base05-hex}}",
"editor.selectionBackground": "#{{base02-hex}}",
"editor.selectionForeground": null,
"editor.inactiveSelectionBackground": "#{{base02-hex}}",
"editor.selectionHighlightBackground": "#{{base01-hex}}",
"editor.selectionHighlightBorder": null,
"editor.wordHighlightBackground": "#{{base02-hex}}",
"editor.wordHighlightBorder": null,
"editor.wordHighlightStrongBackground": "#{{base03-hex}}",
"editor.wordHighlightStrongBorder": null,
"editor.wordHighlightTextBackground": null,
"editor.wordHighlightTextBorder": null,
"editor.findMatchBackground": "#{{base0A-hex}}",
"editor.findMatchHighlightBackground": "#{{base09-hex}}",
"editor.findRangeHighlightBackground": "#{{base01-hex}}",
"editor.findMatchBorder": null,
"editor.findMatchHighlightBorder": null,
"editor.findRangeHighlightBorder": null,
"search.resultsInfoForeground": null,
"searchEditor.findMatchBackground": "#{{base0A-hex}}",
"searchEditor.findMatchBorder": null,
"searchEditor.textInputBorder": null,
"editor.hoverHighlightBackground": "#{{base02-hex}}",
"editor.lineHighlightBackground": "#{{base01-hex}}",
"editor.lineHighlightBorder": null,
"editorWatermark.foreground": null,
"editorUnicodeHighlight.border": null,
"editorUnicodeHighlight.background": null,
"editorLink.activeForeground": "#{{base0D-hex}}",
"editor.rangeHighlightBackground": "#{{base01-hex}}",
"editor.rangeHighlightBorder": null,
"editor.symbolHighlightBackground": null,
"editor.symbolHighlightBorder": null,
"editorWhitespace.foreground": "#{{base03-hex}}",
"editorIndentGuide.background": "#{{base03-hex}}",
"editorIndentGuide.activeBackground": "#{{base04-hex}}",
"editorIndentGuide.background": "#{{base02-hex}}",
"editorIndentGuide.background1": null,
"editorIndentGuide.background2": null,
"editorIndentGuide.background3": null,
"editorIndentGuide.background4": null,
"editorIndentGuide.background5": null,
"editorIndentGuide.background6": null,
"editorIndentGuide.activeBackground": "#{{base02-hex}}",
"editorIndentGuide.activeBackground1": null,
"editorIndentGuide.activeBackground2": null,
"editorIndentGuide.activeBackground3": null,
"editorIndentGuide.activeBackground4": null,
"editorIndentGuide.activeBackground5": null,
"editorIndentGuide.activeBackground6": null,
"editorInlayHint.background": "#{{base01-hex}}",
"editorInlayHint.foreground": "#{{base05-hex}}",
"editorInlayHint.foreground": "#{{base03-hex}}",
"editorInlayHint.typeForeground": "#{{base03-hex}}",
"editorInlayHint.typeBackground": "#{{base01-hex}}",
"editorInlayHint.typeForeground": "#{{base05-hex}}",
"editorInlayHint.parameterForeground": "#{{base03-hex}}",
"editorInlayHint.parameterBackground": "#{{base01-hex}}",
"editorInlayHint.parameterForeground": "#{{base05-hex}}",
"editorRuler.foreground": "#{{base03-hex}}",
"editorRuler.foreground": "#{{base02-hex}}",
"editor.linkedEditingBackground": null,
"editorCodeLens.foreground": "#{{base02-hex}}",
"editorLightBulb.foreground": "#{{base0A-hex}}",
"editorLightBulbAutoFix.foreground": "#{{base0D-hex}}",
"editorLightBulbAi.foreground": null,
"editorBracketMatch.background": "#{{base02-hex}}",
"editorBracketMatch.border": null,
"editorBracketHighlight.foreground1": "#{{base08-hex}}",
"editorBracketHighlight.foreground2": "#{{base09-hex}}",
"editorBracketHighlight.foreground3": "#{{base0A-hex}}",
@ -153,11 +253,27 @@
"editorBracketHighlight.foreground5": "#{{base0D-hex}}",
"editorBracketHighlight.foreground6": "#{{base0E-hex}}",
"editorBracketHighlight.unexpectedBracket.foreground": "#{{base0F-hex}}",
"editorBracketPairGuide.activeBackground1": null,
"editorBracketPairGuide.activeBackground2": null,
"editorBracketPairGuide.activeBackground3": null,
"editorBracketPairGuide.activeBackground4": null,
"editorBracketPairGuide.activeBackground5": null,
"editorBracketPairGuide.activeBackground6": null,
"editorBracketPairGuide.background1": null,
"editorBracketPairGuide.background2": null,
"editorBracketPairGuide.background3": null,
"editorBracketPairGuide.background4": null,
"editorBracketPairGuide.background5": null,
"editorBracketPairGuide.background6": null,
"editor.foldBackground": null,
"editorOverviewRuler.background": null,
"editorOverviewRuler.border": "#00000000",
"editorOverviewRuler.findMatchForeground": "#{{base0A-hex}}",
"editorOverviewRuler.rangeHighlightForeground": "#{{base03-hex}}",
"editorOverviewRuler.selectionHighlightForeground": "#{{base02-hex}}",
"editorOverviewRuler.wordHighlightForeground": "#{{base07-hex}}",
"editorOverviewRuler.wordHighlightStrongForeground": "#{{base0D-hex}}",
"editorOverviewRuler.wordHighlightTextForeground": null,
"editorOverviewRuler.modifiedForeground": "#{{base0E-hex}}",
"editorOverviewRuler.addedForeground": "#{{base0B-hex}}",
"editorOverviewRuler.deletedForeground": "#{{base08-hex}}",
@ -165,33 +281,103 @@
"editorOverviewRuler.warningForeground": "#{{base0A-hex}}",
"editorOverviewRuler.infoForeground": "#{{base0C-hex}}",
"editorOverviewRuler.bracketMatchForeground": "#{{base06-hex}}",
"editorOverviewRuler.inlineChatInserted": null,
"editorOverviewRuler.inlineChatRemoved": null,
"editorError.foreground": "#{{base08-hex}}",
"editorError.border": null,
"editorError.background": null,
"editorWarning.foreground": "#{{base0A-hex}}",
"editorWarning.border": null,
"editorWarning.background": null,
"editorInfo.foreground": "#{{base0C-hex}}",
"editorInfo.border": null,
"editorInfo.background": null,
"editorHint.foreground": "#{{base0D-hex}}",
"editorHint.border": null,
"problemsErrorIcon.foreground": "#{{base08-hex}}",
"problemsWarningIcon.foreground": "#{{base0A-hex}}",
"problemsInfoIcon.foreground": "#{{base0C-hex}}",
"editorUnnecessaryCode.border": null,
"editorUnnecessaryCode.opacity": null,
"editorGutter.background": "#{{base00-hex}}",
"editorGutter.modifiedBackground": "#{{base0E-hex}}",
"editorGutter.addedBackground": "#{{base0B-hex}}",
"editorGutter.deletedBackground": "#{{base08-hex}}",
"editorGutter.commentRangeForeground": "#{{base04-hex}}",
"editorGutter.commentGlyphForeground": null,
"editorGutter.commentUnresolvedGlyphForeground": null,
"editorGutter.foldingControlForeground": "#{{base05-hex}}",
"diffEditor.insertedTextBackground": "#{{base0B-hex}}20",
"diffEditor.removedTextBackground": "#{{base08-hex}}20",
"editorCommentsWidget.resolvedBorder": null,
"editorCommentsWidget.unresolvedBorder": null,
"editorCommentsWidget.rangeBackground": null,
"editorCommentsWidget.rangeActiveBackground": null,
"editorCommentsWidget.replyInputBackground": null,
"diffEditor.insertedTextBackground": "#{{base0B-hex}}60",
"diffEditor.insertedTextBorder": null,
"diffEditor.removedTextBackground": "#{{base08-hex}}60",
"diffEditor.removedTextBorder": null,
"diffEditor.border": "#{{base02-hex}}",
"diffEditor.diagonalFill": "#{{base02-hex}}",
"diffEditor.insertedLineBackground": "#{{base0B-hex}}30",
"diffEditor.removedLineBackground": "#{{base08-hex}}30",
"diffEditorGutter.insertedLineBackground": "#{{base0B-hex}}30",
"diffEditorGutter.removedLineBackground": "#{{base08-hex}}30",
"diffEditorOverview.insertedForeground": "#{{base0B-hex}}60",
"diffEditorOverview.removedForeground": "#{{base08-hex}}60",
"diffEditor.unchangedRegionBackground": null,
"diffEditor.unchangedRegionForeground": null,
"diffEditor.unchangedRegionShadow": "#00000000",
"diffEditor.unchangedCodeBackground": null,
"diffEditor.move.border": null,
"diffEditor.moveActive.border": null,
"multiDiffEditor.headerBackground": null,
"multiDiffEditor.background": null,
"multiDiffEditor.border": null,
"chat.requestBorder": "#{{base02-hex}}",
"chat.requestBackground": "#{{base01-hex}}",
"chat.slashCommandBackground": "#{{base0D-hex}}",
"chat.slashCommandForeground": "#{{base00-hex}}",
"chat.avatarBackground": "#{{base0D-hex}}",
"chat.avatarForeground": "#{{base00-hex}}",
"inlineChat.background": "#{{base01-hex}}",
"inlineChat.border": "#{{base02-hex}}",
"inlineChat.shadow": "#00000000",
"inlineChat.regionHighlight": "#{{base01-hex}}",
"inlineChatInput.border": "#{{base02-hex}}",
"inlineChatInput.focusBorder": "#{{base0D-hex}}",
"inlineChatInput.placeholderForeground": "#{{base03-hex}}",
"inlineChatInput.background": "#{{base00-hex}}",
"inlineChatDiff.inserted": "#{{base0B-hex}}60",
"inlineChatDiff.removed": "#{{base08-hex}}60",
"interactive.activeCodeBorder": null,
"interactive.inactiveCodeBorder": null,
"editorWidget.foreground": "#{{base05-hex}}",
"editorWidget.background": "#{{base00-hex}}",
"editorWidget.border": "#{{base02-hex}}",
"editorWidget.resizeBorder": "#{{base0D-hex}}",
"editorSuggestWidget.background": "#{{base01-hex}}",
"editorSuggestWidget.border": "#{{base02-hex}}",
"editorSuggestWidget.foreground": "#{{base05-hex}}",
"editorSuggestWidget.focusHighlightForeground": "#{{base07-hex}}",
"editorSuggestWidget.focusHighlightForeground": "#{{base0D-hex}}",
"editorSuggestWidget.highlightForeground": "#{{base0D-hex}}",
"editorSuggestWidget.selectedBackground": "#{{base02-hex}}",
"editorSuggestWidget.selectedForeground": "#{{base06-hex}}",
"editorSuggestWidget.selectedForeground": "#{{base05-hex}}",
"editorSuggestWidget.selectedIconForeground": "#{{base05-hex}}",
"editorSuggestWidgetStatus.foreground": null,
"editorHoverWidget.foreground": "#{{base05-hex}}",
"editorHoverWidget.background": "#{{base00-hex}}",
"editorHoverWidget.background": "#{{base01-hex}}",
"editorHoverWidget.border": "#{{base02-hex}}",
"editorHoverWidget.highlightForeground": "#{{base0D-hex}}",
"editorHoverWidget.statusBarBackground": "#{{base01-hex}}",
"editorGhostText.border": null,
"editorGhostText.background": "#00000000",
"editorGhostText.foreground": "#{{base03-hex}}",
"editorStickyScroll.background": "#{{base00-hex}}",
"editorStickyScroll.border": "#{{base02-hex}}",
"editorStickyScroll.shadow": "#00000000",
"editorStickyScrollHover.background": "#{{base01-hex}}",
"debugExceptionWidget.background": "#{{base01-hex}}",
"debugExceptionWidget.border": null,
"editorMarkerNavigation.background": "#{{base01-hex}}",
"editorMarkerNavigationError.background": "#{{base08-hex}}",
"editorMarkerNavigationWarning.background": "#{{base0A-hex}}",
@ -199,9 +385,11 @@
"editorMarkerNavigationError.headerBackground": "#{{base08-hex}}20",
"editorMarkerNavigationWarning.headerBackground": "#{{base0A-hex}}20",
"editorMarkerNavigationInfo.headerBackground": "#{{base0C-hex}}20",
"peekView.border": null,
"peekViewEditor.background": "#{{base01-hex}}",
"peekViewEditorGutter.background": "#{{base01-hex}}",
"peekViewEditor.matchHighlightBackground": "#{{base09-hex}}",
"peekViewEditor.matchHighlightBorder": null,
"peekViewResult.background": "#{{base00-hex}}",
"peekViewResult.fileForeground": "#{{base05-hex}}",
"peekViewResult.lineForeground": "#{{base03-hex}}",
@ -211,112 +399,192 @@
"peekViewTitle.background": "#{{base02-hex}}",
"peekViewTitleDescription.foreground": "#{{base03-hex}}",
"peekViewTitleLabel.foreground": "#{{base05-hex}}",
"merge.currentContentBackground": "#{{base0D-hex}}40",
"peekViewEditorStickyScroll.background": null,
"merge.currentHeaderBackground": "#{{base0D-hex}}40",
"merge.incomingContentBackground": "#{{base0B-hex}}60",
"merge.currentContentBackground": "#{{base0D-hex}}40",
"merge.incomingHeaderBackground": "#{{base0B-hex}}60",
"merge.incomingContentBackground": "#{{base0B-hex}}60",
"merge.border": null,
"merge.commonContentBackground": null,
"merge.commonHeaderBackground": null,
"editorOverviewRuler.currentContentForeground": "#{{base0D-hex}}",
"editorOverviewRuler.incomingContentForeground": "#{{base0B-hex}}",
"editorOverviewRuler.commonContentForeground": "#{{base0F-hex}}",
"panel.background": "#{{base00-hex}}",
"panel.dropBackground": "#{{base01-hex}}",
"editorOverviewRuler.commentForeground": null,
"editorOverviewRuler.commentUnresolvedForeground": null,
"mergeEditor.change.background": null,
"mergeEditor.change.word.background": null,
"mergeEditor.conflict.unhandledUnfocused.border": null,
"mergeEditor.conflict.unhandledFocused.border": "#{{base0D-hex}}",
"mergeEditor.conflict.handledUnfocused.border": null,
"mergeEditor.conflict.handledFocused.border": "#{{base0D-hex}}",
"mergeEditor.conflict.handled.minimapOverViewRuler": null,
"mergeEditor.conflict.unhandled.minimapOverViewRuler": null,
"mergeEditor.conflictingLines.background": null,
"mergeEditor.changeBase.background": null,
"mergeEditor.changeBase.word.background": null,
"mergeEditor.conflict.input1.background": null,
"mergeEditor.conflict.input2.background": null,
"panel.background": "#{{base01-hex}}",
"panel.border": "#00000000",
"panel.dropBorder": "#{{base01-hex}}",
"panelTitle.activeBorder": null,
"panelTitle.activeForeground": "#{{base05-hex}}",
"panelTitle.inactiveForeground": "#{{base03-hex}}",
"statusBar.background": "#{{base0D-hex}}",
"statusBar.foreground": "#{{base07-hex}}",
"panelInput.border": null,
"panelSection.border": null,
"panelSection.dropBackground": null,
"panelSectionHeader.background": null,
"panelSectionHeader.foreground": null,
"panelSectionHeader.border": null,
"outputView.background": null,
"outputViewStickyScroll.background": null,
"statusBar.background": "#{{base01-hex}}",
"statusBar.foreground": "#{{base05-hex}}",
"statusBar.border": null,
"statusBar.debuggingBackground": "#{{base09-hex}}",
"statusBar.debuggingForeground": "#{{base07-hex}}",
"statusBar.noFolderBackground": "#{{base0E-hex}}",
"statusBar.noFolderForeground": "#{{base07-hex}}",
"statusBarItem.activeBackground": "#{{base03-hex}}",
"statusBar.debuggingForeground": "#{{base00-hex}}",
"statusBar.debuggingBorder": null,
"statusBar.noFolderForeground": "#{{base05-hex}}",
"statusBar.noFolderBackground": "#{{base01-hex}}",
"statusBar.noFolderBorder": null,
"statusBarItem.activeBackground": "#{{base02-hex}}",
"statusBarItem.hoverForeground": "#{{base05-hex}}",
"statusBarItem.hoverBackground": "#{{base02-hex}}",
"statusBarItem.prominentForeground": "#{{base07-hex}}",
"statusBarItem.prominentForeground": "#{{base00-hex}}",
"statusBarItem.prominentBackground": "#{{base0E-hex}}",
"statusBarItem.prominentHoverBackground": "#{{base08-hex}}",
"statusBarItem.remoteBackground": "#{{base0B-hex}}",
"statusBarItem.remoteForeground": "#{{base07-hex}}",
"statusBarItem.prominentHoverForeground": "#{{base00-hex}}",
"statusBarItem.prominentHoverBackground": "#{{base0E-hex}}C0",
"statusBarItem.remoteBackground": "#{{base01-hex}}",
"statusBarItem.remoteForeground": "#{{base05-hex}}",
"statusBarItem.remoteHoverBackground": "#{{base02-hex}}",
"statusBarItem.remoteHoverForeground": "#{{base05-hex}}",
"statusBarItem.errorBackground": "#{{base08-hex}}",
"statusBarItem.errorForeground": "#{{base07-hex}}",
"statusBarItem.errorForeground": "#{{base00-hex}}",
"statusBarItem.errorHoverBackground": "#{{base08-hex}}C0",
"statusBarItem.errorHoverForeground": "#{{base00-hex}}",
"statusBarItem.warningBackground": "#{{base0A-hex}}",
"statusBarItem.warningForeground": "#{{base07-hex}}",
"statusBarItem.warningForeground": "#{{base00-hex}}",
"statusBarItem.warningHoverBackground": "#{{base0A-hex}}C0",
"statusBarItem.warningHoverForeground": "#{{base00-hex}}",
"statusBarItem.compactHoverBackground": "#{{base02-hex}}",
"statusBarItem.focusBorder": "#{{base0D-hex}}",
"statusBar.focusBorder": "#{{base0D-hex}}",
"statusBarItem.offlineBackground": "#{{base09-hex}}",
"statusBarItem.offlineForeground": "#{{base00-hex}}",
"statusBarItem.offlineHoverForeground": "#{{base00-hex}}",
"statusBarItem.offlineHoverBackground": "#{{base09-hex}}C0",
"titleBar.activeBackground": "#{{base00-hex}}",
"titleBar.activeForeground": "#{{base05-hex}}",
"titleBar.inactiveBackground": "#{{base01-hex}}",
"titleBar.inactiveForeground": "#{{base03-hex}}",
"titleBar.border": null,
"menubar.selectionForeground": "#{{base05-hex}}",
"menubar.selectionBackground": "#{{base01-hex}}",
"menubar.selectionBorder": null,
"menu.foreground": "#{{base05-hex}}",
"menu.background": "#{{base01-hex}}",
"menu.selectionForeground": "#{{base05-hex}}",
"menu.selectionBackground": "#{{base02-hex}}",
"menu.separatorBackground": "#{{base07-hex}}",
"menu.selectionBorder": null,
"menu.separatorBackground": "#{{base02-hex}}",
"menu.border": "#{{base02-hex}}",
"commandCenter.foreground": "#{{base05-hex}}",
"commandCenter.activeForeground": "#{{base07-hex}}",
"commandCenter.background": "#{{base00-hex}}",
"commandCenter.activeBackground": "#{{base01-hex}}",
"commandCenter.border": null,
"commandCenter.inactiveForeground": null,
"commandCenter.inactiveBorder": null,
"commandCenter.activeBorder": null,
"commandCenter.debuggingBackground": null,
"notificationCenter.border": null,
"notificationCenterHeader.foreground": "#{{base05-hex}}",
"notificationCenterHeader.background": "#{{base01-hex}}",
"notificationToast.border": null,
"notifications.foreground": "#{{base05-hex}}",
"notifications.background": "#{{base02-hex}}",
"notifications.border": null,
"notificationLink.foreground": "#{{base0D-hex}}",
"notificationsErrorIcon.foreground": "#{{base08-hex}}",
"notificationsWarningIcon.foreground": "#{{base0A-hex}}",
"notificationsInfoIcon.foreground": "#{{base0D-hex}}",
"notification.background": "#{{base02-hex}}",
"notification.foreground": "#{{base05-hex}}",
"notification.buttonBackground": "#{{base0D-hex}}",
"notification.buttonHoverBackground": "#{{base02-hex}}",
"notification.buttonForeground": "#{{base07-hex}}",
"notification.infoBackground": "#{{base0C-hex}}",
"notification.infoForeground": "#{{base07-hex}}",
"notification.warningBackground": "#{{base0A-hex}}",
"notification.warningForeground": "#{{base07-hex}}",
"notification.errorBackground": "#{{base08-hex}}",
"notification.errorForeground": "#{{base07-hex}}",
"banner.background": "#{{base02-hex}}",
"banner.foreground": "#{{base05-hex}}",
"banner.iconForeground": "#{{base0D-hex}}",
"extensionButton.prominentForeground": "#{{base00-hex}}",
"extensionButton.prominentBackground": "#{{base0B-hex}}",
"extensionButton.prominentForeground": "#{{base07-hex}}",
"extensionButton.prominentHoverBackground": "#{{base02-hex}}",
"extensionButton.prominentHoverBackground": "#{{base0B-hex}}C0",
"extensionButton.background": "#{{base0D-hex}}",
"extensionButton.foreground": "#{{base00-hex}}",
"extensionButton.hoverBackground": "#{{base0D-hex}}C0",
"extensionButton.separator": "#00000000",
"extensionBadge.remoteBackground": "#{{base09-hex}}",
"extensionBadge.remoteForeground": "#{{base07-hex}}",
"extensionIcon.starForeground": "#{{base0A-hex}}",
"extensionIcon.verifiedForeground": "#{{base0D-hex}}",
"extensionIcon.preReleaseForeground": "#{{base09-hex}}",
"extensionIcon.sponsorForeground": null,
"pickerGroup.border": "#{{base02-hex}}",
"pickerGroup.foreground": "#{{base03-hex}}",
"quickInput.background": "#{{base01-hex}}",
"quickInput.foreground": "#{{base05-hex}}",
"quickInputList.focusBackground": "#{{base03-hex}}",
"quickInputList.focusForeground": "#{{base07-hex}}",
"quickInputList.focusIconForeground": "#{{base07-hex}}",
"quickInputList.focusBackground": "#{{base02-hex}}",
"quickInputList.focusForeground": "#{{base05-hex}}",
"quickInputList.focusIconForeground": "#{{base05-hex}}",
"quickInputTitle.background": "#{{base01-hex}}",
"keybindingLabel.background": "#{{base02-hex}}",
"keybindingLabel.foreground": "#{{base05-hex}}",
"keybindingLabel.border": null,
"keybindingLabel.bottomBorder": "#{{base02-hex}}",
"keybindingTable.headerBackground": "#{{base02-hex}}",
"keybindingTable.rowsBackground": "#{{base01-hex}}",
"terminal.background": "#{{base00-hex}}",
"terminal.border": null,
"terminal.foreground": "#{{base05-hex}}",
"terminal.ansiBlack": "#{{base00-hex}}",
"terminal.ansiRed": "#{{base08-hex}}",
"terminal.ansiGreen": "#{{base0B-hex}}",
"terminal.ansiYellow": "#{{base0A-hex}}",
"terminal.ansiBlue": "#{{base0D-hex}}",
"terminal.ansiMagenta": "#{{base0E-hex}}",
"terminal.ansiCyan": "#{{base0C-hex}}",
"terminal.ansiWhite": "#{{base05-hex}}",
"terminal.ansiBrightBlack": "#{{base03-hex}}",
"terminal.ansiBrightRed": "#{{base08-hex}}",
"terminal.ansiBrightGreen": "#{{base0B-hex}}",
"terminal.ansiBrightYellow": "#{{base0A-hex}}",
"terminal.ansiBrightBlue": "#{{base0D-hex}}",
"terminal.ansiBrightMagenta": "#{{base0E-hex}}",
"terminal.ansiBrightCyan": "#{{base0C-hex}}",
"terminal.ansiBrightGreen": "#{{base0B-hex}}",
"terminal.ansiBrightMagenta": "#{{base0E-hex}}",
"terminal.ansiBrightRed": "#{{base08-hex}}",
"terminal.ansiBrightWhite": "#{{base07-hex}}",
"terminal.ansiBrightYellow": "#{{base0A-hex}}",
"terminal.ansiCyan": "#{{base0C-hex}}",
"terminal.ansiGreen": "#{{base0B-hex}}",
"terminal.ansiMagenta": "#{{base0E-hex}}",
"terminal.ansiRed": "#{{base08-hex}}",
"terminal.ansiWhite": "#{{base05-hex}}",
"terminal.ansiYellow": "#{{base0A-hex}}",
"terminal.selectionBackground": null,
"terminal.selectionForeground": null,
"terminal.inactiveSelectionBackground": null,
"terminal.findMatchBackground": null,
"terminal.findMatchBorder": null,
"terminal.findMatchHighlightBackground": null,
"terminal.findMatchHighlightBorder": null,
"terminal.hoverHighlightBackground": null,
"terminalCursor.background": null,
"terminalCursor.foreground": "#{{base05-hex}}",
"terminal.dropBackground": null,
"terminal.tab.activeBorder": null,
"terminalCommandDecoration.defaultBackground": null,
"terminalCommandDecoration.successBackground": null,
"terminalCommandDecoration.errorBackground": null,
"terminalOverviewRuler.cursorForeground": "#ff0000",
"terminalOverviewRuler.findMatchForeground": "#ff0000",
"terminalStickyScroll.background": null,
"terminalStickyScrollHover.background": null,
"debugToolBar.background": "#{{base01-hex}}",
"debugToolBar.border": null,
"editor.stackFrameHighlightBackground": null,
"editor.focusedStackFrameHighlightBackground": null,
"editor.inlineValuesForeground": null,
"editor.inlineValuesBackground": null,
"debugView.exceptionLabelForeground": null,
"debugView.exceptionLabelBackground": null,
"debugView.stateLabelForeground": "#{{base07-hex}}",
"debugView.stateLabelBackground": "#{{base0D-hex}}",
"debugView.valueChangedHighlight": "#{{base0D-hex}}",
@ -333,19 +601,31 @@
"testing.iconQueued": "#{{base0A-hex}}",
"testing.iconUnset": "#{{base04-hex}}",
"testing.iconSkipped": "#{{base0E-hex}}",
"testing.peekBorder": null,
"testing.peekHeaderBackground": "#{{base01-hex}}",
"testing.message.error.decorationForeground": "#{{base05-hex}}",
"testing.message.error.lineBackground": "#{{base08-hex}}20",
"testing.message.info.decorationForeground": "#{{base05-hex}}",
"testing.message.info.lineBackground": "#{{base0D-hex}}20",
"testing.messagePeekBorder": null,
"testing.messagePeekHeaderBackground": null,
"testing.coveredBackground": null,
"testing.coveredBorder": null,
"testing.coveredGutterBackground": null,
"testing.uncoveredBranchBackground": null,
"testing.uncoveredBackground": null,
"testing.uncoveredBorder": null,
"testing.uncoveredGutterBackground": null,
"testing.coverCountBadgeBackground": null,
"testing.coverCountBadgeForeground": null,
"welcomePage.background": "#{{base00-hex}}",
"welcomePage.buttonBackground": "#{{base01-hex}}",
"welcomePage.buttonHoverBackground": "#{{base02-hex}}",
"welcomePage.progress.background": "#{{base03-hex}}",
"welcomePage.progress.foreground": "#{{base0D-hex}}",
"welcomePage.tileBackground": "#{{base01-hex}}",
"welcomePage.tileHoverBackground": "#{{base02-hex}}",
"welcomePage.tileBorder": null,
"walkThrough.embeddedEditorBackground": "#{{base00-hex}}",
"walkthrough.stepTitle.foreground": null,
"gitDecoration.addedResourceForeground": "#{{base0B-hex}}",
"gitDecoration.modifiedResourceForeground": "#{{base0E-hex}}",
"gitDecoration.deletedResourceForeground": "#{{base08-hex}}",
@ -358,26 +638,34 @@
"gitDecoration.submoduleResourceForeground": "#{{base0F-hex}}",
"settings.headerForeground": "#{{base05-hex}}",
"settings.modifiedItemIndicator": "#{{base0D-hex}}",
"settings.modifiedItemForeground": "#{{base0B-hex}}",
"settings.dropdownBackground": "#{{base01-hex}}",
"settings.dropdownForeground": "#{{base05-hex}}",
"settings.dropdownBorder": null,
"settings.dropdownListBorder": null,
"settings.checkboxBackground": "#{{base01-hex}}",
"settings.checkboxForeground": "#{{base05-hex}}",
"settings.checkboxBorder": null,
"settings.rowHoverBackground": "#{{base02-hex}}",
"settings.textInputBackground": "#{{base01-hex}}",
"settings.textInputForeground": "#{{base05-hex}}",
"settings.textInputBorder": null,
"settings.numberInputBackground": "#{{base01-hex}}",
"settings.numberInputForeground": "#{{base05-hex}}",
"settings.numberInputBorder": null,
"settings.focusedRowBackground": "#{{base02-hex}}",
"settings.focusedRowBorder": "#{{base0D-hex}}",
"settings.headerBorder": "#{{base05-hex}}",
"settings.sashBorder": "#{{base05-hex}}",
"settings.settingsHeaderHoverForeground": null,
"breadcrumb.foreground": "#{{base05-hex}}",
"breadcrumb.background": "#{{base01-hex}}",
"breadcrumb.focusForeground": "#{{base06-hex}}",
"breadcrumb.activeSelectionForeground": "#{{base07-hex}}",
"breadcrumbPicker.background": "#{{base01-hex}}",
"editor.snippetTabstopHighlightBackground": "#{{base02-hex}}",
"editor.snippetTabstopHighlightBorder": null,
"editor.snippetFinalTabstopHighlightBackground": "#{{base03-hex}}",
"editor.snippetFinalTabstopHighlightBorder": null,
"symbolIcon.arrayForeground": "#{{base05-hex}}",
"symbolIcon.booleanForeground": "#{{base09-hex}}",
"symbolIcon.classForeground": "#{{base0A-hex}}",
@ -434,16 +722,27 @@
"notebook.editorBackground": "#{{base00-hex}}",
"notebook.cellBorderColor": "#{{base03-hex}}",
"notebook.cellHoverBackground": "#{{base01-hex}}",
"notebook.cellInsertionIndicator": null,
"notebook.cellStatusBarItemHoverBackground": null,
"notebook.cellToolbarSeparator": "#{{base02-hex}}",
"notebook.cellEditorBackground": "#{{base00-hex}}",
"notebook.focusedCellBackground": "#{{base02-hex}}",
"notebook.focusedCellBorder": "#{{base0D-hex}}",
"notebook.focusedEditorBorder": "#{{base0D-hex}}",
"notebook.inactiveFocusedCellBorder": "#{{base03-hex}}",
"notebook.inactiveSelectedCellBorder": null,
"notebook.outputContainerBackgroundColor": null,
"notebook.outputContainerBorderColor": null,
"notebook.selectedCellBackground": "#{{base02-hex}}",
"notebook.selectedCellBorder": null,
"notebook.symbolHighlightBackground": null,
"notebookScrollbarSlider.activeBackground": null,
"notebookScrollbarSlider.background": null,
"notebookScrollbarSlider.hoverBackground": null,
"notebookStatusErrorIcon.foreground": "#{{base08-hex}}",
"notebookStatusRunningIcon.foreground": "#{{base0C-hex}}",
"notebookStatusSuccessIcon.foreground": "#{{base0B-hex}}",
"notebookEditorOverviewRuler.runningCellForeground": null,
"charts.foreground": "#{{base05-hex}}",
"charts.lines": "#{{base05-hex}}",
"charts.red": "#{{base08-hex}}",
@ -452,7 +751,15 @@
"charts.orange": "#{{base09-hex}}",
"charts.green": "#{{base0B-hex}}",
"charts.purple": "#{{base0E-hex}}",
"ports.iconRunningProcessForeground": "#{{base09-hex}}"
"ports.iconRunningProcessForeground": "#{{base09-hex}}",
"commentsView.resolvedIcon": null,
"commentsView.unresolvedIcon": null,
"actionBar.toggledBackground": null,
"simpleFindWidget.sashBorder": null,
"scm.historyItemAdditionsForeground": null,
"scm.historyItemDeletionsForeground": null,
"scm.historyItemStatisticsBorder": null,
"scm.historyItemSelectedStatisticsBorder": null
},
"tokenColors": [
{
@ -1198,4 +1505,4 @@
}
}
]
}
}

36
modules/vscode/update.py Executable file
View file

@ -0,0 +1,36 @@
#! /usr/bin/env nix-shell
#! nix-shell -i python3 -p python3Packages.markdown-it-py python3Packages.requests
# This script parses the reference page and updates our template with any
# added or removed settings.
#
# New settings are null by default. VSCode can handle this gracefully, but
# normally a value should be chosen before committing the update.
#
# This only updates 'colors' and not 'tokenColors' for now.
import json
import os
from markdown_it import MarkdownIt
import requests
documentation = requests.get('https://raw.githubusercontent.com/microsoft/vscode-docs/main/api/references/theme-color.md').text
color_names = [
token.children[0].content
for token in MarkdownIt().parse(documentation)
if token.type == 'inline' and token.children[0].type == 'code_inline'
]
template_path = os.path.join(os.path.dirname(__file__), 'template.mustache')
with open(template_path, 'r') as template_file:
template = json.load(template_file)
template['colors'] = {
color_name: template['colors'].get(color_name)
for color_name in color_names
}
with open(template_path, 'w') as template_file:
json.dump(template, template_file, indent=4)