requiem
Publisher: rober19Themes in package: 3
Full workbench mockup using this variant's colors and tokenColors.
Workbench UI color keys from the theme JSON colors map.
TextMate scopes and font styles (syntax highlighting rules).
| scope | foreground | fontStyle |
|---|---|---|
| emphasis | — | italic |
| strong | — | bold |
| header | #55dfaacc | — |
| comment | #647296 | italic |
| constant.language | #83cd29 | — |
TypeScript sample highlighted with this variant's colors and tokenColors.
| constant.numeric | #83cd29 | — |
| constant.numeric.css | #B03554 | — |
| constant.regexp | #646695 | — |
| entity.name.tag | #1b73ba | — |
| entity.name.tag.css | #83cd29 | — |
| punctuation.definition.variable | #293DF2 | — |
| entity.other.attribute-name | #4AB2EE | bold |
| entity.other.attribute-name.class.css, entity.other.attribute-name.class.mixin.css, entity.other.attribute-name.pseudo-class.css | #00B0AA | — |
| markup.list | #00C2B2 | — |
| entity.other.attribute-name.id.css, entity.other.attribute-name.parent-selector.css, source.css.less entity.other.attribute-name.id, entity.other.attribute-name.attribute.scss, entity.other.attribute-name.scss | #00B0AA | — |
| invalid | #64edff | — |
| markup.underline | — | underline |
| markup.bold | #ee6b90 | bold |
| markup.heading | #8325ba | bold |
| markup.italic | — | italic |
| markup.inserted | #608b4e | — |
| markup.deleted | #608b4e | — |
| markup.changed | #569cd6 | — |
| beginning.punctuation.definition.quote.markdown | #608b4e | — |
| beginning.punctuation.definition.list.markdown | #6796e6 | — |
| markup.inline.raw | #608b4e | — |
| meta.selector | #83cd29 | — |
| punctuation.definition.tag | #868686 | — |
| meta.preprocessor | #569cd6 | — |
| meta.preprocessor.string | #e4a229 | — |
| meta.preprocessor.numeric | #e4a229 | — |
| meta.structure.dictionary.key.python | #9cdcfe | — |
| meta.diff.header | #5000BF | — |
| storage | #dac71c | — |
| storage.type | #FFB42C | — |
| storage.modifier | #3eebce | — |
| string | #B03554 | — |
| string.tag | #C8042E | — |
| string.value | #006CB0 | — |
| string.regexp | #F2D429 | — |
| punctuation.definition.template-expression.begin.js, punctuation.definition.template-expression.begin.ts, punctuation.definition.template-expression.end.ts, punctuation.definition.template-expression.end.js | #293DF2 | — |
| support.type.vendored.property-name, support.type.property-name, variable.css, variable.scss, variable.other.less | #1b73ba | italic |
| keyword | #569cd6 | — |
| keyword.control | #f14c9f | — |
| keyword.operator | #569cd6 | — |
| keyword.operator.new, keyword.operator.expression, keyword.operator.cast | #0CADD5 | — |
| keyword.operator.sizeof, keyword.operator.logical.python | #b97a7f | — |
| keyword.other.unit | #B03554 | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #569cd6 | — |
| support.function.git-rebase | #3c9dd1 | — |
| constant.sha.git-rebase | #569cd6 | — |
| #801e11 | — |
| variable.language | #77dfff | italic |
| entity.name.function, support.function, support.constant.handlebars | #3EC4EB | italic |
| storage.type.cs, storage.type.primitive.java, storage.type.token.java, storage.type.object.array.java, storage.type.primitive.array.java, storage.modifier.import.java | #00C2A2 | — |
| storage.type.generic.cs, storage.type.modifier.cs, storage.type.annotation.java, storage.type.generic.java | #f16529 | — |
| storage.type.primitive.java, storage.type.java, storage.modifier.package.java, variable.language.wildcard.java | #64edff | — |
| storage.type.variable.cs | #e4a229 | — |
| meta.return-type, support.class, support.type, entity.name.type, entity.name.class, storage.type.groovy, storage.type.annotation.groovy, storage.type.parameters.groovy, storage.type.generic.groovy, storage.type.object.array.groovy, storage.type.primitive.array.groovy, storage.type.primitive.groovy | #00C2A2 | — |
| meta.type.cast.expr, meta.type.new.expr, support.class, support.constant.math, support.constant.dom, support.constant.json, entity.other.inherited-class | #00C2A2 | — |
| keyword.control | #FFB42C | — |
| variable, meta.definition.variable.name, support.variable | #11affd | — |
| meta.object-literal.key, meta.object-literal.key entity.name.function | #80E9FF | italic |
| support.constant.property-value, support.constant.font-name, support.constant.media-type, support.constant.media, constant.other.color.rgb-value, constant.other.rgb-value, support.constant.color | #4AB2EE | — |
| entity.name.function | #f16529 |
| entity.name.function.cs | #f16529 |
| entity.name.function.java | #f16529 |
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}!`;
}
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}!`;
}