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.dropBackground
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
button.secondaryBackground
button.secondaryForeground
button.secondaryHoverBackground
chart.axis
chart.line
chart.shadow
charts.blue
charts.foreground
charts.green
charts.lines
charts.orange
charts.purple
charts.red
charts.yellow
checkbox.background
checkbox.border
checkbox.foreground
commandCenter.activeBackground
commandCenter.activeBorder
commandCenter.activeForeground
commandCenter.background
commandCenter.border
commandCenter.foreground
commandCenter.inactiveBorder
commandCenter.inactiveForeground
contrastActiveBorder
contrastBorder
debugExceptionWidget.background
debugExceptionWidget.border
debugIcon.continueForeground
debugIcon.disconnectForeground
debugIcon.pauseForeground
debugIcon.startForeground
debugIcon.stepIntoForeground
debugIcon.stepOutForeground
debugIcon.stepOverForeground
debugIcon.stopForeground
debugTokenExpression.boolean
debugTokenExpression.error
debugTokenExpression.name
debugTokenExpression.number
debugTokenExpression.string
debugTokenExpression.value
debugToolBar.background
debugToolBar.border
debugViewExceptionLabel.background
debugViewExceptionLabel.foreground
debugViewStateLabel.background
debugViewStateLabel.foreground
descriptionForeground
diffEditor.border
diffEditor.insertedLineBackground
diffEditor.insertedTextBackground
diffEditor.removedLineBackground
diffEditor.removedTextBackground
diffEditorGutter.insertedLineBackground
diffEditorGutter.removedLineBackground
diffEditorOverview.insertedForeground
diffEditorOverview.removedForeground
dropdown.background
dropdown.border
dropdown.foreground
editor.background
editor.findMatchBackground
editor.findMatchHighlightBackground
editor.findRangeHighlightBackground
editor.foreground
editor.inactiveSelectionBackground
editor.lineHighlightBackground
editor.selectionBackground
editor.selectionHighlightBackground
editor.wordHighlightBackground
editor.wordHighlightStrongBackground
editorBracketHighlight.foreground1
editorBracketHighlight.foreground2
editorBracketHighlight.foreground3
editorBracketHighlight.foreground4
editorBracketHighlight.foreground5
editorBracketHighlight.foreground6
editorBracketMatch.background
editorBracketMatch.border
editorCodeLens.foreground
editorCursor.background
editorCursor.foreground
editorError.foreground
editorGroup.border
editorGroup.dropBackground
editorGroup.emptyBackground
editorGroup.focusedEmptyBorder
editorGroupHeader.noTabsBackground
editorGroupHeader.tabsBackground
editorGroupHeader.tabsBorder
editorGutter.addedBackground
editorGutter.background
editorGutter.commentRangeForeground
editorGutter.deletedBackground
editorGutter.modifiedBackground
editorHint.foreground
editorHoverWidget.background
editorHoverWidget.border
editorHoverWidget.foreground
editorIndentGuide.activeBackground
editorIndentGuide.background
editorInfo.foreground
editorLineNumber.activeForeground
editorLineNumber.foreground
editorLink.activeForeground
editorMarkerNavigation.background
editorMarkerNavigationError.background
editorMarkerNavigationInfo.background
editorMarkerNavigationWarning.background
editorOverviewRuler.addedForeground
editorOverviewRuler.background
editorOverviewRuler.border
editorOverviewRuler.deletedForeground
editorOverviewRuler.errorForeground
editorOverviewRuler.findMatchForeground
editorOverviewRuler.infoForeground
editorOverviewRuler.modifiedForeground
editorOverviewRuler.warningForeground
editorPane.background
editorRangeHighlight.background
editorRuler.foreground
editorStickyScroll.background
editorStickyScrollHover.background
editorSuggestWidget.background
editorSuggestWidget.border
editorSuggestWidget.foreground
editorSuggestWidget.highlightForeground
editorSuggestWidget.selectedBackground
editorUnicodeHighlight.background
editorUnicodeHighlight.border
editorWarning.foreground
editorWhitespace.foreground
editorWidget.background
editorWidget.border
editorWidget.foreground
errorForeground
extensionBadge.remoteBackground
extensionBadge.remoteForeground
extensionButton.background
extensionButton.foreground
extensionButton.prominentBackground
extensionButton.prominentForeground
extensionButton.prominentHoverBackground
extensionIcon.preReleaseForeground
extensionIcon.sponsorForeground
extensionIcon.starForeground
extensionIcon.verifiedForeground
focusBorder
gitDecoration.addedResourceForeground
gitDecoration.conflictingResourceForeground
gitDecoration.copiedResourceForeground
gitDecoration.deletedResourceForeground
gitDecoration.ignoredResourceForeground
gitDecoration.modifiedResourceForeground
gitDecoration.renamedResourceForeground
gitDecoration.stageDeletedResourceForeground
gitDecoration.stageModifiedResourceForeground
gitDecoration.submoduleResourceForeground
gitDecoration.untrackedResourceForeground
hoverHighlightBackground
imagePreview.border
infoForeground
inlineChat.background
inlineChat.border
inlineChat.foreground
inlineChatDiff.inserted
inlineChatDiff.removed
inlineChatInput.background
inlineChatInput.border
inlineChatInput.focusBorder
inlineChatInput.placeholderForeground
inlineChatShadow
input.background
input.border
input.foreground
input.placeholderForeground
inputOption.activeBackground
inputOption.activeBorder
inputOption.activeForeground
inputValidation.errorBackground
inputValidation.errorBorder
inputValidation.infoBackground
inputValidation.infoBorder
inputValidation.warningBackground
inputValidation.warningBorder
interactive.activeCodeBorder
interactive.inactiveCodeBorder
keybindingLabel.background
keybindingLabel.border
keybindingLabel.bottomBorder
keybindingLabel.foreground
list.activeSelectionBackground
list.activeSelectionForeground
list.deemphasizedForeground
list.dropBackground
list.errorForeground
list.filterMatchBackground
list.focusAndSelectionOutline
list.focusBackground
list.focusForeground
list.focusOutline
list.highlightForeground
list.hoverBackground
list.hoverForeground
list.inactiveFocusOutline
list.inactiveSelectionBackground
list.inactiveSelectionForeground
list.invalidItemForeground
list.warningForeground
listFilterWidget.background
listFilterWidget.noMatchesOutline
listFilterWidget.outline
listFilterWidget.shadow
menu.background
menu.border
menu.foreground
menu.selectionBackground
menu.selectionForeground
menu.separatorBackground
menubar.selectionBackground
menubar.selectionForeground
merge.commonHeaderBackground
merge.currentHeaderBackground
merge.incomingHeaderBackground
minimap.background
minimap.errorHighlight
minimap.findMatchHighlight
minimap.selectionHighlight
minimap.warningHighlight
minimapSlider.activeBackground
minimapSlider.background
minimapSlider.hoverBackground
notebook.cellBorderColor
notebook.cellHoverBackground
notebook.cellInsertionIndicator
notebook.cellStatusBarItemHoverBackground
notebook.cellToolbarSeparator
notebook.editorBackground
notebook.focusedCellBackground
notebook.focusedCellBorder
notebook.focusedEditorBorder
notebook.inactiveFocusedCellBorder
notebook.outputContainerBackgroundColor
notebook.outputContainerBorderColor
notebook.selectedCellBackground
notebook.selectedCellBorder
notebook.symbolHighlightBackground
notebookScrollbarSlider.activeBackground
notebookScrollbarSlider.background
notebookScrollbarSlider.hoverBackground
notebookStatusErrorIcon.foreground
notebookStatusRunningIcon.foreground
notebookStatusSuccessIcon.foreground
notificationCenter.border
notificationCenterHeader.background
notificationCenterHeader.foreground
notificationErrorBackground
notificationInfoBackground
notificationLink.foreground
notifications.background
notifications.border
notifications.foreground
notificationToast.border
notificationWarningBackground
panel.background
panel.border
panel.foreground
panelInput.border
panelSection.border
panelSection.dropBackground
panelSectionHeader.background
panelSectionHeader.foreground
panelTitle.activeForeground
panelTitle.border
panelTitle.inactiveForeground
peekView.border
peekViewEditor.background
peekViewEditor.matchHighlightBackground
peekViewEditorGutter.background
peekViewResult.background
peekViewResult.fileForeground
peekViewResult.lineForeground
peekViewResult.matchHighlightBackground
peekViewResult.selectionBackground
peekViewResult.selectionForeground
peekViewTitle.background
peekViewTitle.description.foreground
peekViewTitleLabel.foreground
pickerGroup.border
pickerGroup.foreground
ports.iconRunningProcessForeground
progressBar.background
quickInput.background
quickInput.foreground
quickInputList.focusBackground
sash.hoverBorder
scrollbar.shadow
scrollbarSlider.activeBackground
scrollbarSlider.background
scrollbarSlider.hoverBackground
settings.checkboxBackground
settings.checkboxBorder
settings.checkboxForeground
settings.dropdownBackground
settings.dropdownBorder
settings.dropdownForeground
settings.focusedRowBackground
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.dropBackground
sideBar.foreground
sideBarSectionHeader.background
sideBarSectionHeader.border
sideBarSectionHeader.foreground
sideBarStickyScroll.background
sideBarTitle.foreground
simpleFindWidget.sashBorder
statusBar.background
statusBar.border
statusBar.debuggingBackground
statusBar.debuggingForeground
statusBar.focusBorder
statusBar.foreground
statusBar.noFolderBackground
statusBarItem.errorBackground
statusBarItem.errorForeground
statusBarItem.prominentBackground
statusBarItem.prominentHoverBackground
statusBarItem.remoteBackground
statusBarItem.remoteForeground
statusBarItem.warningBackground
statusBarItem.warningForeground
tab.activeBackground
tab.activeBorder
tab.activeBorderTop
tab.activeForeground
tab.activeModifiedBorder
tab.border
tab.hoverBackground
tab.hoverBorder
tab.hoverForeground
tab.inactiveBackground
tab.inactiveForeground
tab.inactiveModifiedBorder
tab.lastPinnedBorder
tab.unfocusedActiveBackground
tab.unfocusedActiveForeground
tab.unfocusedInactiveBackground
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.foreground
terminal.selectionBackground
terminal.tab.activeBorder
terminalCommandGuide.foreground
terminalCursor.background
terminalCursor.foreground
testing.iconErrored
testing.iconFailed
testing.iconPassed
testing.iconQueued
testing.iconSkipped
testing.iconUnset
testing.peekBorder
testing.runAction
textBlockQuote.background
textBlockQuote.border
textCodeBlock.background
textLink.activeForeground
textLink.foreground
textPreformat.foreground
textSeparator.foreground
titleBar.activeBackground
titleBar.activeForeground
titleBar.border
titleBar.inactiveBackground
titleBar.inactiveForeground
tree.indentGuidesStroke
tree.tableColumnsBorder
tree.tableOddRowsBackground
walkThrough.overlay.background
warningForeground
welcomePage.background
welcomePage.progress.background
welcomePage.progress.foreground
welcomePage.tileBackground
welcomePage.tileBorder
welcomePage.tileHoverBackground
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}!`;}