Macrodata Refiners Severance Theme
Publisher: guinetikThemes in package: 5
Vibe Refining
Vibe Refining
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 |
|---|---|---|
| comment, punctuation.definition.comment | #7a9299 | italic |
| comment.block.documentation | #6a6570 | italic |
| keyword, keyword.control, keyword.control.flow, keyword.control.import, keyword.control.export, keyword.control.default, keyword.control.conditional, keyword.control.loop, keyword.other | #ff00dd | bold |
| storage, storage.type, storage.modifier | #aa00ff | bold |
| string.quoted.docstring, comment.block.documentation.python | #8aa5aa | italic |
| string, string.quoted, string.template | #00ffee | — |
| string.quoted.double punctuation.definition.string, string.quoted.single punctuation.definition.string, string.template punctuation.definition.string | #00ffee | — |
| constant.character.escape, string constant.character.escape | #66ffff | — |
| punctuation.definition.template-expression, meta.template.expression | #33eeff | — |
| constant.numeric, constant.language.numeric | #ff8800 | — |
| constant.language.boolean, constant.language.null, constant.language.undefined | #ffaa00 | — |
| constant, constant.other, variable.other.constant | #ffaa00 | — |
| variable, variable.other, variable.other.readwrite, variable.other.object | #e8e0f0 | — |
| variable.other.property, variable.other.member, meta.object.member, support.variable.property | #ccc0d0 | — |
| variable.language, variable.language.this, variable.language.super | #ff5522 | bold |
| entity.name.function, meta.function-call entity.name.function, support.function | #33aaff | — |
| meta.function-call, variable.function | #0088ff | — |
| meta.method-call entity.name.function, entity.name.method | #33aaff | — |
| entity.name.class, entity.name.type.class, support.class | #ff33ee | bold |
| entity.name.type, support.type, storage.type.primitive, storage.type.built-in | #aa00ff | — |
| entity.name.type.interface, entity.other.inherited-class | #cc33ff | — |
| entity.name.type.enum | #8800cc | — |
| variable.parameter, meta.function.parameters variable, meta.parameters variable | #e8e0f0 | italic |
| keyword.operator, keyword.operator.arithmetic, keyword.operator.logical, keyword.operator.comparison, keyword.operator.relational, keyword.operator.bitwise | #ff3311 | — |
| keyword.operator.assignment | #00ddff | — |
| punctuation.definition.parameters, punctuation.definition.block, punctuation.definition.bracket, punctuation.definition.dictionary, punctuation.definition.array, punctuation.section.brackets, punctuation.section.braces, punctuation.section.parens, meta.brace.round, meta.brace.square, meta.brace.curly | #9a95a0 | — |
| punctuation.separator, punctuation.terminator, punctuation.separator.comma, punctuation.separator.period, meta.delimiter | #6a6570 | — |
| entity.name.tag, meta.tag | #ff00dd | — |
| entity.other.attribute-name, meta.tag entity.other.attribute-name | #0088ff | — |
| meta.object-literal.key, meta.object.member, support.type.property-name | #ccc0d0 | — |
| entity.name.function.decorator, meta.decorator, punctuation.decorator | #ff8800 | — |
| storage.type.annotation, punctuation.definition.annotation | #ffdd00 | — |
| entity.name.namespace, entity.name.module, support.other.namespace | #8800cc | — |
| entity.name.label | #ffdd00 | — |
| string.regexp, constant.character.regexp | #ff8800 | — |
| entity.name.tag.css, entity.other.attribute-name.class.css, entity.other.attribute-name.id.css | #00ddff | — |
| support.type.property-name.css | #ccc0d0 | — |
| support.constant.property-value.css, constant.other.color.css | #ffaa00 | — |
| support.type.property-name.json, meta.structure.dictionary.key.json string.quoted | #ccc0d0 | — |
| markup.heading, entity.name.section.markdown | #ff33ee | bold |
| markup.bold | — | bold |
| markup.italic | — | italic |
| markup.underline.link, string.other.link.markdown | #33aaff | — |
| markup.inline.raw, markup.fenced_code | #00ddff | — |
| variable.language.special.self.python, variable.parameter.function.language.special.self.python | #ff5522 | bold |
| entity.name.function.decorator.python | #ff8800 | — |
| support.function.magic.python | #ff00dd | — |
| variable.other.readwrite.alias, meta.import variable.other, meta.export variable.other | #e8e0f0 | — |
| entity.name.type.parameter | #00bbcc | italic |
| entity.name.tag.tsx, entity.name.tag.jsx, support.class.component.tsx, support.class.component.jsx | #ff33ee | bold |
| invalid, invalid.illegal | #ffffff | — |
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}!`;
}