Cinder
Publisher: Felipe LazzariniThemes in package: 1
A warm, cinematic dark theme — burning embers, antique gold, oxidized copper. Built on the Cinder design language.
A warm, cinematic dark theme — burning embers, antique gold, oxidized copper. Built on the Cinder design language.
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 | #A69E93 | italic |
| comment.block.documentation, comment.block.documentation punctuation | #A69E93 | |
| keyword, keyword.control, keyword.other, storage, storage.type, variable.language.this, variable.language.super, constant.language.import-export-all | #EC8F68 | — |
| storage.modifier | #EC8F68 | italic |
| keyword.operator, keyword.operator.logical, keyword.operator.arithmetic, keyword.operator.assignment, keyword.operator.comparison | #ABA399 | — |
| keyword.operator.new, keyword.operator.expression, keyword.operator.delete, keyword.operator.typeof, keyword.operator.instanceof | #EC8F68 | — |
| punctuation, punctuation.separator, punctuation.terminator, punctuation.definition.block, punctuation.section, meta.brace | #A69E93 | — |
| entity.name.function, support.function, meta.function-call entity.name.function, meta.method-call entity.name.function, source.powershell support.function | #DFBC59 | — |
| entity.name.function.decorator, meta.decorator entity.name.function, meta.decorator punctuation.decorator, storage.type.annotation, punctuation.definition.annotation, meta.annotation.identifier | #CBA32D | italic |
| entity.name.type, entity.name.class, entity.other.inherited-class, support.class, support.type, entity.name.type.enum, storage.type.primitive, keyword.type | #92A9C2 | — |
| entity.name.type.interface | #92A9C2 | italic |
| entity.name.type.namespace, entity.name.type.module, entity.name.namespace, storage.modifier.package, storage.modifier.import | #92A9C2 | — |
| variable, variable.other.readwrite, variable.other.property, variable.other.object, variable.other.object.property, support.variable.property, meta.object-literal.key | #EAE4DB | — |
| variable.parameter, meta.function.parameters variable | #EAE4DB | italic |
| constant, constant.numeric, constant.language, constant.language.boolean, constant.language.null, constant.language.undefined, variable.other.constant, variable.other.enummember, support.constant, keyword.other.unit | #BE97B8 | — |
| string, string.quoted, string.template, punctuation.definition.string | #7DB5A0 | — |
| constant.character.escape, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded, constant.other.placeholder | #F3B69C | — |
| string.regexp | #7DB5A0 | — |
| keyword.operator.quantifier.regexp | #EC8F68 | — |
| constant.other.character-class.regexp, constant.other.character-class.set.regexp | #BE97B8 | — |
| punctuation.definition.group.regexp | #CBA32D | — |
| invalid, invalid.illegal | #E58177 | — |
| invalid.deprecated | #A69E93 | strikethrough |
| entity.name.tag, support.class.component | #EC8F68 | — |
| punctuation.definition.tag | #A69E93 | — |
| entity.other.attribute-name | #CBA32D | italic |
| constant.character.entity | #F3B69C | — |
| entity.other.attribute-name.class.css, source.css entity.name.tag | #DFBC59 | |
| entity.other.attribute-name.id.css | #EC8F68 | |
| entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css | #EC8F68 | italic |
| support.type.property-name.css, support.type.vendored.property-name.css | #92A9C2 | — |
| support.constant.property-value.css, meta.property-value.css | #EAE4DB | — |
| keyword.other.unit.css, constant.numeric.css | #BE97B8 | — |
| keyword.control.at-rule, punctuation.definition.keyword.css | #EC8F68 | — |
| keyword.other.important.css | #E58177 | bold |
| support.type.property-name.json, source.json meta.structure.dictionary.json support.type.property-name.json | #92A9C2 | — |
| entity.name.tag.yaml | #92A9C2 | — |
| entity.name.type.anchor.yaml, variable.other.alias.yaml | #BE97B8 | — |
| storage.type.tag-handle.yaml | #EC8F68 | — |
| markup.heading, markup.heading entity.name, punctuation.definition.heading.markdown | #DFBC59 | bold |
| markup.bold | #EAE4DB | bold |
| markup.italic | #EAE4DB | italic |
| string.other.link.title.markdown, string.other.link.description.markdown | #92A9C2 | underline |
| markup.underline.link | #92A9C2 | — |
| markup.inline.raw, punctuation.definition.raw.markdown | #F3B69C | — |
| markup.fenced_code.block.markdown, markup.raw.block.markdown | #CFC8BD | — |
| markup.quote, punctuation.definition.quote.begin.markdown | #A69E93 | italic |
| punctuation.definition.list.begin.markdown | #EC8F68 | — |
| meta.separator.markdown | #524C44 | — |
| keyword.other.DML.sql, keyword.other.data-integrity.sql, keyword.other.sql | #EC8F68 | — |
| support.function.aggregate.sql, support.function.scalar.sql | #DFBC59 | — |
| support.function.builtin.shell, keyword.control.shell | #EC8F68 | — |
| variable.other.normal.shell, punctuation.definition.variable.shell, variable.other.special.shell, variable.parameter.positional.shell, string.interpolated.dollar.shell | #F3B69C | — |
| constant.other.option.shell, constant.other.option.dash.shell | #ABA399 | — |
| markup.inserted, punctuation.definition.inserted.diff | #7DB5A0 | — |
| markup.deleted, punctuation.definition.deleted.diff | #E58177 | — |
| markup.changed | #CBA32D | — |
| meta.diff.header, meta.diff.header.from-file, meta.diff.header.to-file | #92A9C2 | bold |
| meta.diff.range | #BE97B8 | — |
| keyword.control.anchor.regexp | #F3B69C | — |
| keyword.codetag.notation, storage.type.class.todo, comment keyword.other.todo, comment keyword.other.fixme | #CBA32D | 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}!`;
}