Cinder Grove
Publisher: aileksThemes in package: 1
A warm, muted dark theme for Visual Studio Code that's easy on the eyes.
A warm, muted dark theme for Visual Studio Code that's easy on the eyes.
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 |
|---|---|---|
| Default text | #BBB3A9 | — |
| comment, punctuation.definition.comment, string.comment | #878077 | italic |
| comment.block.documentation, string.quoted.docstring, string.documentation | #9A938A | italic |
| string, string.regexp, constant.other.symbol, punctuation.definition.string.begin, punctuation.definition.string.end | #E17A3F | — |
| constant.character, constant.other.character-class | #E17A3F | — |
| constant.character.escape, constant.character.entity, string.regexp constant.character.escape | #DDD5CA | bold |
| constant.numeric, constant.language, constant.other, variable.other.constant | #58918C | — |
| constant.other.placeholder, constant.other.macro, entity.name.function.preprocessor, meta.preprocessor.macro | #9A788F | italic |
| variable, entity.name.variable | #BBB3A9 | — |
| variable.language, variable.other.readwrite.instance, support.variable | #58918C | italic |
| variable.parameter, variable.parameter.function, meta.function.parameters variable | #6785A1 | italic |
| variable.other.property, variable.other.object.property, meta.property-name, support.type.property-name | #DDD5CA | — |
| variable.other.enummember, constant.other.enum | #879B5C | — |
| keyword, keyword.control, keyword.other, storage, storage.type, storage.modifier | #9A788F | — |
| keyword.operator, keyword.operator.word, punctuation.separator.key-value | #879B5C | — |
| entity.name.function, entity.name.function.member, support.function, meta.function-call, variable.function | #DDD5CA | bold |
| entity.name.function.constructor, support.function.construct | #DDD5CA | italic |
| entity.name.type, entity.name.class, entity.name.struct, entity.name.enum, entity.name.interface, support.type, support.class, storage.type.class, storage.type.struct | #58918C | italic |
| entity.name.namespace, entity.name.module, entity.name.package, meta.module-reference | #6785A1 | bold |
| entity.name.function.decorator, entity.name.decorator, meta.decorator, meta.attribute | #9A788F | — |
| entity.name.tag, support.class.component | #6785A1 | italic |
| entity.other.attribute-name, entity.other.attribute-name.html, entity.other.attribute-name.jsx | #E17A3F | — |
| punctuation, punctuation.separator, punctuation.terminator | #878077 | — |
| punctuation.section, punctuation.definition.parameters, punctuation.definition.block, meta.brace, meta.bracket | #878077 | — |
| markup.heading, markup.heading entity.name, punctuation.definition.heading, entity.name.section | #E17A3F | bold |
| markup.bold, punctuation.definition.bold | — | bold |
| markup.italic, punctuation.definition.italic | — | italic |
| markup.strikethrough | — | strikethrough |
| markup.quote | #D9A441 | — |
| markup.underline.link, string.other.link, constant.other.reference.link | #E17A3F | underline |
| markup.underline.link.image, meta.link.inline.markdown string, meta.link.reference.def.markdown string | #6785A1 | underline |
| markup.inline.raw, markup.fenced_code.block.markdown | #DDD5CA | — |
| markup.list, punctuation.definition.list.begin.markdown | #879B5C | — |
| markup.inserted, punctuation.definition.inserted, meta.diff.header.to-file | #879B5C | — |
| markup.deleted, punctuation.definition.deleted, meta.diff.header.from-file | #B34A45 | — |
| markup.changed, punctuation.definition.changed | #58918C | — |
| invalid, invalid.illegal, invalid.broken, message.error | #B34A45 | bold |
| invalid.deprecated | #9A938A | strikethrough |
| token.info-token, token.warn-token, token.error-token, token.debug-token | #6785A1 | — |
| support.type.property-name.json, support.type.property-name.json.comments | #DDD5CA | — |
| punctuation.support.type.property-name.begin.json, punctuation.support.type.property-name.end.json, punctuation.definition.mapping.yaml, punctuation.definition.table.toml | #878077 | — |
| entity.name.tag.yaml, support.type.property-name.toml, meta.mapping.key.yaml string.unquoted | #DDD5CA | — |
| entity.name.type.anchor.yaml, variable.other.alias.yaml | #D9A441 | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.id.css, entity.name.tag.css | #ACA49B | — |
| support.type.property-name.css, support.type.vendored.property-name.css | #DDD5CA | — |
| keyword.other.unit.css, keyword.other.unit.scss, keyword.other.unit.less | #58918C | — |
| support.function.builtin.python, support.type.python, support.function.magic.python | #DDD5CA | bold |
| variable.language.special.self.python | #58918C | italic |
| entity.name.function.macro.rust, meta.macro.rust | #9A788F | italic |
| variable.other.normal.shell, variable.other.positional.shell, variable.other.special.shell | #6785A1 | — |
| variable.other.property.js, variable.other.property.ts, variable.other.property.tsx, meta.object-literal.key.js, meta.object-literal.key.ts | #DDD5CA | — |
| string.template.js, string.template.ts, string.template.tsx, string.interpolated | #E17A3F | — |
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}!`;
}