Quattro Light Theme
Publisher: Alexander ZeitlerThemes in package: 1
Light color theme based on the 1989 Audi 90 quattro IMSA GTO: cool grey background from the car body, anthracite foreground, accents in Audi Sport red
Light color theme based on the 1989 Audi 90 quattro IMSA GTO: cool grey background from the car body, anthracite foreground, accents in Audi Sport red
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 | #6E6F74 | italic |
| variable, string constant.other.placeholder | #1E1F24 | — |
| variable.parameter, entity.name.variable.parameter, meta.function.parameter | #3F6E7A | italic |
| variable.other.property, variable.other.object.property | #3F6E7A | — |
| variable.other.constant | #9A7A2A | — |
| variable.other.enummember | #9C4526 | — |
| invalid, invalid.illegal | #9E1B1F | strikethrough |
| invalid.deprecated | #7A5F14 | strikethrough |
| keyword, storage.type.class, storage.type.function | #B04A57 | — |
| storage.modifier | #7A5F14 | — |
| keyword.control, keyword.control.flow | #B04A57 | — |
| keyword.control.import, keyword.control.export, keyword.control.from, keyword.control.as | #C81017 | — |
| keyword.operator, keyword.operator.new, keyword.operator.expression, keyword.operator.logical, keyword.operator.comparison | #DE3A3F | — |
| punctuation.accessor, punctuation.separator.key-value | #DE3A3F | — |
| storage.type, entity.name.type | #7A5F14 | — |
| storage.type.primitive, support.type | #1E1F24 | — |
| entity.name.type.class, support.class, entity.other.inherited-class | #7A5F14 | — |
| entity.name.type.interface | #7A5F14 | — |
| entity.name.type.enum | #7A5F14 | — |
| entity.name.type.parameter | #7A5F14 | italic |
| entity.name.namespace, entity.name.type.module | #C81017 | — |
| entity.name.function, meta.function-call.generic | #C81017 | — |
| support.function | #3F6E7A | — |
| entity.name.function.method, meta.method.declaration | #C81017 | — |
| entity.name.function.decorator, meta.decorator, punctuation.decorator | #3F6E7A | italic |
| punctuation, meta.brace, meta.bracket | #121317 | — |
| constant.numeric, constant.numeric.integer, constant.numeric.float, constant.numeric.hex, constant.numeric.octal, constant.numeric.binary | #9C4526 | — |
| constant.language.boolean | #9C4526 | — |
| constant.language, constant.language.null, constant.language.undefined | #3F6E7A | — |
| constant.character | #2F6248 | — |
| constant.character.escape | #B04A57 | — |
| string, string.quoted, string.template | #2F6248 | — |
| punctuation.definition.template-expression, punctuation.section.embedded, meta.embedded.line | #DE3A3F | — |
| string.regexp, constant.other.character-class.regexp, constant.character.escape.regexp | #52889A | — |
| support.type.property-name, support.constant | #3F6E7A | — |
| entity.name.tag, meta.tag | #7A5F14 | — |
| entity.other.attribute-name | #1E1F24 | — |
| support.type.property-name.css, support.type.vendored.property-name.css, meta.property-name.css | #3F6E7A | — |
| support.constant.property-value.css, meta.property-value.css | #1E1F24 | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.id.css | #7A5F14 | — |
| entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css | #3F6E7A | italic |
| keyword.other.unit.css | #9C4526 | — |
| source.json meta.structure.dictionary.json support.type.property-name.json | #9C4526 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #7A5F14 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #C81017 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #B04A57 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #3F6E7A | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #2F6248 | — |
| markup.heading, entity.name.section.markdown, punctuation.definition.heading.markdown | #C81017 | bold |
| markup.bold, punctuation.definition.bold.markdown | #1E1F24 | bold |
| markup.italic, punctuation.definition.italic.markdown | #1E1F24 | italic |
| markup.underline.link, string.other.link.title.markdown, string.other.link.description.markdown | #C81017 | — |
| markup.inline.raw, markup.fenced_code.block, markup.raw.block | #2F6248 | — |
| markup.quote, punctuation.definition.quote.begin.markdown | #6E6F74 | italic |
| punctuation.definition.list.begin.markdown, markup.list.numbered, markup.list.unnumbered | #3F6E7A | — |
| markup.inserted, punctuation.definition.inserted | #2F6248 | — |
| markup.deleted, punctuation.definition.deleted | #9E1B1F | — |
| markup.changed, punctuation.definition.changed | #9C4526 | — |
| variable.language.this, variable.language.self, variable.language.special.self | #1E1F24 | italic |
| meta.object-literal.key, string.unquoted.label.js | #1E1F24 | — |
| entity.name.type.lifetime.rust, punctuation.definition.lifetime.rust | #3F6E7A | italic |
| entity.name.function.macro.rust, support.function.macro.rust | #3F6E7A | — |
| variable.other.normal.shell, variable.other.positional.shell, variable.other.bracket.shell | #1E1F24 | — |
| entity.name.command.shell | #C81017 | — |
| support.function.builtin.shell | #3F6E7A | — |
| entity.name.tag.yaml | #3F6E7A | — |
| keyword.key.toml, support.type.property-name.toml | #3F6E7A | — |
| entity.other.attribute-name.table.toml, support.type.property-name.table.toml | #7A5F14 | — |
| entity.name.section.group-title.ini, punctuation.definition.entity.ini | #7A5F14 | — |
| keyword.other.definition.ini | #3F6E7A | — |
| entity.name.function.target.makefile | #C81017 | — |
| variable.other.makefile | #1E1F24 | — |
| entity.name.package.go | #C81017 | — |
| variable.parameter.function.language.special.self.python | #1E1F24 | italic |
| support.function.magic.python, support.variable.magic.python | #3F6E7A | italic |
| variable.other.php, punctuation.definition.variable.php | #1E1F24 | — |
| meta.preprocessor.c, meta.preprocessor.include.c, keyword.control.directive.include.c | #3F6E7A | — |
| meta.attribute.csharp, entity.name.type.attribute.csharp | #3F6E7A | — |
| keyword.other.DML.sql, keyword.other.DDL.sql | #B04A57 | — |
| support.type.graphql, entity.name.type.graphql | #7A5F14 | — |
| variable.graphql, variable.other.graphql | #1E1F24 | — |
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}!`;
}