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 | #FFE082 | — |
| comment, punctuation.definition.comment | #7E74B8 | italic |
| string, string.quoted, string.template, punctuation.definition.string | #ADFF2F | — |
| constant.numeric | #FF9E64 | — |
| constant.language | #FF9E64 | italic |
| constant.character, constant.other | #FF9E64 | — |
| keyword, keyword.control, keyword.operator.new | #FFD600 | bold |
| keyword.operator | #FFE082 | — |
| storage, storage.type | #FFD600 | italic |
| storage.modifier | #FFD600 | italic |
| entity.name.type, entity.name.class, support.class, entity.other.inherited-class | #FFF176 | underline |
| entity.name.function, support.function, meta.function-call | #FFEB3B | — |
| variable.parameter | #FF9E64 | italic |
| variable, variable.other | #FFE082 | — |
| variable.language | #FFD600 | italic |
| variable.other.property, variable.other.object.property, support.variable.property, meta.object-literal.key | #FFF9C4 | — |
| entity.name.tag | #FFD600 | — |
| entity.other.attribute-name | #FFEB3B | italic |
| entity.name.tag.css, entity.other.attribute-name.class.css, entity.other.attribute-name.id.css | #FFD600 | — |
| support.type.property-name.css | #FFE082 | — |
| support.constant.property-value.css | #FFF176 | — |
| keyword.other.unit.css | #FF9E64 | — |
| punctuation.separator, punctuation.terminator, punctuation.accessor | #C5BFF3 | — |
| punctuation.section, punctuation.definition.block, meta.brace | #C5BFF3 | — |
| markup.heading, entity.name.section.markdown | #FFD600 | bold |
| markup.bold | #FFEB3B | bold |
| markup.italic | #FFF176 | italic |
| markup.underline.link | #80CBC4 | — |
| markup.inline.raw, markup.fenced_code | #ADFF2F | — |
| support.type.property-name.json | #FFD600 | — |
| string.quoted.double.json | #ADFF2F | — |
| entity.name.tag.yaml | #FFD600 | — |
| meta.decorator, punctuation.decorator | #C792EA | italic |
| string.regexp | #80CBC4 | — |
| constant.character.escape | #80CBC4 | — |
| support.type, support.class | #FFF176 | — |
| support.constant | #FF9E64 | — |
| 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}!`;
}