Ice Ice OLED
Publisher: Dyanim LLCThemes in package: 1
Pure black, chillingly icy cold, modern vibes, but not vibe-coded.
Pure black, chillingly icy cold, modern vibes, but not vibe-coded.
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 | #5b6266 | — |
| string, string.quoted | #7ec5e4 | — |
| constant.numeric | #a3cae0 | — |
| constant.language, constant.character | #b0c8d8 | — |
| keyword, storage.type, storage.modifier | #67c5ed | — |
| entity.name.function, support.function | #71c7eb | — |
| entity.name.type, entity.name.class, support.class | #abbfce | — |
| variable | #e6f1f6 | — |
| variable.parameter, variable.other.readwrite | #f9fdff | — |
| entity.name.tag | #93bdea | — |
| support.type.property-name | #d3e6ef | — |
| entity.other.attribute-name | #477d96 | — |
| support.type, support.class | #a1cae1 | — |
| punctuation | #5c7688 | — |
| keyword.operator, keyword.control | #92a4ae | — |
| invalid | #a57575 | bold |
| entity.name.section, markup.heading | #46afff | bold |
| markup.bold | #9aa8b0 | bold |
| markup.italic | #a0b4c0 | italic |
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}!`;
}