Blutzz-Dark-Pro
Publisher: mauricioc12Themes in package: 1
An elegant and beautiful dark theme for you updated 🍜.
An elegant and beautiful dark theme for you updated 🍜.
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 |
|---|---|---|
| Global settings | #BFC7D5 | — |
| comment | #8F94AD | italic |
| string | #82AAFF | — |
| support.constant.math | #82AAFF | — |
| constant.numeric, constant.character.numeric | #F78C6C | — |
| constant.language, punctuation.definition.constant, variable.other.constant | #EEFFFF | — |
| constant.character, constant.other | #C792EA | — |
| constant.character.escape | #F78C6C | — |
| string.regexp, string.regexp keyword.other | #82AAFF | — |
| meta.function punctuation.separator.comma | #EEFFFF | — |
| variable | #FFCB6B | — |
| punctuation.accessor, keyword | #C3E88D | — |
| storage, storage.type, meta.var.expr storage.type, storage.type.property.js, storage.type.property.ts, storage.type.property.tsx, meta.class meta.method.declaration meta.var.expr storage.type.js | #C792EA | italic |
| entity.name.class, meta.class entity.name.type.class | #FFCB6B | — |
| entity.other.inherited-class | #FFCB6B | — |
| entity.name.function | #FFCB6B | — |
| variable.parameter | #61AFEF | italic |
| punctuation.definition.tag, meta.tag | #89DDFF | — |
| entity.name.tag support.class.component, meta.tag.other.html, meta.tag.other.js, meta.tag.other.tsx, entity.name.tag.tsx, entity.name.tag.js, entity.name.tag, meta.tag.js, meta.tag.tsx, meta.tag.html | #FF5370 | — |
| entity.other.attribute-name | #FFCB6B | — |
| entity.name.tag.custom | #FFCB6B | — |
| support.function, support.constant | #FFCB6B | — |
| support.constant.meta.property-value | #89DDFF | — |
| support.type, support.class | #FFCB6B | — |
| support.variable.dom | #FFCB6B | — |
| invalid | #FFFFFF | — |
| invalid.deprecated | #FFFFFF | — |
| keyword.operator | #C792EA | — |
| keyword.operator.relational | #C792EA | — |
| keyword.operator.assignment | #C792EA | — |
| comment.line.double-slash | #697098 | — |
| object | #EEFFFF | — |
| constant.language.null | #FF5370 | — |
| meta.brace | #BFC7D5 | — |
| meta.delimiter.period | #C792EA | — |
| punctuation.definition.string | #82AAFF | — |
| constant.language.boolean | #F78C6C | italic |
| object.comma | #FFFFFF | — |
| variable.parameter.function | #EEFFFF | — |
| support.type.vendored.property-name, support.constant.vendored.property-value, support.type.property-name, meta.property-list entity.name.tag | #80CBC4 | — |
| meta.property-list entity.name.tag.reference | #FF5370 | — |
| constant.other.color.rgb-value punctuation.definition.constant | #F78C6C | — |
| constant.other.color | #FFEB95 | — |
| keyword.other.unit | #FFEB95 | — |
| meta.selector | #C792EA | — |
| entity.other.attribute-name.id | #FAD430 | — |
| meta.property-name | #80CBC4 | — |
| entity.name.tag.doctype, meta.tag.sgml.doctype | #C792EA | italic |
| punctuation.definition.parameters | #D9F5DD | — |
| keyword.control.operator | #C792EA | — |
| keyword.operator.logical | #C792EA | — |
| variable.instance, variable.other.instance, variable.reaedwrite.instance, variable.other.readwrite.instance | #C792EA | — |
| variable.other.property, variable.other.object.property | #EEFFFF | — |
| entity.name.function | #FFCB6B | — |
| keyword.operator.comparison | #C792EA | — |
| support.constant, keyword.other.special-method, keyword.other.new | #F78C6C | — |
| support.function | #89DDFF | — |
| invalid.broken | #020E14 | — |
| invalid.unimplemented | #FFFFFF | — |
| invalid.illegal | #FFFFFF | — |
| variable.language | #FF5370 | italic |
| support.variable.property | #89DDFF | — |
| variable.function | #FFCB6B | — |
| variable.interpolation | #FF5370 | — |
| meta.function-call | #FFCB6B | — |
| punctuation.section.embedded | #C792EA | — |
| punctuation.terminator.expression, punctuation.definition.arguments, punctuation.definition.array, punctuation.section.array, meta.array | #EEFFFF | — |
| punctuation.definition.list.begin, punctuation.definition.list.end, punctuation.separator.arguments, punctuation.definition.list | #D9F5DD | — |
| string.template meta.template.expression | #C792EA | — |
| string.template punctuation.definition.string | #EEFFFF | — |
| italic | #C792EA | italic |
| bold | #FFCB6B | bold |
| quote | #697098 | italic |
| raw | #80CBC4 | — |
| variable.assignment.coffee | #89DDFF | — |
| variable.parameter.function.coffee | #EEFFFF | — |
| variable.assignment.coffee | #89DDFF | — |
| variable.other.readwrite.cs | #BFC7D5 | — |
| entity.name.type.class.cs, storage.type.cs | #82AAFF | — |
| entity.name.type.namespace.cs | #B2CCD6 | — |
| entity.name.tag.css, entity.name.tag.less, entity.name.tag.custom.css | #FF5370 | — |
| entity.name.tag.wildcard.css, entity.name.tag.wildcard.less, entity.name.tag.wildcard.scss, entity.name.tag.wildcard.sass | #FF5370 | — |
| keyword.other.unit.css, constant.length.units.css, keyword.other.unit.less, constant.length.units.less, keyword.other.unit.scss, constant.length.units.scss, keyword.other.unit.sass, constant.length.units.sass | #FFEB95 | italic |
| meta.attribute-selector.css entity.other.attribute-name.attribute | #F78C6C | — |
| source.js source.css meta.property-list, source.js source.css punctuation.section, source.js source.css punctuation.terminator.rule, source.js source.css punctuation.definition.entity.end.bracket, source.js source.css punctuation.definition.entity.begin.bracket, source.js source.css punctuation.separator.key-value, source.js source.css punctuation.definition.attribute-selector, source.js source.css meta.property-list, source.js source.css meta.property-list punctuation.separator.comma, source.ts source.css punctuation.section, source.ts source.css punctuation.terminator.rule, source.ts source.css punctuation.definition.entity.end.bracket, source.ts source.css punctuation.definition.entity.begin.bracket, source.ts source.css punctuation.separator.key-value, source.ts source.css punctuation.definition.attribute-selector, source.ts source.css meta.property-list, source.ts source.css meta.property-list punctuation.separator.comma | #BFC7D5 | — |
| source.elixir support.type.elixir, source.elixir meta.module.elixir entity.name.class.elixir | #82AAFF | — |
| source.elixir entity.name.function | #FFCB6B | — |
| source.elixir constant.other.symbol.elixir, source.elixir constant.other.keywords.elixir | #82AAFF | — |
| source.elixir punctuation.definition.string | #82AAFF | — |
| source.elixir variable.other.readwrite.module.elixir, source.elixir variable.other.readwrite.module.elixir punctuation.definition.variable.elixir | #FFCB6B | — |
| source.elixir .punctuation.binary.elixir | #C792EA | — |
| source.go meta.function-call.go | #DDDDDD | — |
| variable.qraphql | #BFC7D5 | — |
| entity.other.attribute-name.id.html | #FFCB6B | — |
| punctuation.definition.tag.html | #89DDFF | — |
| meta.tag.sgml.doctype.html | #C792EA | italic |
| meta.class entity.name.type.class.js | #FFCB6B | — |
| meta.method.declaration storage.type.js | #FF5370 | italic |
| terminator.js | #BFC7D5 | — |
| meta.js punctuation.definition.js | #EEFFFF | — |
| entity.name.type.instance.jsdoc, entity.name.type.instance.phpdoc | #EEFFFF | — |
| variable.other.jsdoc, variable.other.phpdoc | #78CCF0 | — |
| variable.other.meta.import.js, meta.import.js variable.other, variable.other.meta.export.js, meta.export.js variable.other | #EEFFFF | — |
| variable.parameter.function.js | #7986E7 | — |
| variable.other.readwrite.js | #EEFFFF | — |
| meta.jsx.children, meta.jsx.children.js, meta.jsx.children.tsx | #EEFFFF | — |
| variable.other.object.js, variable.other.object.jsx, meta.object-literal.key.js, meta.object-literal.key.jsx, variable.object.property.js, variable.object.property.jsx | #EEFFFF | — |
| variable.js, variable.other.js | #EEFFFF | — |
| entity.name.type.js, entity.name.type.module.js | #EEFFFF | — |
| support.class.js | #EEFFFF | — |
| support.type.property-name.json | #C3E88D | bold |
| support.constant.json | #FFCB6B | — |
| meta.structure.dictionary.value.json string.quoted.double | #80CBC4 | italic |
| string.quoted.double.json punctuation.definition.string.json | #80CBC4 | italic |
| meta.structure.dictionary.json meta.structure.dictionary.value constant.language | #FF5370 | — |
| variable.other.ruby | #BFC7D5 | — |
| constant.language.symbol.hashkey.ruby | #89DDFF | — |
| entity.name.tag.less | #FF5370 | — |
| meta.attribute-selector.less entity.other.attribute-name.attribute | #F78C6C | — |
| markup.heading | #82B1FF | — |
| markup.italic | #C792EA | italic |
| markup.bold | #FFCB6B | bold |
| markup.quote | #697098 | italic |
| markup.inline.raw | #80CBC4 | — |
| markup.underline.link, markup.underline.link.image | #FF869A | — |
| markup.meta.attribute-list | #C3E88D | — |
| markup.admonition | — | bold |
| markup.list.bullet | #EEFFFF | — |
| markup.superscript, markup.subscript | — | italic |
| string.other.link.title.markdown, string.other.link.description.markdown | #EEFFFF | — |
| punctuation.definition.string.markdown, punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, meta.link.inline.markdown punctuation.definition.string | #82AAFF | — |
| punctuation.definition.metadata.markdown | #FF5370 | — |
| beginning.punctuation.definition.list.markdown | #82B1FF | — |
| entity.name.function.asciidoc | #F78C6C | — |
| variable.other.php | #BEC5D4 | — |
| support.class.php | #FFCB8B | — |
| meta.function-call.php punctuation | #BFC7D5 | — |
| variable.other.global.php | #FFCB6B | — |
| variable.other.global.php punctuation.definition.variable | #FFCB6B | — |
| constant.language.python | #FF5370 | — |
| variable.parameter.function.python, meta.function-call.arguments.python | #7986E7 | — |
| meta.function-call.python, meta.function-call.generic.python | #B2CCD6 | — |
| punctuation.python | #BFC7D5 | — |
| entity.name.function.decorator.python | #FFCB6B | — |
| source.python variable.language.special | #8EACE3 | — |
| variable.scss, variable.sass, variable.parameter.url.scss, variable.parameter.url.sass | #DDDDDD | — |
| source.css.scss meta.at-rule variable, source.css.sass meta.at-rule variable | #82AAFF | — |
| source.css.scss meta.at-rule variable, source.css.sass meta.at-rule variable | #BEC5D4 | — |
| meta.attribute-selector.scss entity.other.attribute-name.attribute, meta.attribute-selector.sass entity.other.attribute-name.attribute | #F78C6C | — |
| entity.name.tag.scss, entity.name.tag.sass | #FF5370 | — |
| variable.other.readwrite.alias.ts, variable.other.readwrite.alias.tsx, variable.other.readwrite.ts, variable.other.readwrite.tsx, variable.other.object.ts, variable.other.object.tsx, variable.object.property.ts, variable.object.property.tsx, variable.other.ts, variable.other.tsx, variable.tsx, variable.ts | #EEFFFF | — |
| entity.name.type.ts, entity.name.type.tsx | #82AAFF | — |
| support.class.node.ts, support.class.node.tsx | #82AAFF | — |
| meta.type.parameters.ts entity.name.type, meta.type.parameters.tsx entity.name.type | #EEFFFF | — |
| meta.import.ts punctuation.definition.block, meta.import.tsx punctuation.definition.block, meta.export.ts punctuation.definition.block, meta.export.tsx punctuation.definition.block | #EEFFFF | — |
| meta.decorator punctuation.decorator.ts, meta.decorator punctuation.decorator.tsx | #82AAFF | — |
| meta.tag.js meta.jsx.children.tsx | #82AAFF | — |
| entity.name.tag.yaml | #89DDFF | — |
| variable.parameter.handlebars | #EEFFFF | — |
| entity.other.attribute-name.handlebars variable.parameter.handlebars | #FFCB6B | — |
| entity.other.attribute-name.handlebars | #89DDFF | — |
| entity.other.attribute-value.handlebars variable.parameter.handlebars | #7986E7 | — |
| meta.property-list.css meta.property-value.css variable.other.less, meta.property-list.scss variable.scss, meta.property-list.sass variable.sass | — | italic |
| keyword.other.unit, support.type.property-name.css, support.type.vendored.property-name.css, support.constant.vendored.property-value.css, support.type.property.css, constant.other.color.rgb-value.hex.css, constant.other.rgb-value.css, variable.scss, variable.sass, variable.other.less, variable.parameter.url.scss, variable.parameter.url.sass | — | italic |
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}!`;
}