AetherGlow – Neon Blue Theme
Publisher: WebCraftIDThemes in package: 1
A futuristic blue-cyan VS Code dark theme with neon glow accents, perfect for coding in low-light environments.
A futuristic blue-cyan VS Code dark theme with neon glow accents, perfect for coding in low-light environments.
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 | #a0a0a0 | italic |
| keyword, storage.type, storage.modifier, keyword.control, keyword.operator.new | #00ffff | bold |
| string, string.quoted, string.quoted.double, string.quoted.single, string.template | #00ff7f | — |
| entity.name.function, support.function, meta.function-call | #00dfff | — |
| constant.numeric, constant.language, constant.character | #00ffb7 | — |
| variable, variable.parameter, variable.other.readwrite | #1e90ff | — |
| entity.name.type, support.type, support.class, entity.name.class | #00ffbb | — |
| entity.name.tag.css, entity.name.tag.html | #00ff90 | — |
| support.type.property-name.css, meta.property-name.css | #3eb2ff | — |
| punctuation | #ffffff | — |
| keyword.operator | #00ffff | — |
| entity.name.tag | #00ffff | bold |
| entity.other.attribute-name | #00dfff | — |
| support.constant | #00ffb7 | — |
| constant.language.boolean | #00ffb7 | — |
| meta.import, meta.export | #00ffff | — |
| support.type.property-name.json | #00dfff | — |
| string.quoted.double.json, string.quoted.single.json | #00ff7f | — |
| constant.language.boolean | #ffff00 | — |
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}!`;
}