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 | #3e352b | — |
| emphasis | — | italic |
| strong | — | bold |
| header | #5a6e4a | — |
| comment | #6f6659 | italic |
| constant.language | #5a6e4a | — |
| constant.numeric, variable.other.enummember, keyword.operator.plus.exponent, keyword.operator.minus.exponent | #6a7a55 | — |
| constant.regexp | #6f6281 | — |
| entity.name.tag | #5a6e4a | — |
| entity.name.tag.css, entity.name.tag.less | #b89a6a | — |
| entity.other.attribute-name | #6a8072 | — |
| 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 | #b89a6a | — |
| invalid | #c86155 | — |
| markup.underline | — | underline |
| markup.bold | #5a4f3f | bold |
| markup.heading | #5a4f3f | bold |
| markup.italic | #8b5e5d | italic |
| markup.strikethrough | — | strikethrough |
| markup.inserted | #6a7a55 | — |
| markup.deleted | #a06f4a | — |
| markup.changed | #5a4f3f | — |
| punctuation.definition.quote.begin.markdown | #80756a | — |
| punctuation.definition.list.begin.markdown | #5a4f3f | — |
| markup.inline.raw | #a06f4a | — |
| punctuation.definition.tag | #7a6f62 | — |
| meta.preprocessor, entity.name.function.preprocessor | #5a4f3f | — |
| meta.preprocessor.string | #a06f4a | — |
| meta.preprocessor.numeric | #6a7a55 | — |
| meta.structure.dictionary.key.python | #5a7080 | — |
| meta.diff.header | #5a4f3f | — |
| storage | #5a4f3f | — |
| storage.type | #5a4f3f | — |
| storage.modifier, keyword.operator.noexcept | #5a4f3f | — |
| string, meta.embedded.assembly | #a0734d | — |
| string.tag | #a0734d | — |
| string.value | #a0734d | — |
| string.regexp | #b75d52 | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #5a7684 | — |
| meta.template.expression | #3a322a | — |
| support.type.vendored.property-name, support.type.property-name, source.css variable, source.coffee.embedded | #5a7080 | — |
| keyword | #5a4f3f | — |
| keyword.control | #5a4f3f | — |
| keyword.operator | #3a322a | — |
| 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 | #5a4f3f | — |
| keyword.other.unit | #6a7a55 | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #5a4f3f | — |
| support.function.git-rebase | #5a7080 | — |
| constant.sha.git-rebase | #6a7a55 | — |
| storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java | #3a322a | — |
| variable.language | #5a4f3f | — |
| entity.name.function, support.function, support.constant.handlebars, source.powershell variable.other.member, entity.name.operator.custom-literal | #a8925f | — |
| 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 | #5a7768 | — |
| 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 | #5a7768 | — |
| keyword.control, source.cpp keyword.operator.new, keyword.operator.delete, keyword.other.using, keyword.other.directive.using, keyword.other.operator, entity.name.operator | #8b5e5d | — |
| variable, meta.definition.variable.name, support.variable, entity.name.variable, constant.other.placeholder | #5a7080 | — |
| variable.other.constant, variable.other.enummember | #4f7378 | — |
| meta.object-literal.key | #5a7080 | — |
| 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 | #a0734d | — |
| 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 | #a0734d | — |
| constant.character.character-class.regexp, constant.other.character-class.set.regexp, constant.other.character-class.regexp, constant.character.set.regexp | #b75d52 | — |
| keyword.operator.or.regexp, keyword.control.anchor.regexp | #a8925f | — |
| keyword.operator.quantifier.regexp | #6a7a55 | — |
| keyword.operator.cs, keyword.operator.assignment.cs, keyword.operator.arithmetic.cs, keyword.operator.bitwise.cs, keyword.operator.logical.cs, keyword.operator.relational.cs, keyword.operator.conditional.cs, keyword.operator.decrement.cs, keyword.operator.increment.cs | #5a4f3f | — |
| constant.character.escape.powershell, constant.character.escape.python, constant.character.escape.java, constant.character.escape.cpp, constant.character.escape.go, constant.character.escape.rust, constant.character.escape.swift, constant.character.escape.kotlin, constant.character.escape.scala, constant.character.escape.ruby, constant.character.escape.php, constant.character.escape.perl, constant.character.escape.lua, constant.character.escape.haskell, constant.character.escape.clojure, constant.character.escape.elixir, constant.character.escape.erlang, constant.character.escape.fsharp, constant.character.escape.vb, constant.character.escape.delphi, constant.character.escape.objc, constant.character.escape.typescript, constant.character.escape.javascript, constant.character.escape.json | #b89a6a | — |
| token.info-token, infoForeground | #5a7080 | — |
| token.warn-token, warningForeground | #af8a4a | — |
| token.error-token, errorForeground | #c66a5a | — |
| token.debug-token, debugForeground | #7f6384 | — |
| entity.name.function.macro, entity.name.function.preprocessor, support.function.preprocessor | #5a7080 | — |
| punctuation.definition.string.begin, punctuation.definition.string.end, punctuation.definition.string.template.begin, punctuation.definition.string.template.end, punctuation.definition.string.regexp.begin, punctuation.definition.string.regexp.end | #7a6f60 | — |
| meta.function-call.generic.python, support.function.builtin.python | #a8925f | — |
| variable.parameter.function.language.python | #5a7080 | — |
| entity.name.type.class.python, entity.name.type.class | #5a7768 | — |
| meta.function-call.arguments.python | #3a322a | — |
| variable.other.readwrite.alias, variable.other.readwrite.alias.js, variable.other.readwrite.alias.ts, variable.other.readwrite.alias.tsx | #5a7768 | — |
| meta.import, meta.export, meta.definition.variable | #3a322a | — |
| meta.jsx.children, meta.jsx.children.js, meta.jsx.children.tsx | #3a322a | — |
| entity.name.type.module.ts, entity.name.type.module.tsx, entity.name.type.module.js, entity.name.type.module.jsx | #5a7768 | — |
| variable.other.constant.property, variable.other.property.constant | #4f7378 | — |
| keyword.operator.expression.in, keyword.operator.expression.inof, keyword.operator.expression.instanceof | #5a4f3f | — |
| meta.decorator, meta.decorator.ts, meta.decorator.tsx, meta.decorator.js, punctuation.decorator, entity.name.tag.decorator | #5a7080 | — |
| entity.name.function.method, entity.name.function.member | #a8925f | — |
| meta.method.declaration, meta.method.declaration.ts, meta.method.declaration.tsx | #3a322a | — |
| meta.type.declaration, meta.type.declaration.ts, meta.type.declaration.tsx | #5a7768 | — |
| entity.name.type.interface, entity.name.type.interface.ts, entity.name.type.interface.tsx | #5a7768 | — |
| meta.type.annotation, meta.type.annotation.ts, meta.type.annotation.tsx, meta.type.annotation.js | #5a7768 | — |
| keyword.control.flow, keyword.control.import, keyword.control.export, keyword.control.from | #5a4f3f | — |
| keyword.control.conditional, keyword.control.switch, keyword.control.case, keyword.control.default, keyword.control.break, keyword.control.continue, keyword.control.return, keyword.control.throw, keyword.control.try, keyword.control.catch, keyword.control.finally, keyword.control.loop, keyword.control.for, keyword.control.while, keyword.control.do, keyword.control.if, keyword.control.else | #5a4f3f | — |
| keyword.other.await, keyword.other.yield, keyword.other.async | #8b5e5d | — |
| variable.other.object, variable.other.object.js, variable.other.object.ts, variable.other.object.tsx | #3a322a | — |
| variable.other.property, variable.other.property.js, variable.other.property.ts, variable.other.property.tsx | #5a7080 | — |
| support.class.component, support.class.component.js, support.class.component.ts, support.class.component.tsx, support.class.component.jsx | #5a7768 | — |
| entity.name.tag.html, entity.name.tag.xml | #5a6e4a | — |
| entity.other.attribute-name.html, entity.other.attribute-name.xml | #6a8072 | — |
| punctuation.definition.tag.html, punctuation.definition.tag.xml, punctuation.definition.tag.begin, punctuation.definition.tag.end | #7a6f62 | — |
| entity.name.tag.css, entity.name.tag.less, entity.name.tag.scss, entity.name.tag.sass | #b89a6a | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.id.css | #b89a6a | — |
| support.type.property-name.css, support.type.property-name.less, support.type.property-name.scss, support.type.property-name.sass | #6a8072 | — |
| constant.numeric.css, constant.numeric.less, constant.numeric.scss, constant.numeric.sass | #6a7a55 | — |
| keyword.other.unit.css, keyword.other.unit.less, keyword.other.unit.scss, keyword.other.unit.sass | #6a7a55 | — |
| support.function.url, support.function.misc, support.function.render | #a8925f | — |
| variable.css, variable.scss, variable.less, variable.sass | #5a7080 | — |
| keyword.other.important | #8b5e5d | bold |
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}!`;
}