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.activeBorder
activityBar.activeFocusBorder
activityBar.background
activityBar.dropBorder
activityBar.foreground
activityBar.inactiveForeground
activityBarBadge.background
activityBarBadge.foreground
activityBarTop.activeBorder
activityBarTop.background
activityBarTop.dropBorder
activityBarTop.foreground
activityBarTop.inactiveForeground
activityErrorBadge.foreground
activityWarningBadge.foreground
badge.background
badge.foreground
breadcrumb.activeSelectionForeground
breadcrumb.background
breadcrumb.focusForeground
breadcrumb.foreground
button.background
button.foreground
button.hoverBackground
button.secondaryBackground
button.secondaryForeground
button.secondaryHoverBackground
button.separator
chart.axis
chart.guide
chat.avatarBackground
chat.requestBorder
checkbox.background
checkbox.border
checkbox.foreground
checkbox.selectBackground
checkbox.selectBorder
commandCenter.activeBackground
commandCenter.activeBorder
commandCenter.activeForeground
commandCenter.background
commandCenter.border
commandCenter.debuggingBackground
commandCenter.foreground
commandCenter.inactiveBorder
commandCenter.inactiveForeground
dart.flutterUiGuides
debugTokenExpression.value
debugToolBar.background
debugView.stateLabelBackground
descriptionForeground
diffEditor.diagonalFill
diffEditor.move.border
disabledForeground
dropdown.background
dropdown.border
dropdown.foreground
editor.background
editor.compositionBorder
editor.findMatchBackground
editor.findMatchHighlightBackground
editor.findMatchHighlightBorder
editor.findRangeHighlightBackground
editor.foldBackground
editor.foldPlaceholderForeground
editor.foreground
editor.hoverHighlightBackground
editor.inactiveSelectionBackground
editor.lineHighlightBackground
editor.placeholder.foreground
editor.selectionBackground
editor.selectionHighlightBackground
editor.snippetFinalTabstopHighlightBorder
editor.snippetTabstopHighlightBackground
editor.wordHighlightBackground
editor.wordHighlightStrongBackground
editorBracketHighlight.foreground1
editorBracketHighlight.foreground2
editorBracketHighlight.foreground3
editorBracketHighlight.foreground4
editorBracketHighlight.foreground5
editorBracketHighlight.foreground6
editorBracketMatch.border
editorCodeLens.foreground
editorCommentsWidget.replyInputBackground
editorCursor.foreground
editorGhostText.foreground
editorGroup.border
editorGroup.dropBackground
editorGroup.dropIntoPromptBackground
editorGroup.dropIntoPromptBorder
editorGroup.dropIntoPromptForeground
editorGroup.emptyBackground
editorGroup.focusedEmptyBorder
editorGroupHeader.noTabsBackground
editorGroupHeader.tabsBackground
editorHint.foreground
editorHoverWidget.background
editorHoverWidget.border
editorHoverWidget.foreground
editorHoverWidget.highlightForeground
editorHoverWidget.statusBarBackground
editorIndentGuide.activeBackground1
editorIndentGuide.background1
editorInlayHint.background
editorInlayHint.foreground
editorInlayHint.parameterBackground
editorInlayHint.parameterForeground
editorLineNumber.activeForeground
editorLineNumber.foreground
editorLink.activeForeground
editorOverviewRuler.border
editorOverviewRuler.bracketMatchForeground
editorRuler.foreground
editorStickyScrollHover.background
editorSuggestWidget.focusHighlightForeground
editorWatermark.foreground
editorWhitespace.foreground
editorWidget.background
editorWidget.border
editorWidget.foreground
editorWidget.resizeBorder
focusBorder
foreground
gitDecoration.ignoredResourceForeground
icon.foreground
inlineChatInput.placeholderForeground
input.background
input.border
input.foreground
inputOption.activeBackground
inputOption.activeBorder
inputOption.activeForeground
inputOption.hoverBackground
keybindingLabel.background
keybindingLabel.border
keybindingLabel.bottomBorder
keybindingLabel.foreground
keybindingTable.headerBackground
keybindingTable.rowsBackground
list.activeSelectionBackground
list.activeSelectionForeground
list.activeSelectionIconForeground
list.deemphasizedForeground
list.dropBackground
list.dropBetweenBackground
list.highlightForeground
list.hoverBackground
list.inactiveSelectionBackground
menu.background
menu.border
menu.foreground
menu.selectionBackground
menu.selectionForeground
menu.separatorBackground
menubar.selectionBackground
menubar.selectionForeground
minimap.chatEditHighlight
minimap.selectionHighlight
minimap.selectionOccurrenceHighlight
minimap.warningHighlight
minimapSlider.activeBackground
minimapSlider.background
minimapSlider.hoverBackground
multiDiffEditor.headerBackground
notebook.cellBorderColor
notebook.cellEditorBackground
notebook.cellStatusBarItemHoverBackground
notebook.cellToolbarSeparator
notebook.focusedCellBorder
notebook.focusedEditorBorder
notebook.inactiveFocusedCellBorder
notebook.symbolHighlightBackground
notificationCenterHeader.background
notifications.background
notifications.border
panel.border
panelSectionHeader.background
panelSectionHeader.foreground
panelTitle.activeForeground
panelTitle.inactiveForeground
peekView.border
peekViewEditor.background
peekViewEditor.matchHighlightBackground
peekViewEditor.matchHighlightBorder
peekViewEditorGutter.background
peekViewEditorStickyScroll.background
peekViewResult.background
peekViewResult.fileForeground
peekViewResult.lineForeground
peekViewResult.matchHighlightBackground
peekViewResult.selectionBackground
peekViewResult.selectionForeground
peekViewTitle.background
peekViewTitleDescription.foreground
peekViewTitleLabel.foreground
pickerGroup.border
pickerGroup.foreground
profileBadge.background
profileBadge.foreground
progressBar.background
quickInput.background
quickInput.foreground
quickInputList.focusBackground
quickInputList.focusForeground
quickInputTitle.background
radio.inactiveBorder
sash.hoverBorder
scrollbar.shadow
scrollbarSlider.activeBackground
scrollbarSlider.background
scrollbarSlider.hoverBackground
search.resultsInfoForeground
searchEditor.findMatchBackground
searchEditor.findMatchBorder
selection.background
settings.checkboxBackground
settings.checkboxBorder
settings.checkboxForeground
settings.dropdownBackground
settings.dropdownBorder
settings.dropdownForeground
settings.dropdownListBorder
settings.focusedRowBackground
settings.focusedRowBorder
settings.headerBorder
settings.headerForeground
settings.modifiedItemIndicator
settings.rowHoverBackground
settings.sashBorder
settings.settingsHeaderHoverForeground
sideBar.background
sideBar.border
sideBar.dropBackground
sideBar.foreground
sideBarSectionHeader.background
sideBySideEditor.horizontalBorder
sideBySideEditor.verticalBorder
simpleFindWidget.sashBorder
statusBar.background
statusBar.debuggingBackground
statusBar.debuggingForeground
statusBar.focusBorder
statusBar.foreground
statusBar.noFolderBackground
statusBar.noFolderForeground
statusBarItem.activeBackground
statusBarItem.compactHoverBackground
statusBarItem.errorBackground
statusBarItem.errorForeground
statusBarItem.errorHoverBackground
statusBarItem.errorHoverForeground
statusBarItem.focusBorder
statusBarItem.hoverBackground
statusBarItem.hoverForeground
statusBarItem.offlineBackground
statusBarItem.offlineForeground
statusBarItem.offlineHoverBackground
statusBarItem.prominentBackground
statusBarItem.prominentHoverBackground
statusBarItem.remoteBackground
statusBarItem.remoteForeground
statusBarItem.remoteHoverBackground
statusBarItem.remoteHoverForeground
statusBarItem.warningBackground
statusBarItem.warningForeground
statusBarItem.warningHoverBackground
symbolIcon.arrayForeground
symbolIcon.booleanForeground
symbolIcon.classForeground
symbolIcon.constantForeground
symbolIcon.constructorForeground
symbolIcon.enumeratorForeground
symbolIcon.enumeratorMemberForeground
symbolIcon.eventForeground
symbolIcon.fieldForeground
symbolIcon.functionForeground
symbolIcon.interfaceForeground
symbolIcon.keyForeground
symbolIcon.keywordForeground
symbolIcon.methodForeground
symbolIcon.moduleForeground
symbolIcon.namespaceForeground
symbolIcon.nullForeground
symbolIcon.numberForeground
symbolIcon.objectForeground
symbolIcon.operatorForeground
symbolIcon.packageForeground
symbolIcon.propertyForeground
symbolIcon.snippetForeground
symbolIcon.stringForeground
symbolIcon.structForeground
symbolIcon.textForeground
symbolIcon.typeParameterForeground
symbolIcon.unitForeground
symbolIcon.variableForeground
tab.activeBackground
tab.activeBorder
tab.activeForeground
tab.activeModifiedBorder
tab.border
tab.inactiveBackground
tab.inactiveForeground
tab.selectedBackground
tab.unfocusedActiveBackground
tab.unfocusedActiveForeground
tab.unfocusedHoverBackground
tab.unfocusedInactiveBackground
tab.unfocusedInactiveForeground
terminal.findMatchBackground
terminal.foreground
terminal.hoverHighlightBackground
terminal.inactiveSelectionBackground
terminal.selectionBackground
terminal.tab.activeBorder
terminalCommandDecoration.defaultBackground
terminalCursor.foreground
terminalOverviewRuler.cursorForeground
terminalStickyScrollHover.background
textBlockQuote.background
textBlockQuote.border
textCodeBlock.background
textLink.activeForeground
textLink.foreground
textPreformat.background
textPreformat.foreground
textSeparator.foreground
titleBar.activeBackground
titleBar.activeForeground
titleBar.inactiveBackground
titleBar.inactiveForeground
toolbar.activeBackground
toolbar.hoverBackground
tree.inactiveIndentGuidesStroke
tree.indentGuidesStroke
tree.tableColumnsBorder
tree.tableOddRowsBackground
walkThrough.embeddedEditorBackground
walkthrough.stepTitle.foreground
widget.shadow
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}!`;}