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
Aramok's Takumi Black

colors

Workbench UI color keys from the theme JSON colors map.

keyHEXRGBRGBA
activityBar.activeBackground
activityBar.activeBorder
activityBar.activeFocusBorder
activityBar.background
activityBar.border
activityBar.dropBorder
activityBar.foreground
activityBar.inactiveForeground
activityBarBadge.background
activityBarBadge.foreground
activityBarTop.activeBackground
activityBarTop.activeBorder
activityBarTop.background
activityBarTop.dropBorder
activityBarTop.foreground
activityBarTop.inactiveForeground
activityErrorBadge.background
activityErrorBadge.foreground
activityWarningBadge.background
activityWarningBadge.foreground
badge.background
badge.foreground
banner.iconForeground
breadcrumb.activeSelectionForeground
breadcrumb.background
breadcrumb.focusForeground
breadcrumb.foreground
breadcrumbPicker.background
button.background
button.border
button.foreground
button.hoverBackground
button.secondaryBackground
button.secondaryBorder
button.secondaryForeground
button.secondaryHoverBackground
button.separator
checkbox.background
checkbox.border
checkbox.foreground
commandCenter.activeBackground
commandCenter.activeBorder
commandCenter.activeForeground
commandCenter.background
commandCenter.border
commandCenter.foreground
commandCenter.inactiveBorder
commandCenter.inactiveForeground
debugConsole.errorForeground
debugConsole.infoForeground
debugConsole.sourceForeground
debugConsole.warningForeground
debugConsoleInputIcon.foreground
debugExceptionWidget.background
debugExceptionWidget.border
debugIcon.breakpointCurrentStackframeForeground
debugIcon.breakpointDisabledForeground
debugIcon.breakpointForeground
debugIcon.breakpointStackframeForeground
debugIcon.breakpointUnverifiedForeground
debugIcon.continueForeground
debugIcon.disconnectForeground
debugIcon.pauseForeground
debugIcon.restartForeground
debugIcon.startForeground
debugIcon.stepBackForeground
debugIcon.stepIntoForeground
debugIcon.stepOutForeground
debugIcon.stepOverForeground
debugIcon.stopForeground
debugToolBar.background
debugToolBar.border
debugView.exceptionLabelBackground
debugView.exceptionLabelForeground
debugView.stateLabelBackground
debugView.stateLabelForeground
debugView.valueChangedHighlight
descriptionForeground
diffEditor.insertedLineBackground
diffEditor.insertedTextBackground
diffEditor.insertedTextBorder
diffEditor.removedLineBackground
diffEditor.removedTextBackground
diffEditor.removedTextBorder
disabledForeground
dropdown.background
dropdown.border
dropdown.foreground
dropdown.listBackground
editor.background
editor.border
editor.findMatchBackground
editor.findMatchBorder
editor.findMatchHighlightBackground
editor.findMatchHighlightBorder
editor.findRangeHighlightBackground
editor.foreground
editor.inactiveSelectionBackground
editor.lineHighlightBackground
editor.rangeHighlightBackground
editor.selectionBackground
editor.selectionForeground
editor.selectionHighlightBackground
editor.wordHighlightBackground
editorActionList.background
editorActionList.focusBackground
editorBracketHighlight.foreground1
editorBracketHighlight.foreground2
editorBracketHighlight.foreground3
editorBracketHighlight.foreground4
editorBracketHighlight.foreground5
editorBracketHighlight.foreground6
editorBracketHighlight.unexpectedBracket.foreground
editorBracketMatch.background
editorCursor.background
editorCursor.foreground
editorGroup.border
editorGroup.dropBackground
editorGroupHeader.tabsBackground
editorGutter.addedBackground
editorGutter.background
editorGutter.commentRangeForeground
editorGutter.deletedBackground
editorGutter.foldingControlForeground
editorGutter.modifiedBackground
editorHoverWidget.background
editorHoverWidget.border
editorIndentGuide.activeBackground
editorIndentGuide.background
editorOverviewRuler.findMatchForeground
editorSuggestWidget.background
editorSuggestWidget.border
editorWhitespace.foreground
editorWidget.background
editorWidget.foreground
editorWidget.resizeBorder
errorForeground
focusBorder
foreground
icon.foreground
input.background
input.border
input.foreground
input.placeholderForeground
inputOption.activeBackground
inputOption.activeBorder
inputOption.activeForeground
inputValidation.errorBackground
inputValidation.errorBorder
inputValidation.errorForeground
inputValidation.infoBackground
inputValidation.infoBorder
inputValidation.infoForeground
inputValidation.warningBackground
inputValidation.warningBorder
inputValidation.warningForeground
list.activeSelectionBackground
list.activeSelectionForeground
list.activeSelectionIconForeground
list.dropBackground
list.filterMatchBackground
list.filterMatchBorder
list.hoverBackground
menu.background
menu.foreground
modernActivityBar.background
modernActivityBar.border
modernActivityBar.inactiveBackground
modernActivityBarItem.activeBackground
modernActivityBarItem.activeForeground
modernActivityBarItem.hoverBackground
modernActivityBarItem.hoverForeground
modernEditorTab.activeBackground
modernEditorTab.hoverBackground
modernEditorTab.inactiveBackground
modernPanel.border
modernSash.gripForeground
modernTab.activeBackground
modernTab.hoverBackground
modernUI.inactiveShellBackground
modernUI.shellBackground
notificationCenter.border
notificationCenterHeader.background
notifications.background
notificationToast.border
panel.background
panel.border
panelSection.dropBackground
panelTitle.activeBorder
panelTitle.activeForeground
peekView.border
peekViewEditor.background
peekViewEditorGutter.background
peekViewResult.background
peekViewResult.fileForeground
peekViewTitle.background
ports.iconRunningProcessForeground
progressBar.background
quickInput.background
quickInput.foreground
quickInputList.focusBackground
quickInputList.focusForeground
sash.hoverBorder
scrollbar.shadow
scrollbarSlider.activeBackground
scrollbarSlider.background
scrollbarSlider.hoverBackground
sideBar.background
sideBar.border
sideBar.foreground
sideBarActivityBarTop.border
sideBarSectionHeader.background
sideBarSectionHeader.border
sideBarTitle.background
sideBarTitle.foreground
statusBar.background
statusBar.border
statusBar.debuggingBackground
statusBar.debuggingBorder
statusBar.debuggingForeground
statusBar.focusBorder
statusBar.foreground
statusBar.noFolderBackground
statusBar.noFolderBorder
statusBar.noFolderForeground
statusBarItem.activeBackground
statusBarItem.hoverBackground
statusBarItem.remoteBackground
statusBarItem.remoteForeground
surface.background
surface.border
symbolIcon.constantForeground
symbolIcon.enumeratorForeground
symbolIcon.enumeratorMemberForeground
symbolIcon.fieldForeground
symbolIcon.functionForeground
symbolIcon.structForeground
symbolIcon.variableForeground
tab.activeBackground
tab.activeForeground
tab.border
tab.hoverBackground
tab.inactiveBackground
tab.inactiveForeground
tab.inactiveModifiedBorder
tab.lastPinnedBorder
terminal.background
terminal.border
terminal.tab.activeBorder
terminalCursor.background
terminalCursor.foreground
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
tree.indentGuidesStroke
welcomePage.background
welcomePage.progress.background
welcomePage.progress.foreground
welcomePage.tileBackground
welcomePage.tileBorder
welcomePage.tileHoverBackground
widget.border
widget.shadow
window.activeBorder
window.inactiveBorder

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
emphasis
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
markup.underline
markup.underline.link
meta
meta.preprocessor
meta.type
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
strong
variable
variable.function
variable.language
variable.name
variable.other
variable.other.constant
variable.other.property
variable.other.readwrite
variable.parameter