1984
🎶I'm gonna show you where it's dark, but have no fear 🎶
🎶I'm gonna show you where it's dark, but have no fear 🎶
Full workbench mockup using this variant's colors and tokenColors.
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}!`;
}
1984 is an 80s neon pack. The author built most of it for fun. Cyberpunk is the variant meant for longer sessions. Unbolded and Fancy share the main dark syntax.
The main theme uses background #0d0f31 and text #f1f1f1. Comments are #525863. Keywords and numbers are #FF16B0. Functions are #fcfcfc. Types are #46BDFF. Variables are #96A1FF.
Orwellian uses background #2e2923. Comments are #fcbe954f. Keywords are #e74946. Functions and types are #F2F2F2. Variables and numbers are #fcd395.
Cyberpunk uses background #1C1E27. Keywords are #7ADAD1. Functions are #85EEA7. Light uses background #e4e5f5 and text #19152c. Comments are #9793b9. Keywords and numbers are #FF16B0. Functions are #251b50. Types are #0098fd.
Workbench UI color keys from the theme JSON colors map.
| key | HEX | RGB | RGBA |
|---|---|---|---|
activityBar.background | |||
activityBar.foreground | |||
activityBarBadge.background | |||
activityBarBadge.foreground | |||
button.background | |||
button.foreground | |||
button.hoverBackground | |||
debugToolBar.background | |||
diffEditor.insertedTextBackground | |||
dropdown.background | |||
dropdown.border | |||
editor.background | |||
editor.findMatchBackground | |||
editor.findMatchBorder | |||
editor.findMatchHighlightBackground | |||
editor.findMatchHighlightBorder | |||
editor.foreground | |||
editor.lineHighlightBackground | |||
editor.selectionBackground | |||
editorBracketMatch.border | |||
editorCursor.foreground | |||
editorGroup.border | |||
editorGroupHeader.tabsBackground | |||
editorHoverWidget.background | |||
editorHoverWidget.border | |||
editorIndentGuide.background | |||
editorLineNumber.foreground | |||
editorSuggestWidget.background | |||
editorSuggestWidget.border | |||
editorSuggestWidget.selectedBackground | |||
editorWhitespace.foreground | |||
editorWidget.background | |||
extensionButton.prominentBackground | |||
extensionButton.prominentHoverBackground | |||
focusBorder | |||
gitDecoration.addedResourceForeground | |||
gitDecoration.deletedResourceForeground | |||
gitDecoration.ignoredResourceForeground | |||
gitDecoration.modifiedResourceForeground | |||
gitDecoration.untrackedResourceForeground | |||
input.background | |||
input.border | |||
list.activeSelectionBackground | |||
list.activeSelectionForeground | |||
list.focusBackground | |||
list.highlightForeground | |||
list.hoverBackground | |||
list.inactiveSelectionBackground | |||
list.inactiveSelectionForeground | |||
pickerGroup.border | |||
scrollbarSlider.activeBackground | |||
scrollbarSlider.background | |||
scrollbarSlider.hoverBackground | |||
sideBar.background | |||
sideBar.foreground | |||
sideBarSectionHeader.background | |||
statusBar.background | |||
statusBar.debuggingBackground | |||
statusBar.debuggingForeground | |||
statusBar.foreground | |||
statusBar.noFolderBackground | |||
statusBarItem.hoverBackground | |||
tab.activeBackground | |||
tab.border | |||
tab.inactiveBackground | |||
terminal.ansiBlue | |||
terminal.ansiBrightBlue | |||
terminal.ansiBrightCyan | |||
terminal.ansiBrightGreen | |||
terminal.ansiBrightMagenta | |||
terminal.ansiBrightRed | |||
terminal.ansiBrightYellow | |||
terminal.ansiCyan | |||
terminal.ansiGreen | |||
terminal.ansiMagenta | |||
terminal.ansiRed | |||
terminal.ansiYellow | |||
terminal.foreground | |||
terminal.selectionBackground | |||
terminalCursor.background | |||
terminalCursor.foreground | |||
titleBar.activeBackground | |||
titleBar.activeForeground | |||
titleBar.inactiveBackground | |||
titleBar.inactiveForeground | |||
walkThrough.embeddedEditorBackground |
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.
| scope | HEX | RGB | RGBA |
|---|---|---|---|
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.method | |||
entity.name.namespace | |||
entity.name.section | |||
entity.name.selector | |||
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 | |||
keyword | |||
keyword.control | |||
keyword.control.flow | |||
keyword.operator | |||
keyword.operator.new | |||
keyword.operator.assignment | |||
keyword.operator.arithmetic | |||
keyword.operator.logical | |||
keyword.other | |||
markup | |||
markup.heading | |||
markup.quote | |||
markup.underline | |||
markup.underline.link | |||
meta | |||
meta.function-call | |||
meta.type.annotation | |||
meta.type | |||
punctuation.definition.string.begin | |||
punctuation.definition.string.end | |||
punctuation.separator | |||
storage | |||
storage.modifier | |||
storage.type | |||
string | |||
string.other | |||
string.quoted | |||
string.quoted.double | |||
string.quoted.other | |||
string.quoted.single | |||
string.quoted.triple | |||
string.regexp | |||
string.template | |||
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 |