Skip to main content
Coding Theme

Color themes

VS Code preview

Full workbench mockup using this variant's colors and tokenColors.

src
components
fetchUser.ts
User
tags
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}!`;
}
WSL
1 1
main*
Copilot
Ln 5, Col 12
Spaces: 2
UTF-8
LF
TypeScript
Flux Dawn

colors

Workbench UI color keys from the theme JSON colors map.

keyHEXRGBRGBA
activeSessionView.background
activeSessionView.foreground
activityBar.activeBackground
activityBar.activeBorder
activityBar.background
activityBar.border
activityBar.dropBorder
activityBar.foreground
activityBar.inactiveForeground
activityBarBadge.background
activityBarBadge.foreground
activityBarTop.activeBorder
activityBarTop.dropBorder
activityErrorBadge.background
activityErrorBadge.foreground
activityWarningBadge.background
activityWarningBadge.foreground
agentFeedbackEditorWidget.background
agentFeedbackEditorWidget.border
agentFeedbackInputWidget.border
agents.background
agentsBadge.background
agentsBottomPanel.border
agentsCard.border
agentsChatInput.background
agentsChatInput.border
agentsChatInput.focusBorder
agentsChatInput.foreground
agentsChatInput.placeholderForeground
agentSessionReadIndicator.foreground
agentSessionSelectedBadge.border
agentSessionSelectedUnfocusedBadge.border
agentsGradient.tintColor
agentsMobileDiff.addedForeground
agentsMobileDiff.deletedForeground
agentsMobileDiff.modifiedForeground
agentsNewSessionButton.background
agentsNewSessionButton.hoverBackground
agentsPanel.background
agentsPanel.border
agentsPanel.foreground
agentStatusIndicator.background
agentsUnreadBadge.background
agentsUpdateButton.downloadedBackground
agentsUpdateButton.downloadingBackground
agentsVoice.speakingBackground
agentsVoice.speakingForeground
aiCustomizationManagement.sashBorder
badge.background
badge.foreground
banner.background
banner.foreground
banner.iconForeground
breadcrumb.activeSelectionForeground
breadcrumb.background
breadcrumb.focusForeground
breadcrumb.foreground
breadcrumbPicker.background
browser.border
button.background
button.border
button.foreground
button.hoverBackground
button.secondaryBackground
button.secondaryBorder
button.secondaryForeground
button.secondaryHoverBackground
chart.axis
chart.guide
chart.line
chat.avatarBackground
chat.avatarForeground
chat.checkpointSeparator
chat.dictationActiveMicGlow
chat.editedFileForeground
chat.findMatchBackground
chat.findMatchHighlightBackground
chat.inputWorkingBorderColor1
chat.linesAddedForeground
chat.linesRemovedForeground
chat.requestBackground
chat.requestBorder
chat.requestBubbleBackground
chat.requestBubbleHoverBackground
chat.requestCodeBorder
chat.sessionStateIndicator.inProgressBorder
chat.sessionStateIndicator.needsInputBorder
chat.sessionStateIndicator.unvisitedBorder
chat.slashCommandForeground
chat.statusBackground
chat.thinkingShimmer
chat.voiceGlowBaseColor
chatManagement.sashBorder
checkbox.background
checkbox.border
checkbox.disabled.background
checkbox.disabled.foreground
checkbox.foreground
commandCenter.activeBackground
commandCenter.activeForeground
commandCenter.background
commandCenter.border
commandCenter.foreground
contrastActiveBorder
contrastBorder
debugToolBar.background
debugToolBar.border
descriptionForeground
diffEditor.border
diffEditor.insertedTextBorder
diffEditor.removedTextBorder
diffEditorGutter.insertedLineBackground
diffEditorGutter.removedLineBackground
disabledForeground
dropdown.background
dropdown.border
dropdown.foreground
dropdown.listBackground
editor.background
editor.border
editor.compositionBorder
editor.findMatchBackground
editor.findMatchBorder
editor.findMatchHighlightBackground
editor.findMatchHighlightBorder
editor.findRangeHighlightBackground
editor.findRangeHighlightBorder
editor.foldBackground
editor.foldPlaceholderForeground
editor.foreground
editor.hoverHighlightBackground
editor.inactiveLineHighlightBackground
editor.inactiveSelectionBackground
editor.lineHighlightBackground
editor.lineHighlightBorder
editor.linkedEditingBackground
editor.rangeHighlightBackground
editor.rangeHighlightBorder
editor.selectionBackground
editor.selectionHighlightBackground
editor.selectionHighlightBorder
editor.symbolHighlightBackground
editor.symbolHighlightBorder
editor.wordHighlightBackground
editor.wordHighlightBorder
editor.wordHighlightStrongBackground
editor.wordHighlightStrongBorder
editorActionList.background
editorActionList.focusBackground
editorActionList.focusForeground
editorActionList.foreground
editorBracketHighlight.foreground1
editorBracketHighlight.foreground2
editorBracketHighlight.foreground3
editorBracketHighlight.foreground4
editorBracketHighlight.foreground5
editorBracketHighlight.foreground6
editorBracketHighlight.unexpectedBracket.foreground
editorBracketMatch.background
editorBracketMatch.border
editorBracketMatch.foreground
editorBracketPairGuide.activeBackground1
editorBracketPairGuide.activeBackground2
editorBracketPairGuide.activeBackground3
editorBracketPairGuide.activeBackground4
editorBracketPairGuide.activeBackground5
editorBracketPairGuide.activeBackground6
editorBracketPairGuide.background1
editorBracketPairGuide.background2
editorBracketPairGuide.background3
editorBracketPairGuide.background4
editorBracketPairGuide.background5
editorBracketPairGuide.background6
editorCommentsWidget.rangeActiveBackground
editorCommentsWidget.rangeBackground
editorCommentsWidget.replyInputBackground
editorCommentsWidget.resolvedBorder
editorCommentsWidget.unresolvedBorder
editorCursor.foreground
editorError.background
editorError.border
editorError.foreground
editorGroup.border
editorGroup.dropBackground
editorGroupHeader.border
editorGroupHeader.tabsBackground
editorGroupHeader.tabsBorder
editorGutter.addedBackground
editorGutter.addedSecondaryBackground
editorGutter.background
editorGutter.commentDraftGlyphForeground
editorGutter.commentGlyphForeground
editorGutter.commentRangeForeground
editorGutter.commentUnresolvedGlyphForeground
editorGutter.deletedBackground
editorGutter.deletedSecondaryBackground
editorGutter.foldingControlForeground
editorGutter.itemBackground
editorGutter.itemGlyphForeground
editorGutter.modifiedBackground
editorGutter.modifiedSecondaryBackground
editorHint.border
editorHint.foreground
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.background
editorInfo.border
editorInfo.foreground
editorInlayHint.background
editorInlayHint.foreground
editorInlayHint.parameterBackground
editorInlayHint.parameterForeground
editorInlayHint.typeBackground
editorInlayHint.typeForeground
editorLightBulb.foreground
editorLightBulbAi.foreground
editorLightBulbAutoFix.foreground
editorLineNumber.activeForeground
editorLineNumber.foreground
editorMinimap.inlineChatInserted
editorOverviewRuler.agentFeedbackForeground
editorOverviewRuler.background
editorOverviewRuler.border
editorOverviewRuler.commentDraftForeground
editorRuler.foreground
editorStickyScroll.border
editorStickyScroll.shadow
editorSuggestWidget.focusHighlightForeground
editorSuggestWidget.focusOutline
editorUnnecessaryCode.border
editorUnnecessaryCode.opacity
editorWarning.background
editorWarning.border
editorWarning.foreground
editorWhitespace.foreground
editorWidget.background
editorWidget.border
editorWidget.resizeBorder
errorForeground
extensionButton.border
extensionIcon.privateForeground
focusBorder
foreground
gauge.background
gauge.border
gauge.errorBackground
gauge.errorForeground
gauge.foreground
gauge.warningBackground
gauge.warningForeground
git.blame.editorDecorationForeground
gitDecoration.addedResourceForeground
gitDecoration.conflictingResourceForeground
gitDecoration.deletedResourceForeground
gitDecoration.ignoredResourceForeground
gitDecoration.modifiedResourceForeground
gitDecoration.renamedResourceForeground
gitDecoration.stageDeletedResourceForeground
gitDecoration.stageModifiedResourceForeground
gitDecoration.untrackedResourceForeground
icon.foreground
icon.inactiveForeground
inactiveSessionView.background
inactiveSessionView.foreground
inlineEdit.gutterIndicator.background
inlineEdit.gutterIndicator.primaryBackground
inlineEdit.gutterIndicator.primaryBorder
inlineEdit.gutterIndicator.primaryForeground
inlineEdit.gutterIndicator.secondaryBackground
inlineEdit.gutterIndicator.secondaryBorder
inlineEdit.gutterIndicator.secondaryForeground
inlineEdit.gutterIndicator.successfulBackground
inlineEdit.gutterIndicator.successfulBorder
inlineEdit.gutterIndicator.successfulForeground
inlineEdit.modifiedBackground
inlineEdit.modifiedBorder
inlineEdit.modifiedChangedLineBackground
inlineEdit.modifiedChangedTextBackground
inlineEdit.originalBackground
inlineEdit.originalBorder
inlineEdit.originalChangedLineBackground
inlineEdit.originalChangedTextBackground
inlineEdit.tabWillAcceptModifiedBorder
inlineEdit.tabWillAcceptOriginalBorder
input.background
input.border
input.foreground
input.placeholderForeground
inputOption.activeBackground
inputOption.activeBorder
inputValidation.errorBorder
inputValidation.infoBorder
inputValidation.warningBorder
list.activeSelectionBackground
list.activeSelectionForeground
list.activeSelectionIconForeground
list.deemphasizedForeground
list.dropBackground
list.focusBackground
list.focusForeground
list.hoverBackground
list.hoverForeground
list.inactiveFocusBackground
list.inactiveFocusOutline
list.inactiveSelectionBackground
list.inactiveSelectionForeground
list.inactiveSelectionIconForeground
markdownAlert.caution.foreground
markdownAlert.important.foreground
markdownAlert.note.foreground
markdownAlert.tip.foreground
markdownAlert.warning.foreground
mcpIcon.starForeground
menu.selectionBackground
menu.selectionBorder
menubar.selectionBorder
merge.border
minimap.chatEditHighlight
minimap.findMatchHighlight
modernActivityBar.background
modernActivityBar.inactiveBackground
modernActivityBarItem.activeBackground
modernActivityBarItem.activeForeground
modernActivityBarItem.hoverBackground
modernActivityBarItem.hoverForeground
modernEditorTab.activeActionBackground
modernEditorTab.activeBackground
modernEditorTab.activeForeground
modernEditorTab.activeHoverActionBackground
modernEditorTab.activeHoverBackground
modernEditorTab.hoverActionBackground
modernEditorTab.hoverBackground
modernEditorTab.hoverForeground
modernEditorTab.inactiveBackground
modernEditorTab.selectedActionBackground
modernPanel.border
modernSash.gripForeground
modernTab.activeBackground
modernTab.activeForeground
modernTab.hoverBackground
modernTab.hoverForeground
modernUI.inactiveShellBackground
modernUI.shellBackground
notificationCenterHeader.background
notificationCenterHeader.foreground
notificationLink.foreground
notifications.background
notifications.border
notifications.foreground
notificationsErrorIcon.foreground
notificationsInfoIcon.foreground
notificationsWarningIcon.foreground
notificationToast.border
panel.background
panel.border
panelInput.border
panelSection.dropBackground
panelSectionHeader.background
panelTitle.activeBorder
panelTitle.activeForeground
panelTitle.border
panelTitle.inactiveForeground
panelTitleBadge.background
panelTitleBadge.foreground
peekViewEditorStickyScrollGutter.background
peekViewResult.matchHighlightBackground
peekViewResult.selectionBackground
pickerGroup.border
pickerGroup.foreground
problemsErrorIcon.foreground
problemsInfoIcon.foreground
problemsWarningIcon.foreground
progressBar.background
quickInput.background
quickInput.foreground
quickInputList.focusHighlightForeground
radio.activeBackground
radio.activeBorder
radio.activeForeground
radio.inactiveBackground
radio.inactiveBorder
radio.inactiveForeground
radio.inactiveHoverBackground
scmGraph.foreground1
scmGraph.foreground2
scmGraph.foreground3
scmGraph.foreground4
scmGraph.foreground5
scmGraph.historyItemBaseRefColor
scmGraph.historyItemHoverAdditionsForeground
scmGraph.historyItemHoverDefaultLabelBackground
scmGraph.historyItemHoverDefaultLabelForeground
scmGraph.historyItemHoverDeletionsForeground
scmGraph.historyItemHoverLabelForeground
scmGraph.historyItemRefColor
scmGraph.historyItemRemoteRefColor
scrollbar.background
scrollbar.shadow
scrollbarSlider.activeBackground
scrollbarSlider.background
scrollbarSlider.hoverBackground
settings.focusedRowBackground
settings.headerForeground
settings.modifiedItemIndicator
settings.rowHoverBackground
sideBar.background
sideBar.border
sideBar.dropBackground
sideBar.foreground
sideBarActivityBarTop.border
sideBarSectionHeader.background
sideBarSectionHeader.border
sideBarSectionHeader.foreground
sideBarStickyScroll.border
sideBarStickyScroll.shadow
sideBarTitle.background
sideBarTitle.border
sideBarTitle.foreground
simpleFindWidget.sashBorder
statusBar.background
statusBar.border
statusBar.debuggingBackground
statusBar.debuggingBorder
statusBar.debuggingForeground
statusBar.focusBorder
statusBar.foreground
statusBar.inactiveBackground
statusBar.noFolderBackground
statusBar.noFolderBorder
statusBar.noFolderForeground
statusBarItem.activeBackground
statusBarItem.errorBackground
statusBarItem.errorForeground
statusBarItem.errorHoverForeground
statusBarItem.focusBorder
statusBarItem.hoverForeground
statusBarItem.offlineForeground
statusBarItem.prominentForeground
statusBarItem.remoteBackground
statusBarItem.remoteForeground
statusBarItem.remoteHoverBackground
statusBarItem.remoteHoverForeground
statusBarItem.warningBackground
statusBarItem.warningForeground
statusBarItem.warningHoverForeground
strongForeground
surface.background
surface.border
surface.foreground
tab.activeBackground
tab.activeBorder
tab.activeBorderTop
tab.activeForeground
tab.activeModifiedBorder
tab.border
tab.dragAndDropBorder
tab.hoverBackground
tab.hoverForeground
tab.inactiveBackground
tab.inactiveForeground
tab.inactiveModifiedBorder
tab.selectedBorderTop
tab.unfocusedActiveBackground
tab.unfocusedActiveBorder
tab.unfocusedActiveBorderTop
tab.unfocusedActiveForeground
tab.unfocusedActiveModifiedBorder
tab.unfocusedHoverBackground
tab.unfocusedHoverBorder
tab.unfocusedHoverForeground
tab.unfocusedInactiveBackground
tab.unfocusedInactiveForeground
tab.unfocusedInactiveModifiedBorder
terminal.ansiBlack
terminal.ansiBlue
terminal.ansiBrightBlack
terminal.ansiBrightBlue
terminal.ansiBrightCyan
terminal.ansiBrightGreen
terminal.ansiBrightMagenta
terminal.ansiBrightRed
terminal.ansiBrightYellow
terminal.ansiCyan
terminal.ansiGreen
terminal.ansiMagenta
terminal.ansiRed
terminal.ansiYellow
terminal.background
terminal.border
terminal.dropBackground
terminal.foreground
terminalCommandGuide.foreground
terminalCursor.foreground
terminalOverviewRuler.border
terminalStickyScroll.border
terminalSymbolIcon.aliasForeground
terminalSymbolIcon.argumentForeground
terminalSymbolIcon.branchForeground
terminalSymbolIcon.commitForeground
terminalSymbolIcon.fileForeground
terminalSymbolIcon.flagForeground
terminalSymbolIcon.folderForeground
terminalSymbolIcon.inlineSuggestionForeground
terminalSymbolIcon.methodForeground
terminalSymbolIcon.optionForeground
terminalSymbolIcon.optionValueForeground
terminalSymbolIcon.pullRequestDoneForeground
terminalSymbolIcon.pullRequestForeground
terminalSymbolIcon.remoteForeground
terminalSymbolIcon.stashForeground
terminalSymbolIcon.symbolicLinkFileForeground
terminalSymbolIcon.symbolicLinkFolderForeground
terminalSymbolIcon.symbolText
terminalSymbolIcon.tagForeground
testing.coveredMinimapBackground
testing.message.error.badgeBackground
testing.message.error.badgeBorder
testing.message.error.badgeForeground
testing.uncoveredMinimapBackground
textBlockQuote.background
textBlockQuote.border
textCodeBlock.background
textLink.activeForeground
textLink.foreground
textPreformat.border
titleBar.activeBackground
titleBar.activeForeground
titleBar.border
titleBar.inactiveBackground
titleBar.inactiveForeground
toolbar.hoverOutline
tree.inactiveIndentGuidesStroke
tree.indentGuidesStroke
welcomePage.buttonBackground
welcomePage.buttonHoverBackground
welcomePage.progress.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.

scopeHEXRGBRGBA
comment
comment.block
comment.block.documentation
comment.line
constant
constant.character
constant.character.escape
constant.numeric
constant.numeric.integer
constant.numeric.float
constant.numeric.hex
constant.numeric.octal
constant.other
entity
entity.name
entity.name.class
entity.name.function
entity.name.namespace
entity.name.section
entity.name.tag
entity.name.type
entity.name.type.enum
entity.name.type.interface
entity.name.type.struct
entity.other
entity.other.attribute-name
entity.other.inherited-class
invalid
invalid.deprecated
invalid.illegal
keyword
keyword.control
keyword.control.flow
keyword.operator
keyword.operator.new
keyword.operator.assignment
keyword.operator.arithmetic
keyword.operator.logical
keyword.other
markup
markup.bold
markup.heading
markup.inline.raw
markup.italic
markup.quote
markup.raw
markup.underline
markup.underline.link
meta
meta.block
meta.function
meta.function-call
meta.tag
meta.type.annotation
meta.type
punctuation.definition.bracket
punctuation.definition.comment
punctuation.definition.string.begin
punctuation.definition.string.end
punctuation.separator
punctuation.separator.continuation
punctuation.terminator
storage
storage.modifier
storage.type
string
string.interpolated
string.other
string.quoted
string.quoted.double
string.quoted.other
string.quoted.single
string.quoted.triple
string.regexp
string.template
string.unquoted
support
support.class
support.constant
support.function
support.type
support.type.primitive
support.type.property-name
support.variable
variable
variable.function
variable.language
variable.name
variable.other
variable.other.constant
variable.other.property
variable.other.readwrite
variable.parameter