ZZZ & Theme
Publisher: nekodendislikeThemes in package: 8
Zenless Zone Zero inspired theme
Zenless Zone Zero inspired theme
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.foreground | |||
breadcrumb.background | |||
breadcrumb.focusForeground | |||
button.background | |||
button.border | |||
button.foreground | |||
button.hoverBackground | |||
debugToolBar.border | |||
diffEditor.border | |||
diffEditor.insertedLineBackground | |||
diffEditor.insertedTextBackground | |||
diffEditor.removedLineBackground | |||
diffEditor.removedTextBackground | |||
disabledForeground | |||
dropdown.background | |||
editor.background | |||
editor.foldBackground | |||
editor.inactiveSelectionBackground | |||
editor.lineHighlightBackground | |||
editor.selectionBackground | |||
editor.wordHighlightBackground | |||
editor.wordHighlightBorder | |||
editor.wordHighlightStrongBackground | |||
editor.wordHighlightStrongBorder | |||
editorBracketHighlight.foreground1 | |||
editorBracketHighlight.foreground2 | |||
editorBracketHighlight.foreground3 | |||
editorBracketHighlight.foreground4 | |||
editorBracketHighlight.foreground5 | |||
editorCursor.background | |||
editorCursor.foreground | |||
editorError.foreground | |||
editorGroup.border | |||
editorGroupHeader.border | |||
editorGroupHeader.noTabsBackground | |||
editorGroupHeader.tabsBackground | |||
editorGroupHeader.tabsBorder | |||
editorGutter.addedBackground | |||
editorGutter.addedSecondaryBackground | |||
editorGutter.background | |||
editorGutter.deletedBackground | |||
editorGutter.deletedSecondaryBackground | |||
editorGutter.modifiedBackground | |||
editorGutter.modifiedSecondaryBackground | |||
editorHoverWidget.border | |||
editorIndentGuide.activeBackground1 | |||
editorIndentGuide.activeBackground2 | |||
editorIndentGuide.activeBackground3 | |||
editorIndentGuide.activeBackground4 | |||
editorIndentGuide.activeBackground5 | |||
editorIndentGuide.background1 | |||
editorIndentGuide.background2 | |||
editorIndentGuide.background3 | |||
editorIndentGuide.background4 | |||
editorIndentGuide.background5 | |||
editorInfo.foreground | |||
editorLineNumber.activeForeground | |||
editorLineNumber.dimmedForeground | |||
editorLineNumber.foreground | |||
editorMarkerNavigationError.headerBackground | |||
editorMarkerNavigationInfo.headerBackground | |||
editorMarkerNavigationWarning.headerBackground | |||
editorRuler.foreground | |||
editorSuggestWidget.focusHighlightForeground | |||
editorSuggestWidget.foreground | |||
editorSuggestWidget.highlightForeground | |||
editorSuggestWidget.selectedBackground | |||
editorSuggestWidget.selectedForeground | |||
editorSuggestWidget.selectedIconForeground | |||
editorWarning.foreground | |||
editorWhitespace.foreground | |||
editorWidget.resizeBorder | |||
errorForeground | |||
focusBorder | |||
foreground | |||
gitDecoration.addedResourceForeground | |||
gitDecoration.conflictingResourceForeground | |||
gitDecoration.deletedResourceForeground | |||
gitDecoration.ignoredResourceForeground | |||
gitDecoration.stageDeletedResourceForeground | |||
gitDecoration.submoduleResourceForeground | |||
input.background | |||
inputOption.activeBackground | |||
inputValidation.errorBorder | |||
list.activeSelectionBackground | |||
list.activeSelectionForeground | |||
list.focusBackground | |||
list.highlightForeground | |||
list.hoverBackground | |||
list.hoverForeground | |||
list.inactiveSelectionBackground | |||
list.inactiveSelectionForeground | |||
menu.selectionBackground | |||
merge.currentContentBackground | |||
merge.currentHeaderBackground | |||
merge.incomingContentBackground | |||
merge.incomingHeaderBackground | |||
modernEditorTab.hoverBackground | |||
modernEditorTab.hoverForeground | |||
modernTab.hoverBackground | |||
modernTab.hoverForeground | |||
notificationCenter.border | |||
notifications.background | |||
notifications.border | |||
notifications.foreground | |||
notificationsErrorIcon.foreground | |||
notificationsInfoIcon.foreground | |||
notificationsWarningIcon.foreground | |||
panel.background | |||
panel.border | |||
panelTitle.activeBorder | |||
panelTitle.activeForeground | |||
panelTitle.border | |||
panelTitle.inactiveForeground | |||
pickerGroup.foreground | |||
progressBar.background | |||
radio.activeBackground | |||
radio.activeForeground | |||
scrollbarSlider.activeBackground | |||
sideBar.background | |||
sideBar.border | |||
sideBar.dropBackground | |||
sideBar.foreground | |||
sideBarSectionHeader.background | |||
sideBarSectionHeader.border | |||
sideBarSectionHeader.foreground | |||
sideBarTitle.border | |||
sideBarTitle.foreground | |||
statusBar.background | |||
statusBar.border | |||
statusBar.debuggingBackground | |||
statusBar.debuggingForeground | |||
statusBar.noFolderBackground | |||
statusBar.noFolderBorder | |||
statusBarItem.hoverBackground | |||
statusBarItem.remoteBackground | |||
statusBarItem.remoteForeground | |||
tab.activeBackground | |||
tab.activeBorder | |||
tab.activeForeground | |||
tab.activeModifiedBorder | |||
tab.border | |||
tab.hoverBackground | |||
tab.hoverBorder | |||
tab.hoverForeground | |||
tab.inactiveBackground | |||
tab.inactiveForeground | |||
tab.selectedForeground | |||
tab.unfocusedActiveForeground | |||
tab.unfocusedHoverBackground | |||
tab.unfocusedHoverForeground | |||
tab.unfocusedInactiveForeground | |||
terminal.hoverHighlightBackground | |||
textSeparator.foreground | |||
titleBar.activeBackground | |||
titleBar.border | |||
titleBar.inactiveBackground | |||
toolbar.hoverBackground | |||
tree.indentGuidesStroke |
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.function | |||
entity.name.tag | |||
entity.name.type | |||
entity.name.type.enum | |||
entity.name.type.interface | |||
entity.name.type.struct | |||
entity.other | |||
entity.other.attribute-name | |||
invalid | |||
invalid.deprecated | |||
invalid.illegal | |||
keyword | |||
keyword.control | |||
keyword.control.flow | |||
keyword.operator | |||
keyword.operator.new | |||
keyword.operator.assignment | |||
markup | |||
markup.heading | |||
meta | |||
meta.block | |||
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 | |||
support.type | |||
support.type.primitive | |||
support.type.property-name | |||
variable | |||
variable.other | |||
variable.other.constant | |||
variable.other.property | |||
variable.other.readwrite | |||
variable.parameter |
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}!`;
}