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
breadcrumb.activeSelectionForeground
breadcrumb.background
breadcrumb.focusForeground
breadcrumb.foreground
breadcrumbPicker.background
button.background
button.foreground
button.hoverBackground
charts.blue
charts.foreground
charts.green
charts.lines
charts.orange
charts.purple
charts.red
charts.yellow
checkbox.background
checkbox.border
checkbox.foreground
checkbox.selectBackground
checkbox.selectBorder
commandCenter.activeBackground
commandCenter.activeBorder
commandCenter.activeForeground
commandCenter.background
commandCenter.border
commandCenter.foreground
commandCenter.inactiveBorder
commandCenter.inactiveForeground
debugExceptionWidget.background
debugExceptionWidget.border
debugToolBar.background
debugToolBar.border
descriptionForeground
diffEditor.diagonalFill
diffEditor.insertedLineBackground
diffEditor.insertedTextBackground
diffEditor.removedLineBackground
diffEditor.removedTextBackground
diffEditorGutter.insertedLineBackground
diffEditorGutter.removedLineBackground
diffEditorOverview.insertedForeground
diffEditorOverview.removedForeground
disabledForeground
dropdown.background
dropdown.border
dropdown.foreground
dropdown.listBackground
editor.background
editor.findMatchBackground
editor.findMatchHighlightBackground
editor.findRangeHighlightBackground
editor.foreground
editor.hoverHighlightBackground
editor.inactiveSelectionBackground
editor.lineHighlightBackground
editor.lineHighlightBorder
editor.rangeHighlightBackground
editor.selectionBackground
editor.selectionForeground
editor.selectionHighlightBackground
editor.wordHighlightBackground
editor.wordHighlightStrongBackground
editorBracketMatch.background
editorCodeLens.foreground
editorCursor.background
editorCursor.foreground
editorError.foreground
editorGroup.border
editorGroup.dropBackground
editorGroup.emptyBackground
editorGroup.focusedEmptyBorder
editorGroupHeader.border
editorGroupHeader.noTabsBackground
editorGroupHeader.tabsBackground
editorGroupHeader.tabsBorder
editorGutter.addedBackground
editorGutter.background
editorGutter.deletedBackground
editorGutter.foldingControlForeground
editorGutter.modifiedBackground
editorHint.foreground
editorHoverWidget.background
editorHoverWidget.border
editorHoverWidget.foreground
editorIndentGuide.activeBackground
editorIndentGuide.background
editorInfo.foreground
editorInlayHint.background
editorInlayHint.foreground
editorLineNumber.activeForeground
editorLineNumber.foreground
editorLink.activeForeground
editorMarkerNavigation.background
editorMarkerNavigationError.background
editorMarkerNavigationError.headerBackground
editorMarkerNavigationInfo.background
editorMarkerNavigationInfo.headerBackground
editorMarkerNavigationWarning.background
editorMarkerNavigationWarning.headerBackground
editorOverviewRuler.addedForeground
editorOverviewRuler.background
editorOverviewRuler.border
editorOverviewRuler.commonContentForeground
editorOverviewRuler.currentContentForeground
editorOverviewRuler.deletedForeground
editorOverviewRuler.errorForeground
editorOverviewRuler.findMatchForeground
editorOverviewRuler.incomingContentForeground
editorOverviewRuler.infoForeground
editorOverviewRuler.modifiedForeground
editorOverviewRuler.rangeHighlightForeground
editorOverviewRuler.selectionHighlightForeground
editorOverviewRuler.warningForeground
editorOverviewRuler.wordHighlightForeground
editorOverviewRuler.wordHighlightStrongForeground
editorPane.background
editorRuler.foreground
editorSuggestWidget.background
editorSuggestWidget.border
editorSuggestWidget.focusHighlightForeground
editorSuggestWidget.foreground
editorSuggestWidget.highlightForeground
editorSuggestWidget.selectedBackground
editorSuggestWidget.selectedForeground
editorUnnecessaryCode.opacity
editorWarning.foreground
editorWhitespace.foreground
editorWidget.background
editorWidget.border
editorWidget.foreground
editorWidget.resizeBorder
errorForeground
extensionButton.background
extensionButton.foreground
extensionIcon.preReleaseForeground
extensionIcon.sponsorForeground
extensionIcon.starForeground
extensionIcon.verifiedForeground
focusBorder
foreground
gitDecoration.addedResourceForeground
gitDecoration.conflictingResourceForeground
gitDecoration.deletedResourceForeground
gitDecoration.ignoredResourceForeground
gitDecoration.modifiedResourceForeground
gitDecoration.renamedResourceForeground
gitDecoration.stageDeletedResourceForeground
gitDecoration.stageModifiedResourceForeground
gitDecoration.submoduleResourceForeground
gitDecoration.untrackedResourceForeground
icon.foreground
input.background
input.border
input.foreground
input.placeholderForeground
inputOption.activeBackground
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.foreground
keybindingTable.headerBackground
keybindingTable.rowsBackground
list.activeSelectionBackground
list.activeSelectionForeground
list.dropBackground
list.errorForeground
list.filterMatchBackground
list.focusBackground
list.highlightForeground
list.hoverBackground
list.inactiveFocusBackground
list.inactiveSelectionBackground
list.invalidItemForeground
list.warningForeground
listFilterWidget.background
listFilterWidget.noMatchesOutline
listFilterWidget.outline
listFilterWidget.shadow
menu.background
menu.border
menu.foreground
menu.selectionBackground
menu.selectionBorder
menubar.selectionBackground
menubar.selectionBorder
merge.commonContentBackground
merge.commonHeaderBackground
merge.currentContentBackground
merge.currentHeaderBackground
merge.incomingContentBackground
merge.incomingHeaderBackground
mergeEditor.change.background
mergeEditor.change.word.background
mergeEditor.conflict.handledFocused.border
mergeEditor.conflict.handledUnfocused.border
mergeEditor.conflict.input1.background
mergeEditor.conflict.input2.background
mergeEditor.conflict.unhandledFocused.border
mergeEditor.conflict.unhandledUnfocused.border
minimap.background
minimap.errorHighlight
minimap.findMatchHighlight
minimap.selectionHighlight
minimap.selectionOccurrenceHighlight
minimap.warningHighlight
minimapGutter.addedBackground
minimapGutter.deletedBackground
minimapGutter.modifiedBackground
notificationCenter.border
notificationCenterHeader.background
notificationCenterHeader.foreground
notificationLink.foreground
notifications.background
notifications.foreground
notificationsErrorIcon.foreground
notificationsInfoIcon.foreground
notificationsWarningIcon.foreground
notificationToast.border
panel.background
panel.border
panel.dropBorder
panelInput.border
panelSection.border
panelSection.dropBackground
panelSectionHeader.background
panelSectionHeader.border
panelSectionHeader.foreground
panelTitle.activeBorder
panelTitle.activeForeground
panelTitle.inactiveForeground
peekView.border
peekViewEditor.background
peekViewEditor.matchHighlightBackground
peekViewEditorGutter.background
peekViewResult.background
peekViewResult.fileForeground
peekViewResult.lineForeground
peekViewResult.matchHighlightBackground
peekViewResult.selectionBackground
peekViewResult.selectionForeground
peekViewTitle.background
peekViewTitleDescription.foreground
peekViewTitleLabel.foreground
pickerGroup.border
pickerGroup.foreground
progressBar.background
quickInput.background
quickInput.foreground
quickInputList.focusBackground
quickInputList.focusForeground
quickInputList.focusIconForeground
quickInputTitle.background
sash.hoverBorder
scm.providerBorder
scrollbar.shadow
selection.background
settings.modifiedItemIndicator
sideBar.background
sideBar.border
sideBar.dropBackground
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.compactHoverBackground
statusBarItem.errorBackground
statusBarItem.errorForeground
statusBarItem.focusBorder
statusBarItem.hoverBackground
statusBarItem.prominentBackground
statusBarItem.prominentForeground
statusBarItem.prominentHoverBackground
statusBarItem.remoteBackground
statusBarItem.remoteForeground
statusBarItem.warningBackground
statusBarItem.warningForeground
tab.activeBackground
tab.activeBorderTop
tab.activeForeground
tab.border
tab.inactiveBackground
tab.inactiveForeground
tab.unfocusedActiveBackground
tab.unfocusedActiveBorder
tab.unfocusedActiveForeground
tab.unfocusedHoverBackground
tab.unfocusedInactiveForeground
terminal.ansiBlack
terminal.ansiBlue
terminal.ansiBrightBlack
terminal.ansiBrightBlue
terminal.ansiBrightCyan
terminal.ansiBrightGreen
terminal.ansiBrightMagenta
terminal.ansiBrightRed
terminal.ansiBrightWhite
terminal.ansiBrightYellow
terminal.ansiCyan
terminal.ansiGreen
terminal.ansiMagenta
terminal.ansiRed
terminal.ansiWhite
terminal.ansiYellow
terminal.background
terminal.border
terminal.dropBackground
terminal.findMatchBackground
terminal.findMatchHighlightBackground
terminal.foreground
terminal.selectionBackground
terminalCursor.background
terminalCursor.foreground
textBlockQuote.background
textBlockQuote.border
textCodeBlock.background
textLink.activeForeground
textLink.foreground
textPreformat.foreground
textSeparator.foreground
titleBar.activeBackground
titleBar.activeForeground
titleBar.border
titleBar.inactiveBackground
titleBar.inactiveForeground
toolbar.hoverBackground
tree.indentGuidesStroke
welcomePage.background
welcomePage.progress.background
welcomePage.progress.foreground
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}!`;}