airess glow
Publisher: airessThemes in package: 4
Four airess themes: airess bloom (rosy pink light), lumen airess (lilac purple light), midnight airess (magenta noir dark), velvet airess (deep indigo dark). ✨
Four airess themes: airess bloom (rosy pink light), lumen airess (lilac purple light), midnight airess (magenta noir dark), velvet airess (deep indigo dark). ✨
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 | #B8B0E8 | italic |
| string, string.quoted, string.template | #FF98C8 | — |
| constant.numeric, constant.language | #E8A8F0 | — |
| keyword, keyword.control, keyword.operator.new, storage.type, storage.modifier | #FFB0D8 | — |
| keyword.operator | #C8B8E0 | — |
| entity.name.function, support.function, meta.function-call | #FFFAFC | — |
| entity.name.type, entity.name.class, support.type, support.class | #F8D8F0 | — |
| variable, variable.other, variable.parameter | #D8D0E8 | — |
| variable.language | #E8D0FF | italic |
| entity.name.tag | #E8B8FF | — |
| entity.other.attribute-name | #D8C8FF | — |
| support.type.property-name.css, support.type.property-name.scss | #90D8F8 | — |
| support.type.property-name.json | #B8C8FF | — |
| invalid, invalid.illegal | #F8A8C8 | — |
| markup.heading | #F5D8E8 | bold |
| markup.underline.link, string.other.link | #D8C8FF | underline |
| markup.bold | #A080FF | bold |
| markup.italic | — | italic |
| markup.inserted, meta.diff.header.to-file | #A8E8C8 | — |
| markup.deleted, meta.diff.header.from-file | #F0B0C8 | — |
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}!`;
}