Full workbench mockup using this variant's colors and tokenColors.
Loading...
colors
Workbench UI color keys from the theme JSON colors map.
key
HEX
RGB
RGBA
activityBar.activeBackground
activityBar.activeBorder
activityBar.activeFocusBorder
activityBar.background
activityBar.border
activityBar.dropBorder
activityBar.foreground
activityBar.inactiveForeground
activityBarBadge.background
activityBarBadge.foreground
badge.background
badge.foreground
banner.background
banner.foreground
banner.iconForeground
breadcrumb.activeSelectionForeground
breadcrumb.background
breadcrumb.focusForeground
breadcrumb.foreground
breadcrumbPicker.background
button.background
button.border
button.foreground
button.hoverBackground
button.secondaryBackground
button.secondaryForeground
button.secondaryHoverBackground
button.separator
checkbox.background
checkbox.border
checkbox.foreground
commandCenter.activeBackground
commandCenter.activeBorder
commandCenter.activeForeground
commandCenter.border
commandCenter.foreground
commandCenter.inactiveBorder
contrastActiveBorder
contrastBorder
debugExceptionWidget.background
debugExceptionWidget.border
debugTokenExpression.value
debugToolBar.background
debugView.exceptionLabelForeground
debugView.stateLabelForeground
debugView.valueChangedHighlight
descriptionForeground
diffEditor.border
diffEditor.diagonalFill
diffEditor.insertedLineBackground
diffEditor.insertedTextBackground
diffEditor.insertedTextBorder
diffEditor.removedLineBackground
diffEditor.removedTextBackground
diffEditor.removedTextBorder
diffEditorGutter.insertedLineBackground
diffEditorGutter.removedLineBackground
diffEditorOverview.insertedForeground
diffEditorOverview.removedForeground
disabledForeground
dropdown.background
dropdown.border
dropdown.foreground
dropdown.listBackground
editor.background
editor.findMatchBorder
editor.findMatchHighlightBorder
editor.findRangeHighlightBackground
editor.foldBackground
editor.foreground
editor.hoverHighlightBackground
editor.inactiveSelectionBackground
editor.lineHighlightBackground
editor.lineHighlightBorder
editor.rangeHighlightBackground
editor.rangeHighlightBorder
editor.selectionBackground
editor.selectionHighlightBackground
editor.selectionHighlightBorder
editor.symbolHighlightBorder
editor.wordHighlightBackground
editor.wordHighlightBorder
editor.wordHighlightStrongBackground
editor.wordHighlightStrongBorder
editorBracketMatch.background
editorBracketMatch.border
editorCodeLens.foreground
editorCursor.background
editorCursor.foreground
editorError.foreground
editorGhostText.background
editorGhostText.border
editorGhostText.foreground
editorGroup.border
editorGroup.dropIntoPromptBackground
editorGroup.dropIntoPromptBorder
editorGroup.dropIntoPromptForeground
editorGroup.emptyBackground
editorGroup.focusedEmptyBorder
editorGroupHeader.border
editorGroupHeader.noTabsBackground
editorGroupHeader.tabsBackground
editorGroupHeader.tabsBorder
editorGutter.background
editorGutter.foldingControlForeground
editorHoverWidget.background
editorHoverWidget.border
editorHoverWidget.foreground
editorHoverWidget.highlightForeground
editorHoverWidget.statusBarBackground
editorIndentGuide.activeBackground1
editorIndentGuide.activeBackground2
editorIndentGuide.activeBackground3
editorIndentGuide.activeBackground4
editorIndentGuide.activeBackground5
editorIndentGuide.activeBackground6
editorIndentGuide.background1
editorIndentGuide.background2
editorIndentGuide.background3
editorIndentGuide.background4
editorIndentGuide.background5
editorIndentGuide.background6
editorInfo.foreground
editorInlayHint.background
editorInlayHint.foreground
editorInlayHint.parameterBackground
editorInlayHint.parameterForeground
editorInlayHint.typeBackground
editorInlayHint.typeForeground
editorLineNumber.activeForeground
editorLineNumber.dimmedForeground
editorLineNumber.foreground
editorLink.activeForeground
editorMarkerNavigation.background
editorMarkerNavigationError.background
editorMarkerNavigationError.headerBackground
editorMarkerNavigationInfo.background
editorMarkerNavigationInfo.headerBackground
editorMarkerNavigationWarning.background
editorMarkerNavigationWarning.headerBackground
editorOverviewRuler.background
editorOverviewRuler.border
editorOverviewRuler.errorForeground
editorOverviewRuler.infoForeground
editorPane.background
editorRuler.foreground
editorStickyScroll.background
editorStickyScrollHover.background
editorSuggestWidget.background
editorSuggestWidget.border
editorSuggestWidget.focusHighlightForeground
editorSuggestWidget.foreground
editorSuggestWidget.highlightForeground
editorSuggestWidget.selectedBackground
editorSuggestWidget.selectedForeground
editorSuggestWidget.selectedIconForeground
editorUnicodeHighlight.background
editorUnicodeHighlight.border
editorUnnecessaryCode.opacity
editorWarning.foreground
editorWhitespace.foreground
editorWidget.background
editorWidget.border
editorWidget.foreground
editorWidget.resizeBorder
errorForeground
extensionBadge.remoteBackground
extensionBadge.remoteForeground
extensionButton.background
extensionButton.foreground
extensionButton.hoverBackground
extensionButton.prominentBackground
extensionButton.prominentForeground
extensionButton.prominentHoverBackground
extensionButton.separator
focusBorder
foreground
icon.foreground
input.background
input.border
input.foreground
input.placeholderForeground
inputOption.activeBackground
inputOption.activeBorder
inputOption.activeForeground
inputOption.hoverBackground
inputValidation.errorBackground
inputValidation.errorBorder
inputValidation.errorForeground
inputValidation.infoBackground
inputValidation.infoBorder
inputValidation.infoForeground
inputValidation.warningBackground
inputValidation.warningBorder
inputValidation.warningForeground
keybindingLabel.background
keybindingLabel.border
keybindingLabel.bottomBorder
keybindingLabel.foreground
keybindingTable.headerBackground
keybindingTable.rowsBackground
list.activeSelectionBackground
list.activeSelectionForeground
list.activeSelectionIconForeground
list.dropBackground
list.errorForeground
list.filterMatchBorder
list.focusAndSelectionOutline
list.focusBackground
list.focusForeground
list.focusOutline
list.hoverBackground
list.hoverForeground
list.inactiveFocusBackground
list.inactiveFocusOutline
list.inactiveSelectionBackground
list.inactiveSelectionForeground
list.warningForeground
listFilterWidget.background
listFilterWidget.shadow
menu.background
menu.border
menu.foreground
menu.selectionBackground
menu.selectionBorder
menu.selectionForeground
menu.separatorBackground
menubar.selectionBackground
menubar.selectionBorder
menubar.selectionForeground
minimap.background
minimap.errorHighlight
minimap.foregroundOpacity
minimap.warningHighlight
notebook.cellBorderColor
notebook.cellEditorBackground
notebook.cellHoverBackground
notebook.cellInsertionIndicator
notebook.cellStatusBarItemHoverBackground
notebook.cellToolbarSeparator
notebook.editorBackground
notebook.focusedCellBackground
notebook.focusedCellBorder
notebook.focusedEditorBorder
notebook.inactiveFocusedCellBorder
notebook.outputContainerBackgroundColor
notebook.outputContainerBorderColor
notebookScrollbarSlider.activeBackground
notebookScrollbarSlider.background
notebookScrollbarSlider.hoverBackground
notebookStatusErrorIcon.foreground
notebookStatusRunningIcon.foreground
notebookStatusSuccessIcon.foreground
notificationCenter.border
notificationCenterHeader.background
notificationCenterHeader.foreground
notifications.background
notifications.border
notifications.foreground
notificationsErrorIcon.foreground
notificationsInfoIcon.foreground
notificationsWarningIcon.foreground
notificationToast.border
panel.background
panel.border
panel.dropBorder
panelSection.border
panelSectionHeader.background
panelSectionHeader.foreground
panelTitle.activeBorder
panelTitle.activeForeground
panelTitle.inactiveForeground
peekView.border
peekViewEditor.background
peekViewEditor.matchHighlightBorder
peekViewEditorGutter.background
peekViewResult.background
peekViewResult.fileForeground
peekViewResult.lineForeground
peekViewResult.selectionBackground
peekViewResult.selectionForeground
peekViewTitle.background
peekViewTitleDescription.foreground
peekViewTitleLabel.foreground
pickerGroup.border
pickerGroup.foreground
problemsErrorIcon.foreground
problemsInfoIcon.foreground
problemsWarningIcon.foreground
profileBadge.background
profileBadge.foreground
progressBar.background
quickInput.background
quickInput.foreground
quickInputList.focusBackground
quickInputList.focusForeground
quickInputList.focusIconForeground
quickInputTitle.background
sash.hoverBorder
scrollbar.shadow
scrollbarSlider.activeBackground
scrollbarSlider.background
scrollbarSlider.hoverBackground
searchEditor.textInputBorder
selection.background
settings.checkboxBackground
settings.checkboxBorder
settings.checkboxForeground
settings.dropdownBackground
settings.dropdownForeground
settings.dropdownListBorder
settings.focusedRowBackground
settings.focusedRowBorder
settings.headerBorder
settings.headerForeground
settings.modifiedItemIndicator
settings.numberInputBackground
settings.numberInputBorder
settings.numberInputForeground
settings.rowHoverBackground
settings.sashBorder
settings.textInputBackground
settings.textInputBorder
settings.textInputForeground
sideBar.background
sideBar.border
sideBar.foreground
sideBarSectionHeader.background
sideBarSectionHeader.border
sideBarSectionHeader.foreground
sideBarTitle.foreground
statusBar.background
statusBar.border
statusBar.debuggingBackground
statusBar.debuggingBorder
statusBar.debuggingForeground
statusBar.focusBorder
statusBar.foreground
statusBar.noFolderBackground
statusBar.noFolderBorder
statusBar.noFolderForeground
statusBarItem.activeBackground
statusBarItem.errorForeground
statusBarItem.focusBorder
statusBarItem.hoverBackground
statusBarItem.remoteBackground
statusBarItem.remoteForeground
statusBarItem.warningForeground
tab.activeBackground
tab.activeBorder
tab.activeBorderTop
tab.activeForeground
tab.activeModifiedBorder
tab.border
tab.hoverBackground
tab.inactiveBackground
tab.inactiveForeground
tab.inactiveModifiedBorder
tab.lastPinnedBorder
tab.unfocusedActiveBackground
tab.unfocusedActiveBorder
tab.unfocusedActiveBorderTop
tab.unfocusedActiveForeground
tab.unfocusedActiveModifiedBorder
tab.unfocusedHoverBackground
tab.unfocusedInactiveBackground
tab.unfocusedInactiveForeground
tab.unfocusedInactiveModifiedBorder
terminal.background
terminal.border
terminal.foreground
terminal.selectionBackground
terminal.tab.activeBorder
terminalCommandDecoration.defaultBackground
terminalCommandDecoration.errorBackground
terminalCommandDecoration.successBackground
terminalCursor.background
terminalCursor.foreground
terminalOverviewRuler.cursorForeground
testing.iconErrored
testing.iconFailed
testing.iconPassed
testing.iconQueued
testing.iconSkipped
testing.iconUnset
testing.message.error.decorationForeground
testing.message.error.lineBackground
testing.message.info.decorationForeground
testing.message.info.lineBackground
testing.peekHeaderBackground
testing.runAction
textLink.activeForeground
textLink.foreground
titleBar.activeBackground
titleBar.activeForeground
titleBar.inactiveBackground
titleBar.inactiveForeground
toolbar.activeBackground
toolbar.hoverBackground
toolbar.hoverOutline
tree.inactiveIndentGuidesStroke
tree.indentGuidesStroke
walkthrough.stepTitle.foreground
welcomePage.background
welcomePage.progress.background
welcomePage.progress.foreground
welcomePage.tileBackground
welcomePage.tileBorder
welcomePage.tileHoverBackground
widget.shadow
window.activeBorder
window.inactiveBorder
tokenColors
Foregrounds this theme assigns to the token scope catalog. A rule with only a font style is skipped, and a longer matching scope wins. Italic and bold rules are not listed — the preview above shows them in the code.
export interface User { id: string; name: string; role: "admin" | "member"; tags: string[];}/** * Fetch user data by ID * @param id * @returns User object or null if ID is invalid */export async function fetchUser(id: string): Promise<User | null> { if (!id) { return null; } const response = await fetch(`/api/users/${id}`, { method: "GET", headers: { Accept: "application/json" }, }); if (!response.ok) { throw new Error(`HTTP ${response.status}`); } return (await response.json()) as User;}function greet(user: User): string { // Simple greeting function that uses the user's name return `Hello, ${user.name}!`;}