Aestwave Mono Theme
Publisher: Amelita Dela TorreThemes in package: 2
A pure black and white minimal theme for developers who prefer no color distractions. Clean, focused, distraction-free.
A pure black and white minimal theme for developers who prefer no color distractions. Clean, focused, distraction-free.
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 | #BBBBBB | italic |
| variable, string constant.other.placeholder | #1A1A1A | — |
| constant.other.color | #000000 | — |
| invalid, invalid.illegal | #888888 | strikethrough |
| keyword, storage.type, storage.modifier | #000000 | bold |
| keyword.control, punctuation, meta.tag, punctuation.definition.tag, punctuation.definition.tag.html, punctuation.section.embedded, keyword.other.template | #888888 | — |
| entity.name.tag, meta.tag.sgml | #333333 | — |
| entity.name.function, meta.function-call, variable.function, support.function, keyword.other.special-method | #222222 | bold |
| constant.numeric, constant.language, support.constant, constant.character, constant.escape, variable.parameter, keyword.other.unit | #666666 | italic |
| string, constant.other.symbol, constant.other.key, entity.other.inherited-class, markup.heading | #444444 | — |
| entity.name, support.type, support.class, support.other.namespace.php | #111111 | bold |
| entity.other.attribute-name | #555555 | — |
| text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name | #777777 | italic |
| string.regexp | #666666 | — |
| constant.character.escape | #888888 | — |
| *url*, *link*, *uri* | — | underline |
| source.json meta.structure.dictionary.json support.type.property-name.json | #000000 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #333333 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #666666 | — |
| markup.heading, markup.heading entity.name | #000000 | bold |
| markup.italic | #555555 | italic |
| markup.bold, markup.bold string | #000000 | bold |
| markup.underline | #666666 | underline |
| markup.table | #1A1A1A | — |
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}!`;
}