WebStorm Darcula Darker Theme V2
Publisher: WichThemes in package: 1
The new darker version of WebStorm Darcula theme, with less dim for your eyes
The new darker version of WebStorm Darcula theme, with less dim for your eyes
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.activeBackground | |||
activityBar.activeBorder | |||
activityBar.activeFocusBorder | |||
activityBar.background | |||
activityBar.border | |||
activityBar.foreground | |||
activityBar.inactiveForeground | |||
activityBarBadge.background | |||
activityBarBadge.foreground | |||
breadcrumb.background | |||
debugIcon.breakpointForeground | |||
diffEditor.insertedLineBackground | |||
diffEditor.insertedTextBackground | |||
diffEditor.insertedTextBorder | |||
diffEditor.removedLineBackground | |||
diffEditor.removedTextBackground | |||
diffEditor.removedTextBorder | |||
dropdown.background | |||
dropdown.border | |||
dropdown.foreground | |||
editor.background | |||
editor.findMatchBackground | |||
editor.findMatchBorder | |||
editor.findMatchHighlightBackground | |||
editor.findMatchHighlightBorder | |||
editor.findRangeHighlightBackground | |||
editor.foreground | |||
editor.hoverHighlightBackground | |||
editor.inactiveSelectionBackground | |||
editor.lineHighlightBackground | |||
editor.selectionBackground | |||
editor.selectionHighlightBackground | |||
editor.symbolHighlightBackground | |||
editor.wordHighlightBackground | |||
editor.wordHighlightStrongBackground | |||
editorBracketMatch.background | |||
editorBracketMatch.border | |||
editorError.foreground | |||
editorGroup.border | |||
editorGroupHeader.border | |||
editorGroupHeader.noTabsBackground | |||
editorGroupHeader.tabsBackground | |||
editorGroupHeader.tabsBorder | |||
editorGutter.addedBackground | |||
editorGutter.background | |||
editorGutter.commentRangeForeground | |||
editorGutter.deletedBackground | |||
editorGutter.modifiedBackground | |||
editorIndentGuide.activeBackground1 | |||
editorIndentGuide.background1 | |||
editorInfo.foreground | |||
editorInlayHint.background | |||
editorInlayHint.foreground | |||
editorLineNumber.activeForeground | |||
editorLineNumber.foreground | |||
editorOverviewRuler.addedForeground | |||
editorOverviewRuler.border | |||
editorOverviewRuler.currentContentForeground | |||
editorOverviewRuler.deletedForeground | |||
editorOverviewRuler.errorForeground | |||
editorOverviewRuler.findMatchForeground | |||
editorOverviewRuler.incomingContentForeground | |||
editorOverviewRuler.modifiedForeground | |||
editorPane.background | |||
editorRuler.foreground | |||
editorUnnecessaryCode.opacity | |||
editorWarning.background | |||
editorWarning.foreground | |||
editorWidget.background | |||
editorWidget.border | |||
editorWidget.foreground | |||
editorWidget.resizeBorder | |||
gitDecoration.addedResourceForeground | |||
gitDecoration.conflictingResourceForeground | |||
gitDecoration.deletedResourceForeground | |||
gitDecoration.ignoredResourceForeground | |||
gitDecoration.modifiedResourceForeground | |||
gitDecoration.renamedResourceForeground | |||
gitDecoration.stageDeletedResourceForeground | |||
gitDecoration.stageModifiedResourceForeground | |||
gitDecoration.untrackedResourceForeground | |||
input.background | |||
input.border | |||
input.foreground | |||
inputOption.activeBackground | |||
inputOption.activeBorder | |||
inputOption.activeForeground | |||
list.activeSelectionBackground | |||
list.activeSelectionForeground | |||
list.dropBackground | |||
list.hoverBackground | |||
list.inactiveFocusOutline | |||
list.inactiveSelectionBackground | |||
menu.background | |||
menu.foreground | |||
merge.currentContentBackground | |||
merge.currentHeaderBackground | |||
merge.incomingContentBackground | |||
merge.incomingHeaderBackground | |||
minimap.findMatchHighlight | |||
panel.background | |||
panel.border | |||
panelSection.border | |||
panelTitle.activeBorder | |||
panelTitle.activeForeground | |||
panelTitle.inactiveForeground | |||
peekView.border | |||
peekViewEditor.background | |||
peekViewEditor.matchHighlightBackground | |||
peekViewResult.background | |||
peekViewResult.fileForeground | |||
peekViewResult.lineForeground | |||
peekViewResult.matchHighlightBackground | |||
peekViewResult.selectionBackground | |||
peekViewResult.selectionForeground | |||
peekViewTitle.background | |||
peekViewTitleDescription.foreground | |||
peekViewTitleLabel.foreground | |||
quickInputList.focusBackground | |||
scrollbarSlider.activeBackground | |||
scrollbarSlider.background | |||
scrollbarSlider.hoverBackground | |||
settings.numberInputBackground | |||
settings.textInputBackground | |||
sideBar.background | |||
sideBar.border | |||
sideBar.foreground | |||
sideBarSectionHeader.border | |||
sideBarSectionHeader.foreground | |||
sideBarTitle.foreground | |||
statusBar.background | |||
statusBar.border | |||
statusBar.debuggingBackground | |||
statusBar.debuggingBorder | |||
statusBar.debuggingForeground | |||
statusBar.foreground | |||
statusBar.noFolderBackground | |||
statusBar.noFolderBorder | |||
statusBar.noFolderForeground | |||
tab.activeBackground | |||
tab.activeBorder | |||
tab.activeForeground | |||
tab.activeModifiedBorder | |||
tab.border | |||
tab.hoverBackground | |||
tab.inactiveBackground | |||
tab.inactiveForeground | |||
tab.inactiveModifiedBorder | |||
tab.unfocusedActiveBackground | |||
tab.unfocusedActiveBorder | |||
tab.unfocusedActiveForeground | |||
tab.unfocusedHoverBackground | |||
tab.unfocusedInactiveBackground | |||
tab.unfocusedInactiveForeground | |||
tab.unfocusedInactiveModifiedBorder | |||
terminal.background | |||
textBlockQuote.background | |||
textBlockQuote.border | |||
textCodeBlock.background | |||
textLink.activeForeground | |||
textLink.foreground | |||
textPreformat.foreground | |||
titleBar.activeBackground | |||
titleBar.inactiveBackground | |||
widget.shadow |
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 | |||
entity | |||
entity.name | |||
entity.name.function | |||
entity.name.tag | |||
entity.name.type | |||
entity.name.type.enum | |||
entity.name.type.interface | |||
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.inline.raw | |||
markup.quote | |||
markup.underline | |||
markup.underline.link | |||
meta | |||
meta.block | |||
meta.function | |||
meta.selector | |||
meta.type | |||
punctuation.definition.string.begin | |||
punctuation.definition.string.end | |||
punctuation.separator | |||
punctuation.terminator | |||
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}!`;
}