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
Solitude Green Dark

colors

Workbench UI color keys from the theme JSON colors map.

keyHEXRGBRGBA
activityBar.activeBorder
activityBar.activeFocusBorder
activityBar.background
activityBar.border
activityBar.dropBorder
activityBar.foreground
activityBar.inactiveForeground
activityBarBadge.background
activityBarBadge.foreground
badge.background
badge.foreground
breadcrumb.activeSelectionForeground
breadcrumb.background
breadcrumb.focusForeground
breadcrumb.foreground
breadcrumbPicker.background
button.background
button.border
checkbox.border
checkbox.selectBorder
commandCenter.border
contrastBorder
debugExceptionWidget.border
debugToolBar.border
diffEditor.border
dropdown.background
dropdown.border
editor.background
editor.findMatchBackground
editor.findMatchBorder
editor.findMatchHighlightBackground
editor.foreground
editor.lineHighlightBackground
editor.selectionBackground
editor.selectionHighlightBackground
editorCursor.foreground
editorError.foreground
editorGroup.border
editorGroup.dropIntoPromptBorder
editorGroup.focusedEmptyBorder
editorGroupHeader.tabsBackground
editorGroupHeader.tabsBorder
editorHoverWidget.background
editorHoverWidget.border
editorIndentGuide.activeBackground1
editorIndentGuide.background1
editorInfo.foreground
editorLineNumber.activeForeground
editorLineNumber.dimmedForeground
editorLineNumber.foreground
editorLink.activeForeground
editorMarkerNavigation.background
editorOverviewRuler.border
editorOverviewRuler.errorForeground
editorOverviewRuler.findMatchForeground
editorOverviewRuler.infoForeground
editorOverviewRuler.warningForeground
editorRuler.foreground
editorSuggestWidget.background
editorSuggestWidget.border
editorSuggestWidget.focusHighlightForeground
editorSuggestWidget.foreground
editorSuggestWidget.highlightForeground
editorSuggestWidget.selectedBackground
editorSuggestWidget.selectedForeground
editorWarning.foreground
editorWhitespace.foreground
editorWidget.background
editorWidget.border
editorWidget.resizeBorder
extensionButton.prominentBackground
extensionButton.prominentHoverBackground
focusBorder
inlineChat.shadow
input.background
input.border
input.foreground
input.placeholderForeground
inputOption.activeBackground
inputOption.activeBorder
inputValidation.errorBorder
inputValidation.infoBorder
inputValidation.warningBorder
keybindingLabel.border
keybindingLabel.bottomBorder
list.activeSelectionBackground
list.activeSelectionForeground
list.errorForeground
list.filterMatchBorder
list.focusBackground
list.focusForeground
list.highlightForeground
list.hoverBackground
list.hoverForeground
list.inactiveSelectionBackground
list.inactiveSelectionForeground
list.infoForeground
list.warningForeground
listFilterWidget.background
listFilterWidget.noMatchesOutline
listFilterWidget.outline
listFilterWidget.shadow
menu.background
menu.border
menu.foreground
menu.selectionBackground
menu.selectionBorder
menu.selectionForeground
menu.separatorBackground
menubar.selectionBackground
menubar.selectionBorder
menubar.selectionForeground
merge.border
minimap.background
notificationCenter.border
notificationLink.foreground
notifications.background
notifications.border
notifications.foreground
notificationToast.border
panel.background
panel.border
panel.dropBorder
panelInput.border
panelSection.border
panelSectionHeader.border
panelTitle.activeBorder
panelTitle.activeForeground
panelTitle.inactiveForeground
peekView.border
peekViewEditor.background
peekViewEditor.matchHighlightBackground
peekViewEditorGutter.background
peekViewResult.background
peekViewResult.matchHighlightBackground
peekViewResult.selectionBackground
peekViewTitle.background
peekViewTitleDescription.foreground
pickerGroup.border
pickerGroup.foreground
profileBadge.background
profileBadge.foreground
progressBar.background
sash.hoverBorder
scm.providerBorder
scrollbar.shadow
scrollbarSlider.activeBackground
scrollbarSlider.background
scrollbarSlider.hoverBackground
selection.background
settings.checkboxBackground
settings.checkboxBorder
settings.checkboxForeground
settings.dropdownBackground
settings.dropdownBorder
settings.dropdownForeground
settings.dropdownListBorder
settings.focusedRowBorder
settings.headerBorder
settings.headerForeground
settings.modifiedItemIndicator
settings.numberInputBackground
settings.numberInputBorder
settings.numberInputForeground
settings.sashBorder
settings.textInputBackground
settings.textInputBorder
settings.textInputForeground
sideBar.background
sideBar.border
sideBar.foreground
sideBarSectionHeader.background
sideBarSectionHeader.border
sideBarSectionHeader.foreground
sideBarTitle.foreground
sideBySideEditor.horizontalBorder
sideBySideEditor.verticalBorder
statusBar.background
statusBar.border
statusBar.debuggingBackground
statusBar.debuggingForeground
statusBar.foreground
statusBar.noFolderBackground
statusBar.noFolderBorder
statusBar.noFolderForeground
statusBarItem.compactHoverBackground
statusBarItem.errorBackground
statusBarItem.errorForeground
statusBarItem.hoverBackground
statusBarItem.remoteBackground
statusBarItem.remoteForeground
statusBarItem.warningBackground
tab.activeBorderTop
tab.activeForeground
tab.activeModifiedBorder
tab.border
tab.hoverBorder
tab.inactiveBackground
tab.inactiveForeground
tab.lastPinnedBorder
tab.unfocusedActiveBorder
tab.unfocusedActiveForeground
tab.unfocusedInactiveForeground
terminal.border
terminalCursor.foreground
testing.peekBorder
textBlockQuote.border
textLink.activeForeground
textLink.foreground
titleBar.activeBackground
titleBar.activeForeground
titleBar.border
titleBar.inactiveBackground
titleBar.inactiveForeground
tree.indentGuidesStroke
tree.tableColumnsBorder
welcomePage.tileBorder
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
constant.other.placeholder
constant.regexp
constant.rgb-value
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.changed
markup.deleted
markup.heading
markup.inline.raw
markup.inserted
markup.italic
markup.list
markup.other
markup.quote
markup.raw
markup.underline
markup.underline.link
meta
meta.function
meta.function-call
meta.selector
meta.tag
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.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