Flatcap for Visual Studio Code

Flatcap 2.0 is a quiet, precise color system for code and data-dense work. Surfaces organize, color informs, and content takes the foreground. This extension ships it as two themes:
- Flatcap Slate (dark)
- Flatcap Daylight (light)

Screenshots were taken in a disposable code-server 4.145 (VS Code 1.145) instance.
Install
- Open the Extensions view (
Ctrl+Shift+X) and search for Flatcap, then install.
- Run Preferences: Color Theme and pick Flatcap Slate or Flatcap Daylight.
Upgrading from v1
The v1 theme ID Flatcap is kept as Flatcap (v1 name, now Slate), so an existing "workbench.colorTheme": "Flatcap" keeps working and now renders Slate. The v1 palette (Nord-derived) is gone; colors are resolved by role from the Flatcap 2.0 core. Switch to the new names when convenient.
Recommended settings
Light/dark follow the OS, with the Flatcap type scale:
{
"workbench.preferredDarkColorTheme": "Flatcap Slate",
"workbench.preferredLightColorTheme": "Flatcap Daylight",
"window.autoDetectColorScheme": true,
"editor.fontFamily": "'Cascadia Code', 'Cascadia Code NF', 'CaskaydiaCove Nerd Font Mono', Consolas, monospace",
"editor.fontSize": 15,
"editor.lineHeight": 24,
"editor.fontLigatures": true,
"terminal.integrated.fontFamily": "'Cascadia Code', 'Cascadia Code NF', 'CaskaydiaCove Nerd Font Mono', Consolas, monospace",
"markdown.preview.fontFamily": "'IBM Plex Sans', 'Segoe UI', sans-serif",
"markdown.preview.fontSize": 16,
"markdown.preview.lineHeight": 1.625
}
Fonts
| Use |
Family (exact) |
| Editor and terminal (default) |
Cascadia Code |
| Terminal or prompt with icons |
Cascadia Code NF |
| No ligatures (logs, hashes, literal output) |
Cascadia Mono |
| No ligatures, with icons |
Cascadia Mono NF |
| Markdown preview |
IBM Plex Sans |
Starting size: 15 px with a 24 px line (font.size.code, font.line.code).
How colors are chosen
Every value comes from the core src/theme.json and is resolved by semantic role, not by palette position. python3 scripts/build.py generates the theme files, the package.json theme entries and the tables below.
Role to VS Code key mapping
| Group |
Role |
Slate |
Daylight |
VS Code keys |
| Base: text, links, focus, selection |
text.primary |
#D5DBE3 |
#28313B |
foreground, textPreformat.foreground |
|
text.secondary |
#AEB8C4 |
#465463 |
descriptionForeground, icon.foreground |
|
text.disabled |
#7E8998 |
#89939E |
disabledForeground |
|
danger.fg |
#E2A0A5 |
#A43F4A |
errorForeground |
|
focus.ring |
#B0D2F0 |
#285D85 |
focusBorder, list.focusOutline, list.focusAndSelectionOutline |
|
accent.fg |
#9BBFDF |
#285D85 |
textLink.foreground, sash.hoverBorder |
|
accent.hover |
#ACCCE7 |
#214F73 |
textLink.activeForeground |
|
border.subtle |
#3D4652 |
#D2D9E0 |
widget.border, textSeparator.foreground |
|
border.control |
#8593A5 |
#6C7A89 |
textBlockQuote.border |
|
bg.hover |
#323A43 |
#E6EBF0 |
textPreformat.background, toolbar.hoverBackground |
|
bg.selected |
#263E53 |
#DCE9F4 |
toolbar.activeBackground |
|
bg.surface |
#20252B |
#FAFBFC |
textBlockQuote.background, textCodeBlock.background |
|
shadow |
#0000003D |
#191D221A |
widget.shadow, scrollbar.shadow |
|
selection.bg |
#3C546B |
#C8DDF0 |
selection.background |
| Editor surface and gutter |
bg.canvas |
#191D22 |
#F3F5F7 |
editor.background, editorGutter.background, editorGroupHeader.noTabsBackground, breadcrumb.background, editorCursor.background |
|
text.primary |
#D5DBE3 |
#28313B |
editor.foreground, editorLineNumber.activeForeground |
|
text.muted |
#A7B3C2 |
#536273 |
editorLineNumber.foreground, editorCodeLens.foreground, editorGhostText.foreground, editorGutter.foldingControlForeground, editor.foldPlaceholderForeground, editor.inlineValuesForeground |
|
text.secondary |
#AEB8C4 |
#465463 |
editorInlayHint.foreground, editorInlayHint.typeForeground, editorInlayHint.parameterForeground |
|
bg.hover |
#323A43 |
#E6EBF0 |
editorInlayHint.background, editorInlayHint.typeBackground, editorInlayHint.parameterBackground, editorStickyScrollHover.background |
|
bg.hover/60 |
#323A4399 |
#E6EBF099 |
editor.lineHighlightBackground |
|
transparent |
#00000000 |
#00000000 |
editor.lineHighlightBorder |
|
accent.fg |
#9BBFDF |
#285D85 |
editorCursor.foreground, editorLink.activeForeground |
|
border.subtle |
#3D4652 |
#D2D9E0 |
editorRuler.foreground, editorWhitespace.foreground, editorIndentGuide.background1, editorIndentGuide.background2, editorIndentGuide.background3, editorIndentGuide.background4, editorIndentGuide.background5, editorIndentGuide.background6, editorStickyScroll.border |
|
border.control |
#8593A5 |
#6C7A89 |
editorIndentGuide.activeBackground1, editorIndentGuide.activeBackground2, editorIndentGuide.activeBackground3, editorIndentGuide.activeBackground4, editorIndentGuide.activeBackground5, editorIndentGuide.activeBackground6 |
|
bg.hover/50 |
#323A4380 |
#E6EBF080 |
editor.foldBackground, editor.hoverHighlightBackground |
|
bg.selected/60 |
#263E5399 |
#DCE9F499 |
editor.rangeHighlightBackground, editor.findRangeHighlightBackground |
|
bg.surface |
#20252B |
#FAFBFC |
editorStickyScroll.background, editorStickyScrollGutter.background |
|
shadow |
#0000003D |
#191D221A |
editorStickyScroll.shadow |
| Selection, occurrences, find, brackets |
selection.bg |
#3C546B |
#C8DDF0 |
editor.selectionBackground |
|
selection.fg |
#D5DBE3 |
#28313B |
editor.selectionForeground |
|
selection.bg/55 |
#3C546B8C |
#C8DDF08C |
editor.inactiveSelectionBackground |
|
selection.bg/45 |
#3C546B73 |
#C8DDF073 |
editor.selectionHighlightBackground |
|
accent.fg/10 |
#9BBFDF1A |
#285D851A |
editor.wordHighlightBackground, editor.wordHighlightTextBackground, editor.linkedEditingBackground, editor.findMatchHighlightBackground, terminal.findMatchHighlightBackground |
|
accent.fg/14 |
#9BBFDF24 |
#285D8524 |
editor.wordHighlightStrongBackground, editor.snippetTabstopHighlightBackground, editor.snippetFinalTabstopHighlightBackground, editor.symbolHighlightBackground, editor.findMatchBackground, terminal.findMatchBackground, searchEditor.findMatchBackground, peekViewEditor.matchHighlightBackground, peekViewResult.matchHighlightBackground, list.filterMatchBackground, editorBracketMatch.background |
|
accent.fg/70 |
#9BBFDFB2 |
#285D85B2 |
editor.findMatchHighlightBorder, terminal.findMatchHighlightBorder, searchEditor.findMatchHighlightBorder, list.filterMatchBorder |
|
focus.ring |
#B0D2F0 |
#285D85 |
editor.findMatchBorder, terminal.findMatchBorder, searchEditor.findMatchBorder |
|
accent.fg/20 |
#9BBFDF33 |
#285D8533 |
editorGroup.dropBackground, sideBar.dropBackground, terminal.dropBackground, list.dropBackground |
|
accent.fg |
#9BBFDF |
#285D85 |
editorBracketMatch.border, editorBracketHighlight.foreground3, editorBracketHighlight.foreground6 |
|
text.primary |
#D5DBE3 |
#28313B |
editorBracketHighlight.foreground1, editorBracketHighlight.foreground4 |
|
text.secondary |
#AEB8C4 |
#465463 |
editorBracketHighlight.foreground2, editorBracketHighlight.foreground5 |
|
danger.fg |
#E2A0A5 |
#A43F4A |
editorBracketHighlight.unexpectedBracket.foreground |
|
border.subtle |
#3D4652 |
#D2D9E0 |
editorBracketPairGuide.background1, editorBracketPairGuide.background2, editorBracketPairGuide.background3, editorBracketPairGuide.background4, editorBracketPairGuide.background5, editorBracketPairGuide.background6 |
|
border.control |
#8593A5 |
#6C7A89 |
editorBracketPairGuide.activeBackground1, editorBracketPairGuide.activeBackground2, editorBracketPairGuide.activeBackground3, editorBracketPairGuide.activeBackground4, editorBracketPairGuide.activeBackground5, editorBracketPairGuide.activeBackground6 |
| Diagnostics, validation, banners |
danger.fg |
#E2A0A5 |
#A43F4A |
editorError.foreground, editorOverviewRuler.errorForeground, minimap.errorHighlight, problemsErrorIcon.foreground, notificationsErrorIcon.foreground, list.errorForeground, list.invalidItemForeground, listFilterWidget.noMatchesOutline, inputValidation.errorBorder, editorMarkerNavigationError.background, editorMarkerNavigationError.headerBackground, inputValidation.errorForeground |
|
warning.fg |
#D8BC87 |
#765319 |
editorWarning.foreground, editorOverviewRuler.warningForeground, minimap.warningHighlight, problemsWarningIcon.foreground, notificationsWarningIcon.foreground, list.warningForeground, editorLightBulb.foreground, editorUnicodeHighlight.border, inputValidation.warningBorder, editorMarkerNavigationWarning.background, editorMarkerNavigationWarning.headerBackground, inputValidation.warningForeground |
|
info.fg |
#9BBFDF |
#285D85 |
editorInfo.foreground, editorOverviewRuler.infoForeground, problemsInfoIcon.foreground, notificationsInfoIcon.foreground, editorLightBulbAutoFix.foreground, banner.iconForeground, inputValidation.infoBorder, editorMarkerNavigationInfo.background, editorMarkerNavigationInfo.headerBackground, inputValidation.infoForeground |
|
text.secondary |
#AEB8C4 |
#465463 |
editorHint.foreground |
|
danger.bg |
#382A30 |
#F5E5E7 |
inputValidation.errorBackground |
|
warning.bg |
#3A3225 |
#F4ECD9 |
inputValidation.warningBackground, editorUnicodeHighlight.background |
|
info.bg |
#263E53 |
#DCE9F4 |
inputValidation.infoBackground, banner.background |
|
text.primary |
#D5DBE3 |
#28313B |
banner.foreground |
| Diff, merge and git |
success.bg |
#25372F |
#E4EEE8 |
diffEditor.insertedLineBackground |
|
success.fg/30 |
#9FC3AD4C |
#32664D4C |
diffEditor.insertedTextBackground |
|
danger.bg |
#382A30 |
#F5E5E7 |
diffEditor.removedLineBackground |
|
danger.fg/30 |
#E2A0A54C |
#A43F4A4C |
diffEditor.removedTextBackground |
|
success.fg |
#9FC3AD |
#32664D |
diffEditorGutter.insertedLineBackground, diffEditorOverview.insertedForeground, gitDecoration.addedResourceForeground, gitDecoration.untrackedResourceForeground, editorGutter.addedBackground, minimapGutter.addedBackground, editorOverviewRuler.addedForeground, editorOverviewRuler.currentContentForeground |
|
danger.fg |
#E2A0A5 |
#A43F4A |
diffEditorGutter.removedLineBackground, diffEditorOverview.removedForeground, gitDecoration.deletedResourceForeground, gitDecoration.stageDeletedResourceForeground, gitDecoration.conflictingResourceForeground, editorGutter.deletedBackground, minimapGutter.deletedBackground, editorOverviewRuler.deletedForeground |
|
warning.fg |
#D8BC87 |
#765319 |
gitDecoration.modifiedResourceForeground, editorGutter.modifiedBackground, minimapGutter.modifiedBackground, editorOverviewRuler.modifiedForeground |
|
info.fg |
#9BBFDF |
#285D85 |
gitDecoration.renamedResourceForeground, gitDecoration.stageModifiedResourceForeground, editorOverviewRuler.incomingContentForeground |
|
text.secondary |
#AEB8C4 |
#465463 |
gitDecoration.submoduleResourceForeground, diffEditor.unchangedRegionForeground |
|
text.muted |
#A7B3C2 |
#536273 |
gitDecoration.ignoredResourceForeground, list.deemphasizedForeground, editorOverviewRuler.commonContentForeground |
|
bg.surface |
#20252B |
#FAFBFC |
diffEditor.unchangedRegionBackground |
|
border.subtle |
#3D4652 |
#D2D9E0 |
diffEditor.diagonalFill, diffEditor.border |
|
accent.fg |
#9BBFDF |
#285D85 |
diffEditor.move.border, diffEditor.moveActive.border |
|
success.fg/35 |
#9FC3AD59 |
#32664D59 |
merge.currentHeaderBackground |
|
success.fg/16 |
#9FC3AD29 |
#32664D29 |
merge.currentContentBackground |
|
info.fg/35 |
#9BBFDF59 |
#285D8559 |
merge.incomingHeaderBackground |
|
info.fg/16 |
#9BBFDF29 |
#285D8529 |
merge.incomingContentBackground |
|
text.muted/35 |
#A7B3C259 |
#53627359 |
merge.commonHeaderBackground |
|
text.muted/16 |
#A7B3C229 |
#53627329 |
merge.commonContentBackground |
|
border.control |
#8593A5 |
#6C7A89 |
merge.border |
| Lists and trees |
bg.selected |
#263E53 |
#DCE9F4 |
list.activeSelectionBackground, list.inactiveSelectionBackground |
|
text.primary |
#D5DBE3 |
#28313B |
list.activeSelectionForeground, list.inactiveSelectionForeground, list.hoverForeground, list.focusForeground |
|
accent.fg |
#9BBFDF |
#285D85 |
list.activeSelectionIconForeground, list.highlightForeground, list.focusHighlightForeground |
|
bg.hover |
#323A43 |
#E6EBF0 |
list.hoverBackground, list.inactiveFocusBackground |
|
bg.selected/60 |
#263E5399 |
#DCE9F499 |
list.focusBackground |
|
border.subtle |
#3D4652 |
#D2D9E0 |
tree.indentGuidesStroke, tree.inactiveIndentGuidesStroke, tree.tableColumnsBorder |
| Controls: buttons, inputs, checkboxes, dropdowns, badges, progress, scrollbars |
accent.fill |
#9BBFDF |
#285D85 |
button.background, badge.background, activityBarBadge.background, extensionButton.prominentBackground, extensionBadge.remoteBackground, progressBar.background |
|
accent.on |
#101820 |
#FAFBFC |
button.foreground, badge.foreground, activityBarBadge.foreground, extensionButton.prominentForeground, extensionBadge.remoteForeground |
|
accent.hover |
#ACCCE7 |
#214F73 |
button.hoverBackground, extensionButton.prominentHoverBackground |
|
bg.raised |
#292F36 |
#FFFFFF |
button.secondaryBackground |
|
text.primary |
#D5DBE3 |
#28313B |
button.secondaryForeground, input.foreground, dropdown.foreground, checkbox.foreground, settings.textInputForeground, settings.numberInputForeground, settings.dropdownForeground, settings.checkboxForeground, settings.headerForeground, inputOption.activeForeground, keybindingLabel.foreground |
|
bg.hover |
#323A43 |
#E6EBF0 |
button.secondaryHoverBackground, inputOption.hoverBackground, keybindingLabel.background |
|
border.control |
#8593A5 |
#6C7A89 |
button.border, input.border, dropdown.border, checkbox.border, settings.textInputBorder, settings.numberInputBorder, settings.dropdownBorder, settings.checkboxBorder, panelInput.border, keybindingLabel.border, keybindingLabel.bottomBorder |
|
bg.canvas |
#191D22 |
#F3F5F7 |
input.background, dropdown.background, checkbox.background, settings.textInputBackground, settings.numberInputBackground, settings.dropdownBackground, settings.checkboxBackground |
|
text.muted |
#A7B3C2 |
#536273 |
input.placeholderForeground |
|
accent.fg |
#9BBFDF |
#285D85 |
inputOption.activeBorder, settings.modifiedItemIndicator, extensionIcon.verifiedForeground |
|
bg.selected |
#263E53 |
#DCE9F4 |
inputOption.activeBackground |
|
text.muted/25 |
#A7B3C240 |
#53627340 |
scrollbarSlider.background, minimapSlider.background |
|
text.muted/40 |
#A7B3C266 |
#53627366 |
scrollbarSlider.hoverBackground, minimapSlider.hoverBackground |
|
text.muted/55 |
#A7B3C28C |
#5362738C |
scrollbarSlider.activeBackground, minimapSlider.activeBackground |
|
warning.fg |
#D8BC87 |
#765319 |
extensionIcon.starForeground |
|
info.fg |
#9BBFDF |
#285D85 |
extensionIcon.preReleaseForeground |
| Workbench chrome: title bar, activity bar, sidebar, tabs, panel, status bar |
bg.surface |
#20252B |
#FAFBFC |
titleBar.activeBackground, titleBar.inactiveBackground, activityBar.background, sideBar.background, sideBarSectionHeader.background, editorGroupHeader.tabsBackground, tab.inactiveBackground, tab.unfocusedInactiveBackground, statusBar.background, statusBar.noFolderBackground, panelSectionHeader.background, notificationCenterHeader.background, quickInputTitle.background, welcomePage.tileBackground, walkThrough.embeddedEditorBackground |
|
bg.canvas |
#191D22 |
#F3F5F7 |
tab.activeBackground, tab.unfocusedActiveBackground, panel.background, welcomePage.background, editorGroup.emptyBackground, commandCenter.background, welcomePage.progress.background, notebook.cellEditorBackground, notebook.editorBackground, minimap.background |
|
text.primary |
#D5DBE3 |
#28313B |
titleBar.activeForeground, activityBar.foreground, tab.activeForeground, tab.hoverForeground, panelTitle.activeForeground, sideBar.foreground, sideBarSectionHeader.foreground, statusBarItem.hoverForeground, statusBarItem.prominentForeground, commandCenter.foreground, menubar.selectionForeground, breadcrumb.focusForeground, breadcrumb.activeSelectionForeground, notificationCenterHeader.foreground, debugView.stateLabelForeground |
|
text.secondary |
#AEB8C4 |
#465463 |
titleBar.inactiveForeground, activityBar.inactiveForeground, tab.inactiveForeground, tab.unfocusedActiveForeground, panelTitle.inactiveForeground, sideBarTitle.foreground, statusBar.foreground, statusBar.noFolderForeground, commandCenter.inactiveForeground, breadcrumb.foreground |
|
text.muted |
#A7B3C2 |
#536273 |
tab.unfocusedInactiveForeground |
|
accent.fg |
#9BBFDF |
#285D85 |
activityBar.activeBorder, tab.activeBorderTop, panelTitle.activeBorder, tab.activeModifiedBorder, panel.dropBorder, activityBar.dropBorder, interactive.activeCodeBorder |
|
border.control |
#8593A5 |
#6C7A89 |
tab.unfocusedActiveBorderTop, tab.lastPinnedBorder, commandCenter.border, commandCenter.activeBorder, notebook.selectedCellBorder, notebook.inactiveSelectedCellBorder, notebook.inactiveFocusedCellBorder |
|
border.subtle |
#3D4652 |
#D2D9E0 |
sideBar.border, activityBar.border, titleBar.border, statusBar.border, statusBar.noFolderBorder, tab.border, panel.border, panelSection.border, sideBarSectionHeader.border, panelSectionHeader.border, editorGroup.border, editorGroupHeader.tabsBorder, editorOverviewRuler.border, terminal.border, commandCenter.inactiveBorder, interactive.inactiveCodeBorder, notebook.cellBorderColor, notebook.cellToolbarSeparator, settings.headerBorder, terminalOverviewRuler.border |
|
focus.ring |
#B0D2F0 |
#285D85 |
activityBar.activeFocusBorder, statusBar.focusBorder, statusBarItem.focusBorder, editorWidget.resizeBorder, notebook.focusedCellBorder, notebook.focusedEditorBorder, settings.focusedRowBorder |
|
bg.hover |
#323A43 |
#E6EBF0 |
tab.hoverBackground, statusBarItem.hoverBackground, statusBarItem.compactHoverBackground, commandCenter.activeBackground, menubar.selectionBackground, welcomePage.tileHoverBackground, settings.rowHoverBackground, notebook.cellHoverBackground, debugView.stateLabelBackground, statusBarItem.prominentHoverBackground |
|
bg.selected |
#263E53 |
#DCE9F4 |
settings.focusedRowBackground, notebook.selectedCellBackground |
|
bg.selected/60 |
#263E5399 |
#DCE9F499 |
statusBarItem.activeBackground |
|
bg.raised |
#292F36 |
#FFFFFF |
statusBarItem.prominentBackground |
|
transparent |
#00000000 |
#00000000 |
menubar.selectionBorder |
|
accent.fill |
#9BBFDF |
#285D85 |
statusBarItem.remoteBackground |
|
accent.on |
#101820 |
#FAFBFC |
statusBarItem.remoteForeground |
|
accent.hover |
#ACCCE7 |
#214F73 |
statusBarItem.remoteHoverBackground |
|
warning.bg |
#3A3225 |
#F4ECD9 |
statusBar.debuggingBackground, statusBarItem.warningBackground, commandCenter.debuggingBackground |
|
warning.fg |
#D8BC87 |
#765319 |
statusBar.debuggingForeground, statusBar.debuggingBorder, statusBarItem.warningForeground |
|
danger.bg |
#382A30 |
#F5E5E7 |
statusBarItem.errorBackground, statusBarItem.offlineBackground |
|
danger.fg |
#E2A0A5 |
#A43F4A |
statusBarItem.errorForeground, statusBarItem.offlineForeground |
|
accent.fg/18 |
#9BBFDF2E |
#285D852E |
notebook.symbolHighlightBackground |
| Floating widgets: hover, suggest, find, menus, quick input, notifications, peek |
bg.raised |
#292F36 |
#FFFFFF |
editorWidget.background, editorHoverWidget.background, editorSuggestWidget.background, editorActionList.background, menu.background, quickInput.background, notifications.background, editorMarkerNavigation.background, debugToolBar.background, listFilterWidget.background, breadcrumbPicker.background, peekViewTitle.background, dropdown.listBackground |
|
bg.surface |
#20252B |
#FAFBFC |
editorHoverWidget.statusBarBackground, peekViewEditor.background, peekViewEditorGutter.background, peekViewResult.background |
|
text.primary |
#D5DBE3 |
#28313B |
editorWidget.foreground, editorHoverWidget.foreground, editorSuggestWidget.foreground, editorSuggestWidget.selectedForeground, editorActionList.foreground, editorActionList.focusForeground, menu.foreground, menu.selectionForeground, quickInput.foreground, quickInputList.focusForeground, notifications.foreground, peekViewTitleLabel.foreground, peekViewResult.fileForeground, peekViewResult.selectionForeground |
|
text.secondary |
#AEB8C4 |
#465463 |
peekViewTitleDescription.foreground, peekViewResult.lineForeground, editorSuggestWidgetStatus.foreground |
|
border.subtle |
#3D4652 |
#D2D9E0 |
editorWidget.border, editorHoverWidget.border, editorSuggestWidget.border, menu.border, menu.separatorBackground, notifications.border, notificationToast.border, notificationCenter.border, pickerGroup.border, debugToolBar.border |
|
border.control |
#8593A5 |
#6C7A89 |
listFilterWidget.outline |
|
accent.fg |
#9BBFDF |
#285D85 |
peekView.border, editorSuggestWidget.highlightForeground, editorSuggestWidget.focusHighlightForeground, editorSuggestWidget.selectedIconForeground, pickerGroup.foreground, quickInputList.focusIconForeground, notificationLink.foreground |
|
bg.selected |
#263E53 |
#DCE9F4 |
editorSuggestWidget.selectedBackground, quickInputList.focusBackground, editorActionList.focusBackground, peekViewResult.selectionBackground |
|
bg.hover |
#323A43 |
#E6EBF0 |
menu.selectionBackground |
| Terminal (ANSI table below) |
text.primary |
#D5DBE3 |
#28313B |
terminal.foreground |
|
bg.canvas |
#191D22 |
#F3F5F7 |
terminal.background, terminalCursor.background |
|
selection.bg |
#3C546B |
#C8DDF0 |
terminal.selectionBackground |
|
selection.fg |
#D5DBE3 |
#28313B |
terminal.selectionForeground |
|
selection.bg/55 |
#3C546B8C |
#C8DDF08C |
terminal.inactiveSelectionBackground |
|
accent.fg |
#9BBFDF |
#285D85 |
terminalCursor.foreground, terminal.tab.activeBorder, terminalOverviewRuler.cursorForeground |
|
text.muted |
#A7B3C2 |
#536273 |
terminal.initialHintForeground, terminalCommandDecoration.defaultBackground |
|
success.fg |
#9FC3AD |
#32664D |
terminalCommandDecoration.successBackground |
|
danger.fg |
#E2A0A5 |
#A43F4A |
terminalCommandDecoration.errorBackground |
|
bg.hover/50 |
#323A4380 |
#E6EBF080 |
terminal.hoverHighlightBackground |
| Debug, testing, notebooks, charts, source control graph |
danger.fg |
#E2A0A5 |
#A43F4A |
debugIcon.breakpointForeground, debugIcon.stopForeground, debugIcon.disconnectForeground, testing.iconFailed, testing.iconErrored, testing.peekBorder, debugExceptionWidget.border, debugView.exceptionLabelForeground, debugTokenExpression.error, debugConsole.errorForeground, notebookStatusErrorIcon.foreground, charts.red, scmGraph.historyItemHoverDeletionsForeground |
|
danger.bg |
#382A30 |
#F5E5E7 |
testing.peekHeaderBackground, debugExceptionWidget.background, debugView.exceptionLabelBackground |
|
success.fg |
#9FC3AD |
#32664D |
debugIcon.startForeground, debugIcon.continueForeground, debugIcon.breakpointStackframeForeground, testing.iconPassed, testing.runAction, ports.iconRunningProcessForeground, notebookStatusSuccessIcon.foreground, scmGraph.historyItemHoverAdditionsForeground |
|
warning.fg |
#D8BC87 |
#765319 |
debugIcon.pauseForeground, debugIcon.breakpointUnverifiedForeground, debugIcon.breakpointCurrentStackframeForeground, testing.iconQueued, debugConsole.warningForeground, notebookStatusRunningIcon.foreground |
|
info.fg |
#9BBFDF |
#285D85 |
debugIcon.stepOverForeground, debugIcon.stepIntoForeground, debugIcon.stepOutForeground, debugIcon.stepBackForeground, debugIcon.restartForeground, debugConsole.infoForeground |
|
text.muted |
#A7B3C2 |
#536273 |
debugIcon.breakpointDisabledForeground, testing.iconUnset, testing.iconSkipped, charts.lines |
|
warning.fg/25 |
#D8BC8740 |
#76531940 |
editor.stackFrameHighlightBackground |
|
success.fg/25 |
#9FC3AD40 |
#32664D40 |
editor.focusedStackFrameHighlightBackground |
|
accent.fg |
#9BBFDF |
#285D85 |
debugView.valueChangedHighlight, debugConsoleInputIcon.foreground, scmGraph.historyItemRefColor |
|
text.primary |
#D5DBE3 |
#28313B |
debugTokenExpression.name |
|
text.secondary |
#AEB8C4 |
#465463 |
debugTokenExpression.value, debugConsole.sourceForeground, charts.foreground |
|
syntax.string |
#9FC3AD |
#32664D |
debugTokenExpression.string |
|
syntax.number |
#B6AED5 |
#68598C |
debugTokenExpression.number |
|
syntax.keyword |
#9BBFDF |
#285D85 |
debugTokenExpression.boolean |
|
data.1 |
#9BBFDF |
#285D85 |
charts.blue, scmGraph.foreground1 |
|
data.2 |
#9FC3AD |
#32664D |
charts.green, scmGraph.foreground2 |
|
data.3 |
#B6AED5 |
#68598C |
charts.purple, scmGraph.foreground3 |
|
data.4 |
#D6AF95 |
#84533D |
charts.orange, scmGraph.foreground4 |
|
data.6 |
#D8BC87 |
#765319 |
charts.yellow |
|
data.5 |
#ABC9CB |
#306770 |
scmGraph.foreground5 |
| Minimap and overview ruler |
selection.bg |
#3C546B |
#C8DDF0 |
minimap.selectionHighlight, editorOverviewRuler.selectionHighlightForeground |
|
selection.bg/80 |
#3C546BCC |
#C8DDF0CC |
minimap.selectionOccurrenceHighlight |
|
accent.fg |
#9BBFDF |
#285D85 |
minimap.findMatchHighlight, editorOverviewRuler.findMatchForeground |
|
accent.fg/60 |
#9BBFDF99 |
#285D8599 |
editorOverviewRuler.wordHighlightForeground, editorOverviewRuler.wordHighlightStrongForeground |
|
bg.selected |
#263E53 |
#DCE9F4 |
editorOverviewRuler.rangeHighlightForeground |
|
border.control |
#8593A5 |
#6C7A89 |
editorOverviewRuler.bracketMatchForeground |
| Symbol icons (by kind, not by rainbow) |
syntax.function |
#ABC9CB |
#306770 |
symbolIcon.functionForeground, symbolIcon.methodForeground, symbolIcon.constructorForeground |
|
syntax.type |
#D6AF95 |
#84533D |
symbolIcon.classForeground, symbolIcon.interfaceForeground, symbolIcon.structForeground, symbolIcon.enumeratorForeground, symbolIcon.typeParameterForeground |
|
syntax.keyword |
#9BBFDF |
#285D85 |
symbolIcon.keywordForeground, symbolIcon.keyForeground |
|
syntax.string |
#9FC3AD |
#32664D |
symbolIcon.stringForeground |
|
syntax.number |
#B6AED5 |
#68598C |
symbolIcon.numberForeground, symbolIcon.booleanForeground, symbolIcon.constantForeground, symbolIcon.enumeratorMemberForeground, symbolIcon.nullForeground, symbolIcon.unitForeground |
|
text.primary |
#D5DBE3 |
#28313B |
symbolIcon.variableForeground, symbolIcon.fieldForeground, symbolIcon.propertyForeground, symbolIcon.operatorForeground |
|
text.secondary |
#AEB8C4 |
#465463 |
symbolIcon.arrayForeground, symbolIcon.eventForeground, symbolIcon.fileForeground, symbolIcon.folderForeground, symbolIcon.moduleForeground, symbolIcon.namespaceForeground, symbolIcon.objectForeground, symbolIcon.packageForeground, symbolIcon.referenceForeground, symbolIcon.snippetForeground, symbolIcon.textForeground |
574 workbench color keys, plus 16 terminal.ansi* keys, per theme.
Terminal ANSI colors
| # |
Key |
Flatcap role |
Slate |
Daylight |
| 0 |
terminal.ansiBlack |
border.subtle (Slate) · text.primary (Daylight) |
#3D4652 · 1.8:1 |
#28313B · 12.1:1 |
| 1 |
terminal.ansiRed |
danger.fg |
#E2A0A5 · 7.9:1 |
#A43F4A · 5.7:1 |
| 2 |
terminal.ansiGreen |
success.fg |
#9FC3AD · 8.8:1 |
#32664D · 6.1:1 |
| 3 |
terminal.ansiYellow |
warning.fg |
#D8BC87 · 9.2:1 |
#765319 · 6.4:1 |
| 4 |
terminal.ansiBlue |
accent.fg |
#9BBFDF · 8.8:1 |
#285D85 · 6.4:1 |
| 5 |
terminal.ansiMagenta |
syntax.number |
#B6AED5 · 8.1:1 |
#68598C · 5.7:1 |
| 6 |
terminal.ansiCyan |
syntax.function |
#ABC9CB · 9.6:1 |
#306770 · 5.8:1 |
| 7 |
terminal.ansiWhite |
text.secondary |
#AEB8C4 · 8.4:1 |
#465463 · 7.1:1 |
| 8 |
terminal.ansiBrightBlack |
text.muted |
#A7B3C2 · 8.0:1 |
#536273 · 5.7:1 |
| 9 |
terminal.ansiBrightRed |
danger.fg |
#E2A0A5 · 7.9:1 |
#A43F4A · 5.7:1 |
| 10 |
terminal.ansiBrightGreen |
success.fg |
#9FC3AD · 8.8:1 |
#32664D · 6.1:1 |
| 11 |
terminal.ansiBrightYellow |
warning.fg |
#D8BC87 · 9.2:1 |
#765319 · 6.4:1 |
| 12 |
terminal.ansiBrightBlue |
accent.hover |
#ACCCE7 · 10.1:1 |
#214F73 · 7.9:1 |
| 13 |
terminal.ansiBrightMagenta |
syntax.number |
#B6AED5 · 8.1:1 |
#68598C · 5.7:1 |
| 14 |
terminal.ansiBrightCyan |
syntax.function |
#ABC9CB · 9.6:1 |
#306770 · 5.8:1 |
| 15 |
terminal.ansiBrightWhite |
text.primary (Slate) · bg.raised (Daylight) |
#D5DBE3 · 12.2:1 |
#FFFFFF · 1.1:1 |
Contrast report
| Check |
Pairs |
Lowest Slate |
Lowest Daylight |
Target |
Result |
| Editor |
1 |
12.15:1 |
12.06:1 |
7:1 |
met |
| Syntax on canvas |
7 |
7.96:1 |
5.66:1 |
5:1 |
met |
| Text over editor overlays (lowest of text + 6 syntax roles) |
13 |
3.69:1 |
4.43:1 |
0/4.5/5:1 |
met |
| Selection pair |
1 |
5.64:1 |
9.45:1 |
4.5:1 |
met |
| Gutter and hints |
6 |
5.74:1 |
5.71:1 |
5/7:1 |
met |
| Diagnostics |
11 |
5.17:1 |
5.02:1 |
4.5/5:1 |
met |
| Feedback pairs |
3 |
5.75:1 |
5.09:1 |
4.5:1 |
met |
| Workbench text |
30 |
5.75:1 |
5.68:1 |
4.5/5/7:1 |
met |
| Filled actions (accent.on) |
7 |
8.27:1 |
6.77:1 |
4.5:1 |
met |
| Functional boundaries |
18 |
1.39:1 |
1.19:1 |
1/3:1 |
met |
| Terminal |
7 |
3.67:1 |
4.43:1 |
0/3/4.5/5/7:1 |
met |
Syntax scopes
| Element |
Role |
Scopes |
Slate |
Daylight |
| Comments |
syntax.comment |
comment, punctuation.definition.comment, comment keyword, comment storage, comment variable, comment entity, comment punctuation, comment markup |
#A7B3C2 |
#536273 |
| Keywords and storage |
syntax.keyword |
keyword, keyword.control, storage, storage.type, storage.modifier, keyword.operator.new, keyword.operator.expression, keyword.operator.wordlike, keyword.operator.logical.python, keyword.operator.delete, keyword.operator.typeof, keyword.operator.instanceof, keyword.operator.sizeof, variable.language, entity.name.tag, entity.name.section, keyword.other.definition.ini |
#9BBFDF |
#285D85 |
| Operators |
text.primary |
keyword.operator |
#D5DBE3 |
#28313B |
| Punctuation: separators and accessors |
text.secondary |
punctuation.separator, punctuation.terminator, punctuation.accessor, punctuation.definition.tag, meta.delimiter |
#AEB8C4 |
#465463 |
| Strings |
syntax.string |
string, punctuation.definition.string, storage.type.string, markup.inline.raw, markup.raw.inline, string.regexp |
#9FC3AD |
#32664D |
| Interpolated code |
text.primary |
meta.template.expression, meta.interpolation, punctuation.definition.template-expression, punctuation.section.embedded |
#D5DBE3 |
#28313B |
| Numbers, literals and constants |
syntax.number |
constant, constant.numeric, constant.language, constant.character, constant.character.escape, constant.other.placeholder, constant.other.color, support.constant, variable.other.enummember, keyword.other.unit, string.regexp constant.character.escape |
#B6AED5 |
#68598C |
| CSS values stay neutral |
text.primary |
support.constant.property-value, support.constant.font-name, support.constant.media, support.constant.vendored.property-value |
#D5DBE3 |
#28313B |
| Functions, methods, macros, decorators |
syntax.function |
entity.name.function, support.function, variable.function, meta.function-call.generic, entity.name.function.macro, entity.name.command, support.function.magic, meta.decorator, entity.name.function.decorator, punctuation.decorator, meta.annotation, storage.type.annotation, punctuation.definition.annotation, entity.other.pseudo-class, entity.other.pseudo-element, entity.name.function.preprocessor, meta.preprocessor |
#ABC9CB |
#306770 |
| Types, classes, interfaces, primitives, lifetimes |
syntax.type |
entity.name.type, entity.name.class, entity.name.struct, entity.name.enum, entity.name.interface, entity.name.trait, entity.other.inherited-class, support.type, support.class, support.class.component, storage.type.primitive, storage.type.built-in, storage.type.core, storage.type.numeric, storage.type.string.go, storage.type.boolean, storage.type.byte, storage.type.rune, storage.type.error, storage.type.generic, storage.modifier.lifetime, entity.name.lifetime, entity.name.type.anchor, entity.other.attribute-name, entity.other.attribute-name.class.css, entity.other.attribute-name.id.css, markup.fenced_code.block.markdown fenced_code.block.language |
#D6AF95 |
#84533D |
| Namespaces, modules and properties stay neutral |
text.primary |
entity.name.namespace, entity.name.module, entity.name.package, support.type.property-name, support.type.vendored.property-name, variable.css, variable.argument.css |
#D5DBE3 |
#28313B |
| Structured data keys |
syntax.keyword |
support.type.property-name.json, support.type.property-name.toml, entity.name.tag.yaml, support.type.property-name.yaml |
#9BBFDF |
#285D85 |
| Markdown headings (bold) |
syntax.keyword |
markup.heading, markup.heading entity.name, punctuation.definition.heading, markdown.heading, beginning.punctuation.definition.heading |
#9BBFDF |
#285D85 |
| Markdown emphasis (bold) |
text.primary |
markup.bold, punctuation.definition.bold |
#D5DBE3 |
#28313B |
| Markdown italic (italic) |
text.primary |
markup.italic, punctuation.definition.italic |
#D5DBE3 |
#28313B |
| Markdown strikethrough (strikethrough) |
text.secondary |
markup.strikethrough |
#AEB8C4 |
#465463 |
| Markdown links |
accent.fg |
string.other.link.title, string.other.link.description, markup.underline.link.image |
#9BBFDF |
#285D85 |
| Markdown URLs |
text.muted |
markup.underline.link, string.other.link.destination |
#A7B3C2 |
#536273 |
| Markdown list markers |
syntax.keyword |
punctuation.definition.list.begin, beginning.punctuation.definition.list, markup.list punctuation.definition |
#9BBFDF |
#285D85 |
| Markdown quotes and rules |
text.secondary |
markup.quote, punctuation.definition.quote, meta.separator |
#AEB8C4 |
#465463 |
| Diff |
success.fg |
markup.inserted, punctuation.definition.inserted, meta.diff.header.to-file, punctuation.definition.to-file.diff |
#9FC3AD |
#32664D |
| Diff removed |
danger.fg |
markup.deleted, punctuation.definition.deleted, meta.diff.header.from-file, punctuation.definition.from-file.diff |
#E2A0A5 |
#A43F4A |
| Diff changed |
warning.fg |
markup.changed, punctuation.definition.changed |
#D8BC87 |
#765319 |
| Diff hunks and headers |
syntax.function |
meta.diff.range, meta.diff.index, meta.diff.header.git |
#ABC9CB |
#306770 |
| Invalid (underline) |
danger.fg |
invalid, invalid.illegal |
#E2A0A5 |
#A43F4A |
| Deprecated (strikethrough) |
text.muted |
invalid.deprecated, markup.strikethrough.deprecated |
#A7B3C2 |
#536273 |
Semantic tokens use the same roles:
| Semantic token |
Role |
namespace |
text.primary |
type |
syntax.type |
class |
syntax.type |
enum |
syntax.type |
interface |
syntax.type |
struct |
syntax.type |
typeParameter |
syntax.type |
builtinType |
syntax.type |
lifetime |
syntax.type |
function |
syntax.function |
method |
syntax.function |
macro |
syntax.function |
decorator |
syntax.function |
keyword |
syntax.keyword |
selfKeyword |
syntax.keyword |
selfTypeKeyword |
syntax.keyword |
string |
syntax.string |
regexp |
syntax.string |
number |
syntax.number |
boolean |
syntax.number |
enumMember |
syntax.number |
comment |
syntax.comment |
variable |
text.primary |
parameter |
text.primary |
property |
text.primary |
operator |
text.primary |
*.deprecated |
(strikethrough) |
Development
python3 scripts/build.py --sync # copy theme.json from ../00-Flatcap
python3 scripts/build.py # regenerate themes, package.json fields, README blocks
python3 scripts/build.py --check # fail if generated files are stale or contrast misses its target
python3 scripts/build.py --contrast # print the contrast report
Do not edit themes/*.json by hand.
Distributed under the MIT License.
| |