Vermilion Theme's
Publisher: arkikkyThemes in package: 1
A beautifully crafted dark theme inspired by deep red tones (#CF0C4D) with elegant contrasts and focus-driven design.
A beautifully crafted dark theme inspired by deep red tones (#CF0C4D) with elegant contrasts and focus-driven design.
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 |
|---|---|---|
| modifier, this, comment, storage.modifier, entity.other.attribute-name, entity.other.attribute-name.html, punctuation.definition.comment, text.html.basic entity.other, entity.other.attribute-name, markup.quote.markdown meta.paragraph.markdown, markup.italic.markdown, text.jade entity.other.attribute-name.tag, keyword.control.from, entity.other.attribute-name.tag.pug | — | italic |
| modifier, this, comment, comment.line.double-slash, markup.quote.markdown, meta.diff, meta.diff.header, meta.function.expression, meta.structure.array.json.comments, meta.structure.dictionary.value.json.comments, meta.structure.dictionary.json.comments, meta.structure.dictionary.value.json.comments, meta.structure.dictionary.json.comments, variable.other.constant, variable.other.readwrite, source.json.comments | #959899 | — |
| source.jsx, source.json, source.php, source.sql, meta.block, meta.parameters, meta.tsx.children.tsx, meta.jsx.children.js, meta.type.parameters, meta.type.annotation, punctuation.accessor, punctuation.definition.tag, punctuation.separator.array.json, punctuation.separator.dictionary.key-value.json, punctuation.separator.dictionary.pair.json, punctuation.separator.comma, punctuation.separator.list.comma.css, punctuation.terminator.statement, punctuation.terminator.apply.tailwind, punctuation.separator.comma.js.jsx, punctuation.separator.key-value.ts, punctuation.definition.string.begin.go, punctuation.definition.string.end.go, punctuation.separator.period.java, punctuation.separator.arguments.python, punctuation.separator.parameters.python, punctuation.section.function.begin.python, punctuation.separator.colon.python, punctuation.separator.dict.python, punctuation.separator.element.python, punctuation.separator.period.python, punctuation.separator.delimiter.java, punctuation.terminator.java, keyword.operator.arithmetic.js, keyword.operator.arithmetic.jsx, keyword.operator.arithmetic.ts, keyword.operator.arithmetic.tsx, keyword.operator.arithmetic.java, keyword.operator.arithmetic.go, keyword.operator.arithmetic.php, keyword.operator.arithmetic.py, keyword.operator.assignment, keyword.operator.relational, keyword.operator, keyword.operator.type.annotation, storage.type.function.arrow, storage.type.function.arrow.js, storage.type.function.arrow.jsx, storage.type.function.arrow.tsx | #D3D3D3 | — |
| source.ignore, source.toml, source.python, support.function, support.type.primitive, support.type.property-name.json, support.type.primitive, support.constant.media, support.constant.property-value, entity.name.type, entity.other.attribute-name, variable.other.assignment.shell, variable.other.property, variable.other.constant.object, variable.other.readwrite, variable.other.readwrite.alias, keyword.other.unit, keyword.other.unit.percentage.css, keyword.other.definition.ini, keyword.other.unit.rem.css, constant.language.boolean, constant.character.escape, constant.character.escape.codepoint.css, constant.numeric.decimal, constant.numeric.css, constant.other.color.rgb-value.hex.css, meta.property-name.css, meta.property-value.css, meta.at-rule.apply.tailwind, punctuation.definition.template-expression, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.definition.block.tag.jsdoc, string.quoted.double.toml, storage.type.numeric.go, storage.type.string.go, storage.type.java, storage.type.numeric.java, storage.type.string.java, storage.type.primitive.java, constant.other.table-name.sql, storage.type.sql, constant.other.database-name.sql, storage.type.class.jsdoc, meta.definition.variable.java, meta.item-access.python, meta.item-access.arguments.python | #FF8E3C | — |
| source.ini, source.shell, constant.numeric, constant.language, variable.parameter, variable.other.constant.js.jsx, variable.other.constant.ts.tsx, entity.name.type.interface, entity.name.function.member, meta.objectliteral, meta.method.body.java, meta.method.java, meta.expression.assignment.shell, meta.structure.dictionary.json, meta.structure.dictionary.value.json, punctuation.definition.dictionary.begin.json, punctuation.definition.string.begin.php, punctuation.definition.string.end.php, support.class, support.class.component, storage.type.string.python, string.quoted.raw.go, string.quoted.double.php, entity.name.function.sql | #FFD931 | — |
| variable.css, storage.modifier.sql, constant.numeric.sql, keyword.operator.new, keyword.operator.expression, support.variable, support.type.builtin, support.type.property-name, support.variable.property, support.type.vendored.property-name, entity.name.function, entity.other.keyframe-offset.css, meta.object-literal.key, meta.object-literal.key.js, storage.modifier.async | #29A9FF | — |
| meta.create.sql, meta.objectliteral, support.constant.font-name, string.template, string.quoted.double, string.quoted.single, punctuation.definition.string, entity.other.attribute-name.class.css, entity.other.keyframe-offset.percentage.css, entity.other.attribute-name.pseudo-element.css | #5ADD74 | — |
| meta.objectliteral, punctuation.definition.block, support.type.object.module, keyword.control, keyword.control.flow, keyword.control.flow.python, keyword.other.sql, keyword.other.create.sql, keyword.other.DML.sql, keyword.other.DML.II.sql, keyword.other.DML.III.sql, storage.type, storage.type.function | #C832FF | — |
| entity.name.tag, entity.name.type.module, entity.name.tag.css, entity.other.attribute-name.pseudo-class.css, meta.tag.js, meta.selector.css, meta.indexed-name.python, meta.function-call.python, meta.item-access.python, meta.export.default, meta.template.expression, meta.function-call.tsx, meta.function.parameters.php, meta.function.parameter.no-default.php, meta.definition.variable.java, meta.object-literal.key.ts, variable.php, variable.js, variable.jsx, variable.tsx, variable.argument.css, variable.other.php, variable.other.go, variable.other.object, variable.other.assignment.go, variable.other.definition.java, variable.object.property, variable.other.constant, variable.other.property, variable.other.object.property, variable.other.global.safer.php, keyword.operator.logical, keyword.operator.arithmetic, keyword.other.DDL.create.II.sql, support.function.builtin.python, punctuation.section.embedded.begin.php, constant.character.escape.css, invalid.illegal.expected-array-separator.json.comments | #FF2869 | — |
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}!`;
}