Left Theme
Publisher: dfeoThemes in package: 1
A minimal monochrome colour theme inspired by Left from Hundred Rabbits.
A minimal monochrome colour theme inspired by Left from Hundred Rabbits.
Full workbench mockup using this variant's colors and tokenColors.
Loading...
Workbench UI color keys from the theme JSON colors map.
| key | HEX | RGB | RGBA |
|---|---|---|---|
activityBar.background | |||
activityBar.border | |||
activityBar.foreground | |||
activityBar.inactiveForeground | |||
chat.checkpointSeparator | |||
chat.requestBorder | |||
chat.requestCodeBorder | |||
chatManagement.sashBorder | |||
descriptionForeground | |||
dropdown.background | |||
dropdown.border | |||
dropdown.foreground | |||
editor.background | |||
editor.border | |||
editor.foreground | |||
editor.inactiveSelectionBackground | |||
editor.lineHighlightBackground | |||
editor.selectionBackground | |||
editorCursor.foreground | |||
editorGroup.border | |||
editorGroupHeader.border | |||
editorGroupHeader.tabsBackground | |||
editorGroupHeader.tabsBorder | |||
editorIndentGuide.activeBackground1 | |||
editorIndentGuide.background1 | |||
editorLineNumber.activeForeground | |||
editorLineNumber.foreground | |||
editorWhitespace.foreground | |||
errorForeground | |||
focusBorder | |||
foreground | |||
input.background | |||
input.border | |||
input.foreground | |||
list.activeSelectionBackground | |||
list.activeSelectionForeground | |||
list.focusBackground | |||
list.focusForeground | |||
list.hoverBackground | |||
list.hoverForeground | |||
list.inactiveSelectionBackground | |||
list.inactiveSelectionForeground | |||
menu.background | |||
menu.foreground | |||
menu.selectionBackground | |||
menu.selectionForeground | |||
modernActivityBar.background | |||
modernActivityBar.border | |||
modernActivityBar.inactiveBackground | |||
panel.background | |||
panel.border | |||
panelSection.border | |||
panelSectionHeader.border | |||
panelTitle.activeForeground | |||
panelTitle.border | |||
panelTitle.inactiveForeground | |||
quickInput.background | |||
quickInput.foreground | |||
sash.hoverBorder | |||
scrollbarSlider.activeBackground | |||
scrollbarSlider.background | |||
scrollbarSlider.hoverBackground | |||
sideBar.background | |||
sideBar.border | |||
sideBar.foreground | |||
sideBarSectionHeader.background | |||
sideBarSectionHeader.border | |||
sideBarSectionHeader.foreground | |||
sideBarTitle.border | |||
sideBarTitle.foreground | |||
statusBar.background | |||
statusBar.border | |||
statusBar.debuggingBackground | |||
statusBar.debuggingBorder | |||
statusBar.foreground | |||
statusBar.noFolderBackground | |||
statusBar.noFolderBorder | |||
surface.border | |||
tab.activeBackground | |||
tab.activeBorder | |||
tab.activeForeground | |||
tab.border | |||
tab.inactiveBackground | |||
tab.inactiveForeground | |||
terminal.ansiBlack | |||
terminal.ansiBlue | |||
terminal.ansiCyan | |||
terminal.ansiGreen | |||
terminal.ansiMagenta | |||
terminal.ansiRed | |||
terminal.ansiWhite | |||
terminal.ansiYellow | |||
terminal.background | |||
terminal.border | |||
terminal.foreground | |||
terminalCursor.foreground | |||
titleBar.activeBackground | |||
titleBar.activeForeground | |||
titleBar.border | |||
titleBar.inactiveBackground | |||
titleBar.inactiveForeground | |||
tree.indentGuidesStroke | |||
widget.border | |||
widget.shadow | |||
window.activeBorder | |||
window.inactiveBorder |
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.numeric | |||
constant.numeric.integer | |||
constant.numeric.float | |||
constant.numeric.hex | |||
constant.numeric.octal | |||
entity | |||
entity.name | |||
entity.name.class | |||
entity.name.function | |||
entity.name.type | |||
entity.name.type.enum | |||
entity.name.type.interface | |||
entity.name.type.struct | |||
keyword | |||
keyword.control | |||
keyword.control.flow | |||
keyword.operator | |||
keyword.operator.new | |||
keyword.operator.assignment | |||
keyword.operator.arithmetic | |||
keyword.operator.logical | |||
keyword.other | |||
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.function |
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}!`;
}