Geaux Themes
Publisher: williamgThemes in package: 6
A bold collection of 6 dark themes: Purple Gold, Bayou, Rougarou, Irradiated (Pip-Boy), Vieux Carre, and Gris. Louisiana-inspired, developer-approved.
A bold collection of 6 dark themes: Purple Gold, Bayou, Rougarou, Irradiated (Pip-Boy), Vieux Carre, and Gris. Louisiana-inspired, developer-approved.
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 |
|---|---|---|
| source, text | #E8DDD0 | — |
| comment, punctuation.definition.comment | #5A3A3A | italic |
| string, string.quoted, string.template, punctuation.definition.string | #E8943A | — |
| constant.numeric | #FFB45A | — |
| constant.language | #FFB45A | italic |
| constant.character, constant.other | #FFB45A | — |
| keyword, keyword.control, keyword.operator.new | #CC3333 | bold |
| keyword.operator | #E8DDD0 | — |
| storage, storage.type | #CC3333 | italic |
| storage.modifier | #CC3333 | italic |
| entity.name.type, entity.name.class, support.class, entity.other.inherited-class | #FF5555 | underline |
| entity.name.function, support.function, meta.function-call | #E86A5A | — |
| variable.parameter | #E8943A | italic |
| variable, variable.other | #E8DDD0 | — |
| variable.language | #CC3333 | italic |
| variable.other.property, variable.other.object.property, support.variable.property, meta.object-literal.key | #D8C0B0 | — |
| entity.name.tag | #CC3333 | — |
| entity.other.attribute-name | #E8943A | italic |
| entity.name.tag.css, entity.other.attribute-name.class.css, entity.other.attribute-name.id.css | #CC3333 | — |
| support.type.property-name.css | #E8DDD0 | — |
| support.constant.property-value.css | #E8943A | — |
| keyword.other.unit.css | #FFB45A | — |
| punctuation.separator, punctuation.terminator, punctuation.accessor | #A89888 | — |
| punctuation.section, punctuation.definition.block, meta.brace | #A89888 | — |
| markup.heading, entity.name.section.markdown | #CC3333 | bold |
| markup.bold | #E8943A | bold |
| markup.italic | #9B5675 | italic |
| markup.underline.link | #5A8B7A | — |
| markup.inline.raw, markup.fenced_code | #E8943A | — |
| support.type.property-name.json | #CC3333 | — |
| string.quoted.double.json | #E8943A | — |
| entity.name.tag.yaml | #CC3333 | — |
| meta.decorator, punctuation.decorator | #9B5675 | italic |
| string.regexp | #5A8B7A | — |
| constant.character.escape | #5A8B7A | — |
| support.type, support.class | #FF5555 | — |
| support.constant | #FFB45A | — |
| invalid | #FFFFFF | — |
| invalid.deprecated | #FFFFFF | — |
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}!`;
}