Aestwave Sakura Bloom Theme
Publisher: Amelita Dela TorreThemes in package: 2
A nature-inspired theme based on the beauty of Japanese cherry blossoms.
A nature-inspired theme based on the beauty of Japanese cherry blossoms.
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 | #4A2535 | italic |
| variable, string constant.other.placeholder | #F2D8E0 | — |
| invalid, invalid.illegal | #FF3333 | — |
| markup.deleted, invalid.broken | #FF3333 | — |
| keyword, storage.type, storage.modifier | #E8789A | bold |
| keyword.control, punctuation, meta.tag, punctuation.definition.tag, punctuation.definition.tag.html, punctuation.section.embedded, keyword.other.template | #C4909A | — |
| entity.name.tag, meta.tag.sgml | #E8789A | — |
| entity.name.function, meta.function-call, variable.function, support.function, keyword.other.special-method | #F5C842 | — |
| constant.numeric, constant.language, support.constant, constant.character, constant.escape, keyword.other.unit | #F5DEB3 | italic |
| variable.parameter | #D4A8B8 | italic |
| string, constant.other.symbol, constant.other.key | #F4B8C8 | — |
| entity.other.inherited-class, markup.heading | #E8789A | — |
| entity.name, support.type, support.class, support.other.namespace.php | #C4507A | bold |
| support.type | #D4707A | — |
| source.css support.type.property-name, source.sass support.type.property-name, source.scss support.type.property-name, source.less support.type.property-name | #F4B8C8 | — |
| entity.other.attribute-name | #F5C842 | — |
| text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name | #F5DEB3 | italic |
| entity.other.attribute-name.class | #F5C842 | — |
| variable.language | #E8789A | italic |
| string.regexp | #F5C842 | — |
| constant.character.escape | #F4B8C8 | — |
| *url*, *link*, *uri* | — | underline |
| markup.inserted | #F4B8C8 | — |
| markup.changed | #F5C842 | — |
| source.json meta.structure.dictionary.json support.type.property-name.json | #E8789A | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #F4B8C8 | — |
| 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 | #F5C842 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.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 | #C4507A | — |
| markup.heading, markup.heading entity.name | #E8789A | bold |
| markup.italic | #F4B8C8 | italic |
| markup.bold, markup.bold string | #F5C842 | bold |
| markup.underline | #C4507A | underline |
| markup.table | #F2D8E0 | — |
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}!`;
}