Streber Dark Theme
Publisher: Donau-StreberThemes in package: 4
Adaptive VS Code theme ecosystem for deep-focus dark, smoked gold, daylight light, and luminous blue-night workflows
Adaptive VS Code theme ecosystem for deep-focus dark, smoked gold, daylight light, and luminous blue-night workflows
Full workbench mockup using this variant's colors and tokenColors.
Loading...
Workbench UI color keys from the theme JSON colors map.
TextMate scopes and font styles (syntax highlighting rules).
| scope | foreground | fontStyle |
|---|---|---|
| meta.embedded, source.groovy.embedded, string meta.image.inline.markdown, variable.legacy.builtin.python | #ddd2c1 | — |
| emphasis | — | italic |
| strong | — | bold |
| header | #76644a | — |
| comment | #9a866e | — |
| constant.language | #ba934e | — |
| constant.numeric, variable.other.enummember, keyword.operator.plus.exponent, keyword.operator.minus.exponent | #c7b185 | — |
| constant.regexp | #9f8768 | — |
| entity.name.tag | #ba934e | — |
| entity.name.tag.css, entity.name.tag.less | #ddb97c | — |
| entity.other.attribute-name | #c4ab82 | — |
| entity.other.attribute-name.class.css, source.css entity.other.attribute-name.class, entity.other.attribute-name.id.css, entity.other.attribute-name.parent-selector.css, entity.other.attribute-name.parent.less, source.css entity.other.attribute-name.pseudo-class, entity.other.attribute-name.pseudo-element.css, source.css.less entity.other.attribute-name.id, entity.other.attribute-name.scss | #ddb97c | — |
| invalid | #e86a5a | — |
| markup.underline | — | underline |
| markup.bold | #8d7559 | bold |
| markup.heading | #8d7559 | bold |
| markup.italic | #b47d66 | italic |
| markup.strikethrough | — | strikethrough |
| markup.inserted | #c7b185 | — |
| markup.deleted | #cc8e67 | — |
| markup.changed | #8d7559 | — |
| punctuation.definition.quote.begin.markdown | #99816a | — |
| punctuation.definition.list.begin.markdown | #8d7559 | — |
| markup.inline.raw | #cc8e67 | — |
| punctuation.definition.tag | #968671 | — |
| meta.preprocessor, entity.name.function.preprocessor | #8d7559 | — |
| meta.preprocessor.string | #cc8e67 | — |
| meta.preprocessor.numeric | #c7b185 | — |
| meta.structure.dictionary.key.python | #ad9472 | — |
| meta.diff.header | #8d7559 | — |
| storage | #8d7559 | — |
| storage.type | #8d7559 | — |
| storage.modifier, keyword.operator.noexcept | #8d7559 | — |
| string, meta.embedded.assembly | #d7aa72 | — |
| string.tag | #d7aa72 | — |
| string.value | #d7aa72 | — |
| string.regexp | #d16969 | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #b18e67 | — |
| meta.template.expression | #d8cfbe | — |
| support.type.vendored.property-name, support.type.property-name, source.css variable, source.coffee.embedded | #ad9472 | — |
| keyword | #8d7559 | — |
| keyword.control | #8d7559 | — |
| keyword.operator | #d8cfbe | — |
| keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.alignof, keyword.operator.typeid, keyword.operator.alignas, keyword.operator.instanceof, keyword.operator.logical.python, keyword.operator.wordlike | #8d7559 | — |
| keyword.other.unit | #c7b185 | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #8d7559 | — |
| support.function.git-rebase | #ad9472 | — |
| constant.sha.git-rebase | #c7b185 | — |
| storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java | #d8cfbe | — |
| variable.language | #8d7559 | — |
| entity.name.function, support.function, support.constant.handlebars, source.powershell variable.other.member, entity.name.operator.custom-literal | #e3c57f | — |
| support.class, support.type, entity.name.type, entity.name.namespace, entity.other.attribute, entity.name.scope-resolution, entity.name.class, storage.type.numeric.go, storage.type.byte.go, storage.type.boolean.go, storage.type.string.go, storage.type.uintptr.go, storage.type.error.go, storage.type.rune.go, storage.type.cs, storage.type.generic.cs, storage.type.modifier.cs, storage.type.variable.cs, storage.type.annotation.java, storage.type.generic.java, storage.type.java, storage.type.object.array.java, storage.type.primitive.array.java, storage.type.primitive.java, storage.type.token.java, storage.type.groovy, storage.type.annotation.groovy, storage.type.parameters.groovy, storage.type.generic.groovy, storage.type.object.array.groovy, storage.type.primitive.array.groovy, storage.type.primitive.groovy | #c7a468 | — |
| meta.type.cast.expr, meta.type.new.expr, support.constant.math, support.constant.dom, support.constant.json, entity.other.inherited-class, punctuation.separator.namespace.ruby | #c7a468 | — |
| keyword.control, source.cpp keyword.operator.new, keyword.operator.delete, keyword.other.using, keyword.other.directive.using, keyword.other.operator, entity.name.operator | #b47d66 | — |
| variable, meta.definition.variable.name, support.variable, entity.name.variable, constant.other.placeholder | #ad9472 | — |
| variable.other.constant, variable.other.enummember | #c49c61 | — |
| meta.object-literal.key | #ad9472 | — |
| support.constant.property-value, support.constant.font-name, support.constant.media-type, support.constant.media, constant.other.color.rgb-value, constant.other.rgb-value, support.constant.color | #d7aa72 | — |
| punctuation.definition.group.regexp, punctuation.definition.group.assertion.regexp, punctuation.definition.character-class.regexp, punctuation.character.set.begin.regexp, punctuation.character.set.end.regexp, keyword.operator.negation.regexp, support.other.parenthesis.regexp | #d7aa72 | — |
| constant.character.character-class.regexp, constant.other.character-class.set.regexp, constant.other.character-class.regexp, constant.character.set.regexp | #d16969 | — |
| keyword.operator.or.regexp, keyword.control.anchor.regexp | #e3c57f | — |
| keyword.operator.quantifier.regexp | #ddb97c | — |
| constant.character, constant.other.option | #8d7559 | — |
| constant.character.escape | #ddb97c | — |
| variable.parameter.function.language.python | #ad9472 | — |
| entity.name.type.class.python, entity.name.type.interface, entity.name.type.interface.ts, entity.name.type.interface.tsx, entity.name.type.module.ts, entity.name.type.module.tsx, entity.name.type.module.js, entity.name.type.module.jsx | #c7a468 | — |
| meta.decorator, meta.decorator.ts, meta.decorator.tsx, meta.decorator.js, punctuation.decorator, entity.name.tag.decorator | #ad9472 | — |
| entity.name.function.method, entity.name.function.member, support.function.url, support.function.misc, support.function.render | #e3c57f | — |
| variable.other.property, variable.other.property.js, variable.other.property.ts, variable.other.property.tsx, variable.css, variable.scss, variable.less, variable.sass | #ad9472 | — |
| entity.other.attribute-name.html, entity.other.attribute-name.xml, support.type.property-name.css, support.type.property-name.less, support.type.property-name.scss, support.type.property-name.sass | #ad9472 | — |
| punctuation.definition.tag.html, punctuation.definition.tag.xml, punctuation.definition.tag.begin, punctuation.definition.tag.end | #9b8d78 | — |
| constant.numeric.css, constant.numeric.less, constant.numeric.scss, constant.numeric.sass, keyword.other.unit.css, keyword.other.unit.less, keyword.other.unit.scss, keyword.other.unit.sass | #c7b185 | — |
| entity.name.label | #C8C8C8 | — |
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}!`;
}