Even in Arcadia
Publisher: lemon-lThemes in package: 1
A dark forest green and weathered gold theme inspired by Sleep Token's Even in Arcadia. Unofficial fan theme; not affiliated with Sleep Token.
A dark forest green and weathered gold theme inspired by Sleep Token's Even in Arcadia. Unofficial fan theme; not affiliated with Sleep Token.
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 | #6b8a6a | italic |
| string, constant.other.symbol, constant.other.key | #8fb88a | — |
| constant.character.escape, string source | #a8c4a0 | — |
| constant.numeric | #c9943a | — |
| constant.language, constant.character, constant.other | #c9943a | — |
| keyword, storage.type, storage.modifier | #c9a227 | bold |
| keyword.control, keyword.operator.new, keyword.operator.expression, keyword.operator.cast | #d4af37 | — |
| keyword.operator | #a8b5a0 | — |
| punctuation, meta.brace, punctuation.definition.tag | #a8b5a0 | — |
| variable, support.variable | #d4c4a0 | — |
| variable.parameter, meta.parameter | #c8b090 | italic |
| entity.name.function, support.function, meta.function-call | #e87a9e | — |
| entity.name.function.member, meta.method | #db6b95 | — |
| entity.name.class, support.class | #d4577f | — |
| entity.name.type, support.type | #e0668f | — |
| entity.name.type.interface, entity.other.inherited-class | #c47a96 | italic |
| entity.name.tag, meta.tag | #c9a227 | — |
| entity.other.attribute-name | #c9943a | italic |
| variable.other.property, variable.other.object.property, support.variable.property | #b8c9a8 | — |
| entity.name.namespace, entity.name.scope-resolution | #8ab8d4 | — |
| meta.decorator, punctuation.decorator, entity.name.function.decorator | #c9943a | — |
| string.regexp | #d4a0a0 | — |
| markup.heading, entity.name.section | #e8c547 | bold |
| markup.bold | #d4c4a0 | bold |
| markup.italic | #d4c4a0 | italic |
| markup.underline.link | #c9a227 | — |
| markup.inline.raw, markup.fenced_code.block | #8fb88a | — |
| markup.quote | #6b8a6a | italic |
| support.type.property-name.json | #a8b5a0 | — |
| entity.other.attribute-name.class.css | #d4577f | — |
| entity.other.attribute-name.id.css | #e87a9e | — |
| entity.name.tag.css | #c9a227 | — |
| support.type.property-name.css | #8fb88a | — |
| support.constant.property-value.css, constant.other.color.rgb-value.css | #c9943a | — |
| invalid, invalid.illegal | #d4736a | underline |
| invalid.deprecated | #c9943a | strikethrough |
| markup.inserted | #6b9e6a | — |
| markup.deleted | #d4736a | — |
| markup.changed | #c9a227 | — |
| comment.line.todo, comment.line.fixme, comment.block.todo | #e8c547 | 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}!`;
}