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
actionBar.toggledBackground
activityBar.activeBorder
activityBar.background
activityBar.border
activityBar.foreground
activityBar.inactiveForeground
activityBarBadge.background
activityBarBadge.foreground
badge.background
badge.foreground
button.background
button.border
button.foreground
button.hoverBackground
button.secondaryBackground
button.secondaryForeground
button.secondaryHoverBackground
button.separator
chat.editedFileForeground
chat.slashCommandBackground
chat.slashCommandForeground
checkbox.background
checkbox.border
debugIcon.breakpointForeground
debugToolBar.background
descriptionForeground
diffEditor.insertedLineBackground
diffEditor.insertedTextBackground
diffEditor.removedLineBackground
diffEditor.removedTextBackground
disabledForeground
dropdown.background
dropdown.border
dropdown.foreground
dropdown.listBackground
editor.background
editor.findMatchBackground
editor.findMatchHighlightBackground
editor.foreground
editor.hoverHighlightBackground
editor.inactiveSelectionBackground
editor.lineHighlightBackground
editor.selectionBackground
editor.selectionHighlightBackground
editorBracketMatch.background
editorBracketMatch.border
editorBracketPairGuide.background1
editorBracketPairGuide.background2
editorBracketPairGuide.background3
editorBracketPairGuide.background4
editorBracketPairGuide.background5
editorBracketPairGuide.background6
editorCursor.foreground
editorGroup.border
editorGroupHeader.tabsBackground
editorGroupHeader.tabsBorder
editorGutter.addedBackground
editorGutter.deletedBackground
editorGutter.modifiedBackground
editorIndentGuide.activeBackground1
editorIndentGuide.background1
editorLineNumber.activeForeground
editorLineNumber.foreground
editorLink.activeForeground
editorOverviewRuler.border
editorStickyScrollHover.background
editorUnnecessaryCode.opacity
editorWidget.background
errorForeground
focusBorder
foreground
icon.foreground
icube--bg-bg-brand
icube--bg-bg-brand-disabled
icube--bg-bg-brand-hover
icube--bg-bg-menu
icube--border-border-brand
icube--border-border-contrast
icube--icon-icon-brand
icube--icon-icon-brand-hover
icube--icon-icon-onaccent
icube--icon-icon-onbrand
icube--special-bgtabsoverlay
icube--text-text-brand
icube--text-text-brand-hover
icube--text-text-onaccent
icube--text-text-onbrand
icube.ai.disableInputBorderColor
icube.blendColor.btnHover.bg2
icube.blendColor.btnTransparent3.bg2
icube.colorAlert
icube.colorAlertActive
icube.colorAlertHover
icube.colorAlertTransparent
icube.colorAlertTransparent2
icube.colorAlertTransparent3
icube.colorBg1
icube.colorBg2
icube.colorBg3
icube.colorBg4
icube.colorBg5
icube.colorBgCode
icube.colorBgTr0
icube.colorBlack
icube.colorBlackText
icube.colorBlackText1
icube.colorBlend
icube.colorBrand
icube.colorBrandActive
icube.colorBrandHover
icube.colorBrandTransparent
icube.colorBrandTransparent2
icube.colorBrandTransparent3
icube.colorBtnHover
icube.colorBtnHover2
icube.colorBtnTransparent3
icube.colorC1
icube.colorC2
icube.colorC3
icube.colorC4
icube.colorC5
icube.colorC6
icube.colorC7
icube.colorC8
icube.colorC9
icube.colorChatError
icube.colorDefaultAvatar
icube.colorDefaultAvatarBackground
icube.colorDefaultText
icube.colorDiffBtn1
icube.colorDiffToggleBtnBg
icube.colorDisableText
icube.colorError
icube.colorErrorActive
icube.colorErrorHover
icube.colorErrorTm1
icube.colorErrorTransparent
icube.colorErrorTransparent2
icube.colorErrorTransparent3
icube.colorGrayText
icube.colorGrayText2
icube.colorGreen1
icube.colorHighlightText
icube.colorIcon
icube.colorLine1
icube.colorLine2
icube.colorLine3
icube.colorRed1
icube.colorRed2
icube.colorRed3
icube.colorSnow
icube.colorSpinLoading
icube.colorStatusRegular
icube.colorStatusRegularActive
icube.colorStatusRegularHover
icube.colorStatusRegularTransparent
icube.colorStatusRegularTransparent2
icube.colorStatusRegularTransparent3
icube.colorSuccess
icube.colorSuccessActive
icube.colorSuccessHover
icube.colorSuccessTransparent
icube.colorSuccessTransparent2
icube.colorSuccessTransparent3
icube.colorTransparent
icube.colorWarning
icube.colorWarningActive
icube.colorWarningHover
icube.colorWarningTransparent
icube.colorWarningTransparent2
icube.colorWarningTransparent3
icube.colorWidgetShadow
icube.colorWidgetShadow2
icube.desktopEmptyWorkspaceHoverBg
icube.desktopEmptyWorkspaceIconBg
icube.diffColorBg3
icube.diffInsertedTextBackground
icube.emptyExplorerButtonBgColor
icube.emptyExplorerButtonTextColor
icube.emptyExplorerSplitColor
icube.emptyExplorerSplitTextColor
icube.lite.colorBg1
icube.lite.colorBg2
icube.lite.colorLine1
icube.primaryButtonForeground
icube.scrollbarBgColor
icube.scrollbarHoverBgColor
icube.textPreformatBackground
icube.tooltipsTextColor
input.background
input.border
input.foreground
input.placeholderForeground
inputOption.activeBackground
inputOption.activeBorder
inputValidation.errorBorder
inputValidation.warningBorder
keybindingLabel.foreground
list.activeSelectionBackground
list.activeSelectionForeground
list.activeSelectionIconForeground
list.dropBackground
list.errorForeground
list.highlightForeground
list.hoverBackground
list.inactiveSelectionBackground
list.inactiveSelectionForeground
listFilterWidget.background
menu.background
menu.border
menu.foreground
menu.selectionBackground
menu.selectionForeground
menu.separatorBackground
notificationCenterHeader.background
notificationCenterHeader.foreground
notifications.background
notifications.border
notifications.foreground
notificationsErrorIcon.foreground
notificationsInfoIcon.foreground
notificationsWarningIcon.foreground
panel.background
panel.border
panelInput.border
panelSectionHeader.border
panelSectionHeader.foreground
panelTitle.activeBorder
panelTitle.activeForeground
panelTitle.inactiveForeground
peekViewEditor.background
peekViewEditor.matchHighlightBackground
peekViewResult.background
peekViewResult.matchHighlightBackground
pickerGroup.border
pickerGroup.foreground
ports.iconRunningProcessForeground
progressBar.background
quickInput.background
quickInput.foreground
quickInputList.focusBackground
quickInputTitle.background
sash.hoverBorder
search.resultsInfoForeground
settings.dropdownBackground
settings.dropdownBorder
settings.headerBorder
settings.headerForeground
settings.modifiedItemIndicator
sideBar.background
sideBar.border
sideBar.foreground
sideBarSectionHeader.background
sideBarSectionHeader.border
sideBarSectionHeader.foreground
sideBarTitle.foreground
statusBar.background
statusBar.border
statusBar.debuggingBackground
statusBar.debuggingForeground
statusBar.focusBorder
statusBar.foreground
statusBar.noFolderBackground
statusBarItem.focusBorder
statusBarItem.hoverBackground
statusBarItem.hoverForeground
statusBarItem.prominentBackground
statusBarItem.remoteBackground
statusBarItem.remoteForeground
tab.activeBackground
tab.activeBorder
tab.activeBorderTop
tab.activeForeground
tab.border
tab.hoverBackground
tab.inactiveBackground
tab.inactiveForeground
tab.lastPinnedBorder
tab.selectedBackground
tab.selectedBorderTop
tab.selectedForeground
tab.unfocusedActiveBorder
tab.unfocusedActiveBorderTop
tab.unfocusedActiveForeground
tab.unfocusedHoverBackground
terminal.foreground
terminal.inactiveSelectionBackground
terminal.tab.activeBorder
textBlockQuote.background
textBlockQuote.border
textCodeBlock.background
textLink.activeForeground
textLink.foreground
textPreformat.background
textPreformat.foreground
textSeparator.foreground
titleBar.activeBackground
titleBar.activeForeground
titleBar.border
titleBar.inactiveBackground
titleBar.inactiveForeground
toolbar.activeBackground
toolbar.hoverBackground
tree.inactiveIndentGuidesStroke
tree.indentGuidesStroke
welcomePage.progress.foreground
welcomePage.tileBackground
widget.border
widget.light.shadow1
widget.light.shadow2
widget.shadow
widget.shadow1
widget.shadow2
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}!`;}