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
Tema05's color theme

colors

Workbench UI color keys from the theme JSON colors map.

keyHEXRGBRGBA
activityBar.activeBorder
activityBar.background
activityBar.foreground
activityBar.inactiveForeground
activityBarBadge.background
activityBarBadge.foreground
badge.background
badge.foreground
button.background
button.foreground
button.hoverBackground
checkbox.background
checkbox.border
checkbox.foreground
dropdown.background
dropdown.border
dropdown.foreground
dropdown.listBackground
editor.background
editor.findMatchBackground
editor.findMatchHighlightBackground
editor.findMatchHighlightBorder
editor.findRangeHighlightBackground
editor.foreground
editor.hoverHighlightBackground
editor.inactiveSelectionBackground
editor.lineHighlightBackground
editor.rangeHighlightBackground
editor.selectionBackground
editor.selectionHighlightBackground
editor.selectionHighlightBorder
editor.snippetFinalTabstopHighlightBorder
editor.snippetTabstopHighlightBackground
editor.symbolHighlightBackground
editor.wordHighlightBackground
editor.wordHighlightStrongBackground
editorBracketMatch.background
editorBracketMatch.border
editorCursor.foreground
editorGroup.border
editorGroup.dropBackground
editorGroupHeader.tabsBackground
editorHoverWidget.background
editorHoverWidget.border
editorIndentGuide.activeBackground
editorIndentGuide.background
editorLineNumber.activeForeground
editorLineNumber.foreground
editorOverviewRuler.border
editorOverviewRuler.bracketMatchForeground
editorOverviewRuler.findMatchForeground
editorOverviewRuler.selectionHighlightForeground
editorOverviewRuler.wordHighlightForeground
editorSuggestWidget.background
editorSuggestWidget.border
editorSuggestWidget.focusHighlightForeground
editorSuggestWidget.highlightForeground
editorSuggestWidget.selectedBackground
editorUnnecessaryCode.opacity
editorWhitespace.foreground
editorWidget.background
editorWidget.border
focusBorder
foreground
icon.foreground
input.background
input.border
input.placeholderForeground
inputOption.activeBackground
inputOption.activeForeground
inputValidation.infoBackground
inputValidation.infoBorder
inputValidation.infoForeground
keybindingLabel.background
keybindingLabel.foreground
list.activeSelectionBackground
list.activeSelectionForeground
list.dropBackground
list.focusHighlightForeground
list.highlightForeground
list.hoverBackground
list.inactiveSelectionBackground
list.inactiveSelectionForeground
list.inactiveSelectionIconForeground
menu.background
menu.foreground
menu.selectionBackground
menubar.selectionBackground
menubar.selectionForeground
minimap.findMatchHighlight
minimap.selectionHighlight
minimapSlider.activeBackground
minimapSlider.background
minimapSlider.hoverBackground
notificationCenterHeader.background
notificationCenterHeader.foreground
notifications.background
notifications.border
notifications.foreground
panel.border
panelTitle.activeBorder
panelTitle.activeForeground
panelTitle.inactiveForeground
peekView.border
peekViewEditor.background
peekViewEditor.matchHighlightBackground
peekViewResult.background
peekViewResult.lineForeground
peekViewResult.matchHighlightBackground
peekViewResult.selectionBackground
peekViewResult.selectionForeground
peekViewTitle.background
peekViewTitleDescription.foreground
peekViewTitleLabel.foreground
quickInput.background
quickInput.foreground
quickInputList.focusBackground
scrollbar.shadow
scrollbarSlider.activeBackground
scrollbarSlider.background
scrollbarSlider.hoverBackground
selection.background
settings.headerForeground
settings.modifiedItemIndicator
sideBar.background
sideBar.dropBackground
sideBarSectionHeader.background
statusBar.background
statusBar.foreground
statusBarItem.activeBackground
statusBarItem.hoverBackground
tab.activeBorder
tab.activeForeground
tab.border
tab.hoverBackground
tab.inactiveBackground
tab.inactiveForeground
tab.lastPinnedBorder
tab.unfocusedActiveBorder
tab.unfocusedActiveForeground
tab.unfocusedInactiveForeground
textLink.activeForeground
textLink.foreground
titleBar.activeBackground
titleBar.activeForeground
titleBar.inactiveBackground
titleBar.inactiveForeground
toolbar.activeBackground
toolbar.hoverBackground
tree.indentGuidesStroke
tree.tableColumnsBorder
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.line
constant
constant.character
constant.character.escape
constant.numeric
constant.numeric.float
entity
entity.name
entity.name.method
entity.other
keyword
keyword.control
keyword.operator
meta
string
string.quoted
string.quoted.double
string.quoted.other
string.quoted.single
support
support.function
support.type
support.type.property-name