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
Halftone Dark

colors

Workbench UI color keys from the theme JSON colors map.

keyHEXRGBRGBA
activityBar.activeBackground
activityBar.activeBorder
activityBar.background
activityBar.border
activityBar.foreground
activityBar.inactiveForeground
activityBarBadge.background
activityBarBadge.foreground
badge.background
badge.foreground
breadcrumb.activeSelectionForeground
breadcrumb.background
breadcrumb.foreground
breadcrumbPicker.background
button.background
button.border
button.foreground
button.hoverBackground
button.secondaryBackground
button.secondaryForeground
button.secondaryHoverBackground
charts.red
chat.editedFileForeground
chat.slashCommandBackground
chat.slashCommandForeground
checkbox.background
checkbox.border
commandCenter.activeBackground
commandCenter.activeBorder
commandCenter.activeForeground
commandCenter.background
commandCenter.border
commandCenter.debuggingBackground
commandCenter.foreground
commandCenter.inactiveBorder
debugToolBar.background
descriptionForeground
dropdown.background
dropdown.border
dropdown.foreground
dropdown.listBackground
editor.background
editor.findMatchBackground
editor.findMatchBorder
editor.findMatchHighlightBackground
editor.findMatchHighlightBorder
editor.findRangeHighlightBackground
editor.findRangeHighlightBorder
editor.focusedStackFrameHighlightBackground
editor.foreground
editor.hoverHighlightBackground
editor.lineHighlightBackground
editor.lineHighlightBorder
editor.linkedEditingBackground
editor.rangeHighlightBackground
editor.rangeHighlightBorder
editor.selectionBackground
editor.selectionHighlightBackground
editor.selectionHighlightBorder
editor.stackFrameHighlightBackground
editor.symbolHighlightBackground
editor.symbolHighlightBorder
editor.wordHighlightBackground
editor.wordHighlightBorder
editor.wordHighlightStrongBackground
editor.wordHighlightStrongBorder
editor.wordHighlightTextBackground
editor.wordHighlightTextBorder
editorBracketHighlight.foreground1
editorBracketHighlight.foreground2
editorBracketHighlight.foreground3
editorBracketHighlight.foreground4
editorBracketHighlight.foreground5
editorBracketHighlight.foreground6
editorBracketHighlight.unexpectedBracket.foreground
editorBracketMatch.background
editorBracketMatch.border
editorCursor.background
editorCursor.foreground
editorError.background
editorError.foreground
editorGroup.border
editorGroupHeader.border
editorGroupHeader.tabsBackground
editorGroupHeader.tabsBorder
editorGutter.addedBackground
editorGutter.deletedBackground
editorGutter.modifiedBackground
editorHoverWidget.highlightForeground
editorIndentGuide.activeBackground
editorIndentGuide.background
editorLineNumber.activeForeground
editorLineNumber.foreground
editorLink.activeForeground
editorOverviewRuler.border
editorPane.background
editorSuggestWidget.background
editorSuggestWidget.border
editorSuggestWidget.focusHighlightForeground
editorSuggestWidget.foreground
editorSuggestWidget.highlightForeground
editorSuggestWidget.selectedBackground
editorSuggestWidget.selectedForeground
editorSuggestWidget.selectedIconForeground
editorUnicodeHighlight.background
editorUnicodeHighlight.border
editorWarning.background
editorWarning.foreground
editorWidget.background
editorWidget.foreground
errorForeground
focusBorder
foreground
icon.foreground
input.background
input.border
input.foreground
input.placeholderForeground
inputOption.activeBackground
inputOption.activeBorder
keybindingLabel.foreground
list.activeSelectionBackground
list.activeSelectionForeground
list.activeSelectionIconForeground
list.focusBackground
list.focusForeground
list.focusHighlightForeground
list.focusOutline
list.highlightForeground
list.inactiveFocusBackground
list.inactiveSelectionBackground
list.inactiveSelectionForeground
list.inactiveSelectionIconForeground
menu.background
menu.selectionBackground
notificationCenterHeader.background
notificationCenterHeader.foreground
notifications.background
notifications.border
notifications.foreground
panel.background
panel.border
panelTitle.activeBorder
panelTitle.activeForeground
panelTitle.inactiveForeground
peekView.border
peekViewEditor.background
peekViewEditor.matchHighlightBackground
peekViewEditor.matchHighlightBorder
peekViewResult.background
peekViewResult.lineForeground
peekViewResult.matchHighlightBackground
peekViewResult.selectionBackground
peekViewResult.selectionForeground
peekViewTitle.background
pickerGroup.border
pickerGroup.foreground
progressBar.background
searchEditor.findMatchBackground
searchEditor.findMatchBorder
selection.background
settings.dropdownBackground
settings.dropdownBorder
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.prominentBackground
statusBarItem.remoteBackground
statusBarItem.remoteForeground
symbolIcon.arrayForeground
symbolIcon.booleanForeground
symbolIcon.classForeground
symbolIcon.colorForeground
symbolIcon.constantForeground
symbolIcon.constructorForeground
symbolIcon.enumeratorForeground
symbolIcon.enumeratorMemberForeground
symbolIcon.eventForeground
symbolIcon.fieldForeground
symbolIcon.fileForeground
symbolIcon.folderForeground
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.referenceForeground
symbolIcon.snippetForeground
symbolIcon.stringForeground
symbolIcon.structForeground
symbolIcon.textForeground
symbolIcon.typeParameterForeground
symbolIcon.unitForeground
symbolIcon.variableForeground
tab.activeBackground
tab.activeBorder
tab.activeBorderTop
tab.activeForeground
tab.border
tab.dragAndDropBorder
tab.hoverBackground
tab.inactiveBackground
tab.inactiveForeground
tab.selectedBorderTop
tab.unfocusedActiveBorder
tab.unfocusedActiveBorderTop
tab.unfocusedHoverBackground
terminal.background
terminal.foreground
terminal.tab.activeBorder
terminalCursor.background
terminalCursor.foreground
terminalOverviewRuler.border
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
welcomePage.progress.foreground
welcomePage.tileBackground
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.numeric
constant.numeric.integer
constant.numeric.float
constant.numeric.hex
constant.numeric.octal
entity
entity.name
entity.name.function
entity.name.method
entity.name.tag
entity.name.type
entity.name.type.enum
entity.name.type.interface
entity.name.type.struct
entity.other
entity.other.attribute-name
keyword
keyword.control
keyword.control.flow
keyword.operator
keyword.operator.assignment
keyword.operator.logical
meta
punctuation.definition.bracket
punctuation.definition.comment
punctuation.definition.string.begin
punctuation.definition.string.end
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.function
support.type
support.type.primitive
support.type.property-name
variable
variable.function
variable.language
variable.name
variable.other
variable.other.constant
variable.other.property
variable.other.readwrite
variable.parameter