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
Strawberry Matcha

colors

Workbench UI color keys from the theme JSON colors map.

keyHEXRGBRGBA
actionBar.toggledBackground
activeSessionView.background
activeSessionView.foreground
activityBar.activeBackground
activityBar.activeBorder
activityBar.background
activityBar.border
activityBar.foreground
activityBar.inactiveForeground
activityBarBadge.background
activityBarBadge.foreground
agentFeedbackEditorWidget.background
agentFeedbackEditorWidget.border
agentFeedbackInputWidget.border
agents.background
agentsBadge.background
agentsBadge.foreground
agentsChatInput.background
agentsChatInput.border
agentsChatInput.focusBorder
agentsChatInput.foreground
agentsChatInput.placeholderForeground
agentSessionReadIndicator.foreground
agentSessionSelectedBadge.border
agentSessionSelectedUnfocusedBadge.border
agentsGradient.tintColor
agentsNewSessionButton.background
agentsNewSessionButton.border
agentsNewSessionButton.foreground
agentsNewSessionButton.hoverBackground
agentsPanel.background
agentsPanel.border
agentsPanel.foreground
agentStatusIndicator.background
agentsUnreadBadge.background
agentsUnreadBadge.foreground
agentsUpdateButton.downloadedBackground
agentsUpdateButton.downloadingBackground
agentsVoice.speakingBackground
agentsVoice.speakingForeground
badge.background
badge.foreground
banner.background
banner.foreground
banner.iconForeground
breadcrumb.background
breadcrumb.focusForeground
breadcrumb.foreground
button.background
button.border
button.foreground
button.hoverBackground
button.secondaryBackground
button.secondaryForeground
button.secondaryHoverBackground
charts.blue
charts.purple
chat.avatarBackground
chat.avatarForeground
chat.checkpointSeparator
chat.editedFileForeground
chat.inputWorkingBorderColor1
chat.inputWorkingBorderColor2
chat.inputWorkingBorderColor3
chat.linesAddedForeground
chat.linesRemovedForeground
chat.requestBackground
chat.requestBorder
chat.requestBubbleBackground
chat.requestBubbleHoverBackground
chat.requestCodeBorder
chat.slashCommandBackground
chat.slashCommandForeground
chat.thinkingShimmer
chatManagement.sashBorder
checkbox.background
checkbox.border
checkbox.foreground
commandCenter.background
commandCenter.border
commandCenter.foreground
commandCenter.inactiveForeground
debugIcon.breakpointCurrentStackframeForeground
debugIcon.breakpointForeground
debugIcon.continueForeground
debugIcon.pauseForeground
debugIcon.restartForeground
debugIcon.startForeground
debugIcon.stepIntoForeground
debugIcon.stepOutForeground
debugIcon.stepOverForeground
debugIcon.stopForeground
debugTokenExpression.boolean
debugTokenExpression.name
debugTokenExpression.number
debugTokenExpression.string
debugTokenExpression.value
debugToolBar.background
debugView.valueChangedHighlight
descriptionForeground
diffEditor.border
diffEditor.diagonalFill
diffEditor.insertedLineBackground
diffEditor.move.border
diffEditor.moveActive.border
diffEditor.removedLineBackground
diffEditor.unchangedCodeBackground
diffEditor.unchangedRegionBackground
diffEditor.unchangedRegionForeground
diffEditor.unchangedRegionShadow
diffEditorGutter.insertedLineBackground
diffEditorGutter.removedLineBackground
diffEditorOverview.insertedForeground
diffEditorOverview.removedForeground
dropdown.background
dropdown.border
dropdown.foreground
dropdown.listBackground
editor.background
editor.findMatchBackground
editor.findMatchHighlightBackground
editor.foreground
editor.hoverHighlightBackground
editor.inactiveSelectionBackground
editor.lineHighlightBorder
editor.selectionBackground
editor.selectionForeground
editor.selectionHighlightBackground
editor.stackFrameHighlightBackground
editor.wordHighlightBackground
editor.wordHighlightStrongBackground
editorBracketHighlight.foreground1
editorBracketHighlight.foreground2
editorBracketHighlight.foreground3
editorBracketHighlight.foreground4
editorBracketHighlight.foreground5
editorBracketHighlight.foreground6
editorBracketHighlight.unexpectedBracket.foreground
editorBracketMatch.background
editorBracketMatch.border
editorCursor.foreground
editorError.foreground
editorGroup.border
editorGroup.dropBackground
editorGroupHeader.tabsBackground
editorGroupHeader.tabsBorder
editorGutter.addedBackground
editorGutter.background
editorGutter.deletedBackground
editorGutter.modifiedBackground
editorHoverWidget.border
editorIndentGuide.activeBackground1
editorIndentGuide.background1
editorLightBulb.foreground
editorLightBulbAi.foreground
editorLineNumber.activeForeground
editorLineNumber.foreground
editorOverviewRuler.border
editorStickyScrollHover.background
editorSuggestWidget.border
editorSuggestWidget.focusHighlightForeground
editorSuggestWidget.highlightForeground
editorSuggestWidget.selectedIconForeground
editorWarning.foreground
editorWidget.background
editorWidget.foreground
editorWidget.resizeBorder
errorForeground
extensionIcon.starForeground
focusBorder
foreground
git.blame.editorDecorationForeground
gitDecoration.addedResourceForeground
gitDecoration.conflictingResourceForeground
gitDecoration.deletedResourceForeground
gitDecoration.ignoredResourceForeground
gitDecoration.modifiedResourceForeground
gitDecoration.renamedResourceForeground
gitDecoration.stageDeletedResourceForeground
gitDecoration.stageModifiedResourceForeground
gitDecoration.submoduleResourceForeground
gitDecoration.untrackedResourceForeground
icon.foreground
inactiveSessionView.background
inactiveSessionView.foreground
inlineChat.background
inlineChat.border
inlineChat.foreground
inlineChat.shadow
inlineChatDiff.inserted
inlineChatDiff.removed
inlineChatInput.background
inlineChatInput.border
inlineChatInput.focusBorder
inlineChatInput.placeholderForeground
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
inputOption.hoverBackground
interactive.activeCodeBorder
interactive.inactiveCodeBorder
keybindingLabel.background
keybindingLabel.border
keybindingLabel.bottomBorder
keybindingLabel.foreground
list.activeSelectionBackground
list.activeSelectionForeground
list.activeSelectionIconForeground
list.dropBackground
list.errorForeground
list.focusHighlightForeground
list.focusOutline
list.highlightForeground
list.hoverBackground
list.hoverForeground
list.inactiveSelectionBackground
list.warningForeground
mcpIcon.starForeground
menu.background
menu.border
menu.foreground
menu.separatorBackground
menubar.selectionBackground
merge.border
merge.commonContentBackground
merge.commonHeaderBackground
merge.currentContentBackground
merge.currentHeaderBackground
merge.incomingContentBackground
merge.incomingHeaderBackground
mergeEditor.change.background
mergeEditor.change.word.background
mergeEditor.changeBase.background
mergeEditor.changeBase.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
mergeEditor.conflictingLines.background
minimap.background
minimap.errorHighlight
minimap.findMatchHighlight
minimap.selectionHighlight
minimap.warningHighlight
minimapGutter.addedBackground
minimapGutter.deletedBackground
minimapGutter.modifiedBackground
multiDiffEditor.background
multiDiffEditor.border
multiDiffEditor.headerBackground
notificationCenterHeader.background
notificationCenterHeader.foreground
notifications.background
notifications.border
notifications.foreground
notificationsErrorIcon.foreground
notificationsInfoIcon.foreground
notificationsWarningIcon.foreground
panel.background
panel.border
panelInput.border
panelTitle.activeBorder
panelTitle.activeForeground
panelTitle.inactiveForeground
peekViewEditor.background
peekViewEditor.matchHighlightBackground
peekViewResult.background
peekViewResult.matchHighlightBackground
pickerGroup.border
pickerGroup.foreground
ports.iconRunningProcessForeground
problemsErrorIcon.foreground
problemsWarningIcon.foreground
progressBar.background
quickInput.background
quickInput.foreground
radio.inactiveHoverBackground
scmGraph.historyItemBaseRefColor
scmGraph.historyItemHoverAdditionsForeground
scmGraph.historyItemHoverDefaultLabelForeground
scmGraph.historyItemHoverDeletionsForeground
scmGraph.historyItemHoverLabelForeground
scrollbarSlider.activeBackground
scrollbarSlider.background
scrollbarSlider.hoverBackground
selection.background
settings.dropdownBackground
settings.dropdownBorder
settings.dropdownForeground
settings.headerForeground
settings.modifiedItemIndicator
settings.settingsHeaderHoverForeground
sideBar.background
sideBar.border
sideBar.dropBackground
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.prominentBackground
statusBarItem.remoteBackground
statusBarItem.remoteForeground
tab.activeBackground
tab.activeBorder
tab.activeBorderTop
tab.activeForeground
tab.border
tab.hoverBackground
tab.hoverForeground
tab.inactiveBackground
tab.inactiveForeground
tab.lastPinnedBorder
tab.selectedBackground
tab.selectedBorderTop
tab.selectedForeground
tab.unfocusedActiveBorder
tab.unfocusedActiveBorderTop
tab.unfocusedHoverBackground
terminal.ansiBlue
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.foreground
terminal.inactiveSelectionBackground
terminal.selectionBackground
terminal.tab.activeBorder
terminalCommandDecoration.defaultBackground
terminalCommandDecoration.errorBackground
terminalCommandDecoration.successBackground
terminalCursor.background
terminalCursor.foreground
textBlockQuote.background
textCodeBlock.background
textLink.activeForeground
textLink.foreground
textPreformat.background
textPreformat.border
textPreformat.foreground
textSeparator.foreground
titleBar.activeBackground
titleBar.activeForeground
titleBar.border
titleBar.inactiveBackground
titleBar.inactiveForeground
toolbar.hoverBackground
tree.inactiveIndentGuidesStroke
tree.indentGuidesStroke
walkThrough.embeddedEditorBackground
walkthrough.stepTitle.foreground
welcomePage.progress.background
welcomePage.progress.foreground
welcomePage.tileBackground
welcomePage.tileBorder
widget.border

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
constant.other.placeholder
constant.regexp
entity
entity.name
entity.name.class
entity.name.function
entity.name.namespace
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.changed
markup.deleted
markup.heading
markup.inline.raw
markup.inserted
markup.italic
meta
meta.preprocessor
meta.type
punctuation.definition.comment
punctuation.separator
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.other
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