StkngEsk Dark Theme By christianEsk
Publisher: Christian MenaThemes in package: 3
Developing the future, We love dark themes and we didn't want to get left behind by creating our own style.
Developing the future, We love dark themes and we didn't want to get left behind by creating our own style.
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 |
|---|---|---|---|
actionBar.toggledBackground | |||
activityBar.activeBorder | |||
activityBar.background | |||
activityBar.foreground | |||
activityBarBadge.background | |||
activityBarBadge.foreground | |||
breadcrumbs.activeSelectionForeground | |||
breadcrumbs.background | |||
breadcrumbs.focusForeground | |||
breadcrumbs.foreground | |||
button.background | |||
button.foreground | |||
button.hoverBackground | |||
debugConsole.fontFamily | MENLO, MONACO, 'COURIER NEW', MONOSPACE | — | — |
debugConsole.fontSize | 14 | — | — |
debugExceptionWidget.background | |||
debugExceptionWidget.border | |||
dropdown.background | |||
dropdown.border | |||
dropdown.foreground | |||
editor.background | |||
editor.findMatchHighlightBackground | |||
editor.foreground | |||
editor.hoverHighlightBackground | |||
editor.lineHighlightBackground | |||
editor.selectionBackground | |||
editor.stackFrameHighlightBackground | |||
editorBracketMatch.background | |||
editorBracketMatch.border | |||
editorCursor.foreground | |||
editorError.foreground | |||
editorGroup.emptyBackground | |||
editorGroupHeader.border | |||
editorGroupHeader.noTabsBackground | |||
editorGroupHeader.tabsBackground | |||
editorGutter.addedBackground | |||
editorGutter.background | |||
editorGutter.deletedBackground | |||
editorGutter.modifiedBackground | |||
editorHoverWidget.background | |||
editorHoverWidget.border | |||
editorHoverWidget.foreground | |||
editorIndentGuide.activeBackground | |||
editorIndentGuide.background | |||
editorInfo.foreground | |||
editorLineNumber.activeForeground | |||
editorLineNumber.foreground | |||
editorOverviewRuler.errorForeground | |||
editorOverviewRuler.infoForeground | |||
editorOverviewRuler.warningForeground | |||
editorPane.background | |||
editorSuggestWidget.background | |||
editorSuggestWidget.border | |||
editorSuggestWidget.highlightForeground | |||
editorSuggestWidget.selectedBackground | |||
editorWarning.foreground | |||
editorWidget.background | |||
editorWidget.border | |||
editorWordHighlightBackground | |||
editorWordHighlightStrongBackground | |||
extensionBadge.previewForeground | |||
extensionBadge.remoteForeground | |||
gitDecoration.addedResourceForeground | |||
gitDecoration.ignoredResourceForeground | |||
gitDecoration.modifiedResourceForeground | |||
icon.foreground | |||
icon.hoverForeground | |||
input.background | |||
input.border | |||
input.foreground | |||
input.placeholderForeground | |||
list.activeSelectionBackground | |||
list.errorForeground | |||
list.hoverBackground | |||
menu.background | |||
menu.foreground | |||
menubar.selectionBackground | |||
menubar.selectionForeground | |||
minimap.background | |||
minimapSlider.activeBackground | |||
minimapSlider.background | |||
minimapSlider.hoverBackground | |||
panel.background | |||
panelSectionHeader.background | |||
panelTitle.activeBorder | |||
peekView.border | |||
peekViewEditor.background | |||
peekViewEditorGutter.background | |||
peekViewResult.background | |||
peekViewResult.selectionBackground | |||
quickInput.background | |||
quickInput.foreground | |||
quickInputList.focusBackground | |||
scrollbar.shadow | |||
scrollbarSlider.activeBackground | |||
scrollbarSlider.background | |||
scrollbarSlider.hoverBackground | |||
sideBar.background | |||
sidebars.background | |||
sideBarSectionHeader.background | |||
sideBarTitle.foreground | |||
statusBar.background | |||
statusBar.debuggingBackground | |||
statusBar.debuggingForeground | |||
statusBar.foreground | |||
statusBar.noFolderBackground | |||
statusBar.noFolderForeground | |||
tab.actionBarBackground | |||
tab.activeBackground | |||
tab.activeBorder | |||
tab.activeHorizontalBorder | |||
tab.hoverBackground | |||
tab.hoverForeground | |||
tab.inactiveBackground | |||
tab.lastPinnedBorder | |||
tab.pinnedBackground | |||
tab.pinnedBorder | |||
tab.pinnedForeground | |||
tab.unfocusedActiveBorder | |||
tab.unfocusedHoverBackground | |||
tab.unfocusedHoverForeground | |||
tab.verticalDividerBorder | |||
terminal.ansiBlack | |||
terminal.ansiBlue | |||
terminal.ansiBrightBlack | |||
terminal.ansiBrightBlue | |||
terminal.ansiBrightCyan | |||
terminal.ansiBrightGreen | |||
terminal.ansiBrightMagenta | |||
terminal.ansiBrightRed | |||
terminal.ansiBrightWhite | |||
terminal.ansiBrightYellow | |||
terminal.ansiCyan | |||
terminal.ansiGreen | |||
terminal.ansiMagenta | |||
terminal.ansiRed | |||
terminal.ansiWhite | |||
terminal.ansiYellow | |||
terminal.foreground | |||
titleBar.activeBackground | |||
titleBar.activeForeground | |||
toolbar.activeBackground | |||
toolbar.hoverBackground | |||
workbench.background |
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.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.return-type | |||
meta.type | |||
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 |
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}!`;
}