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
Amethyst

Amethyst Themes are purple workbench themes. The editor syntax follows VS Code Dark+ and Light+. Higher contrast keeps the dark syntax.

The dark themes use background #1E1E1E and text #D4D4D4. Comments are #6A9955. Keywords are #569cd6. Strings are #ce9178. Functions are #DCDCAA. Types are #4EC9B0. Variables are #9CDCFE.

Amethyst Light is white with black text. Comments are #008000. Keywords are #0000ff. Strings are #a31515. Functions are #795E26. Types are #267f99.

colors

Workbench UI color keys from the theme JSON colors map.

keyHEXRGBRGBA
actionBar.toggledBackground
activityBar.activeBorder
activityBar.activeFocusBorder
activityBar.background
activityBar.border
activityBar.dropBorder
activityBar.foreground
activityBarBadge.background
activityBarBadge.foreground
badge.background
breadcrumb.activeSelectionForeground
breadcrumb.background
breadcrumb.focusForeground
breadcrumb.foreground
breadcrumbPicker.background
button.background
button.hoverBackground
button.secondaryBackground
button.secondaryHoverBackground
checkbox.border
contrastBorder
debugToolBar.background
diffEditor.border
diffEditor.diagonalFill
diffEditor.insertedTextBackground
diffEditor.removedTextBackground
diffEditor.unchangedRegionBackground
diffEditor.unchangedRegionForeground
diffEditor.unchangedRegionShadow
dropdown.background
dropdown.border
dropdown.foreground
dropdown.listBackground
editor.background
editor.findMatchBackground
editor.findMatchHighlightBackground
editor.findRangeHighlightBackground
editor.foreground
editor.hoverHighlightBackground
editor.inactiveSelectionBackground
editor.lineHighlightBackground
editor.lineHighlightBorder
editor.rangeHighlightBackground
editor.selectionBackground
editor.selectionHighlightBackground
editor.wordHighlightBackground
editor.wordHighlightStrongBackground
editorBracketHighlight.foreground1
editorBracketHighlight.foreground2
editorBracketHighlight.foreground3
editorBracketMatch.background
editorBracketMatch.border
editorBracketPairGuide.activeBackground1
editorBracketPairGuide.activeBackground2
editorBracketPairGuide.activeBackground3
editorBracketPairGuide.background1
editorBracketPairGuide.background2
editorBracketPairGuide.background3
editorCodeLens.foreground
editorCursor.foreground
editorGroup.border
editorGroup.dropBackground
editorGroup.emptyBackground
editorGroupHeader.noTabsBackground
editorGroupHeader.tabsBackground
editorGroupHeader.tabsBorder
editorGutter.background
editorHoverWidget.background
editorHoverWidget.border
editorIndentGuide.activeBackground
editorIndentGuide.activeBackground1
editorIndentGuide.background
editorIndentGuide.background1
editorInlayHint.background
editorInlayHint.foreground
editorLineNumber.foreground
editorLink.activeForeground
editorMarkerNavigation.background
editorMarkerNavigationError.background
editorMarkerNavigationWarning.background
editorOverviewRuler.border
editorRuler.foreground
editorStickyScroll.background
editorStickyScroll.border
editorStickyScroll.shadow
editorStickyScrollHover.background
editorSuggestWidget.background
editorSuggestWidget.border
editorSuggestWidget.foreground
editorSuggestWidget.highlightForeground
editorSuggestWidget.selectedBackground
editorSuggestWidget.selectedForeground
editorWhitespace.foreground
editorWidget.background
errorForeground
focusBorder
foreground
input.background
input.border
input.foreground
input.placeholderForeground
inputOption.activeBorder
list.activeSelectionBackground
list.activeSelectionForeground
list.activeSelectionIconForeground
list.deemphasizedForeground
list.dropBackground
list.focusBackground
list.focusForeground
list.highlightForeground
list.hoverBackground
list.hoverForeground
list.inactiveFocusBackground
list.inactiveSelectionBackground
list.inactiveSelectionForeground
list.invalidItemForeground
menu.background
menu.border
menu.foreground
menu.selectionBackground
menu.selectionForeground
menu.separatorBackground
menubar.selectionBackground
menubar.selectionBorder
menubar.selectionForeground
multiDiffEditor.border
multiDiffEditor.headerBackground
notebook.cellBorderColor
notebook.cellHoverBackground
notebook.cellStatusBarItemHoverBackground
notebook.cellToolbarSeparator
notebook.focusedCellBackground
notebook.focusedCellBorder
notebook.focusedEditorBorder
notebook.outputContainerBackgroundColor
notifications.background
panel.background
panel.border
panel.dropBorder
panelSectionHeader.background
panelTitle.activeBorder
panelTitle.activeForeground
panelTitle.inactiveForeground
peekView.border
peekViewEditor.background
peekViewEditor.matchHighlightBackground
peekViewEditorGutter.background
peekViewEditorStickyScroll.background
peekViewResult.background
peekViewResult.matchHighlightBackground
peekViewResult.selectionBackground
peekViewTitle.background
pickerGroup.border
pickerGroup.foreground
ports.iconRunningProcessForeground
progressBar.background
quickInput.background
quickInput.foreground
quickInputList.focusBackground
quickInputList.focusForeground
sash.hoverBorder
scrollbar.shadow
scrollbarSlider.activeBackground
scrollbarSlider.background
scrollbarSlider.hoverBackground
selection.background
settings.checkboxBackground
settings.checkboxBorder
settings.dropdownBackground
settings.dropdownBorder
settings.headerForeground
settings.numberInputBackground
settings.numberInputBorder
settings.textInputBackground
settings.textInputBorder
sideBar.background
sideBarSectionHeader.background
sideBarSectionHeader.border
sideBarTitle.foreground
statusBar.background
statusBar.border
statusBar.debuggingBackground
statusBar.debuggingBorder
statusBar.noFolderBackground
statusBarItem.remoteBackground
statusBarItem.remoteForeground
tab.activeBackground
tab.activeBorder
tab.border
tab.inactiveBackground
tab.inactiveForeground
tab.lastPinnedBorder
tab.selectedBackground
tab.selectedForeground
tab.unfocusedActiveBorder
tab.unfocusedActiveForeground
tab.unfocusedInactiveForeground
terminal.background
terminal.foreground
terminal.inactiveSelectionBackground
terminalStickyScrollHover.background
textBlockQuote.background
textBlockQuote.border
textCodeBlock.background
textLink.activeForeground
textLink.foreground
titleBar.activeBackground
titleBar.inactiveBackground
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
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
meta
meta.preprocessor
meta.type
punctuation.separator
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