Kong Strong Zero Blue
Publisher: capmarThemes in package: 3
Inspired by Kong Strong Zero — LIDL's sugar-free energy drink. Midnight navy, electric cyan, zero fluff. A dark theme for developers who code late and ship clean.
Inspired by Kong Strong Zero — LIDL's sugar-free energy drink. Midnight navy, electric cyan, zero fluff. A dark theme for developers who code late and ship clean.
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 |
|---|---|---|
| keyword, storage, storage.type | #00CFFF | — |
| string | #4FDFFF | — |
| comment, punctuation.definition.comment | #4A6A80 | italic |
| entity.name.function, meta.function-call, support.function | #52DFFF | bold |
| variable, variable.other.readwrite, variable.language | #D6EFFF | — |
| constant.numeric, constant.language, constant.character.escape | #7FE8FF | — |
| entity.name.type, entity.name.class, support.type, storage.type.class | #4FDFFF | bold |
| keyword.operator, punctuation.separator.key-value | #00CFFF | — |
| entity.name.function.decorator, meta.decorator, punctuation.decorator, storage.type.annotation, entity.other.attribute-name, meta.attribute | #FFC857 | — |
| entity.other.inherited-class | #4FDFFF | — |
| invalid, invalid.illegal | #FF5C5C | — |
| markup.heading, entity.name.section | #52DFFF | bold |
| markup.bold, markup.italic | #D6EFFF | — |
| markup.underline.link, string.other.link | #00CFFF | — |
| support.type.property-name.json, meta.object-literal.key | #8FA6B8 | — |
| entity.name.tag | #00CFFF | — |
| punctuation.definition.template-expression | #FFC857 | — |
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}!`;
}