Aestwave Sunflower Theme
Publisher: Amelita Dela TorreThemes in package: 2
A warm sunflower inspired dark VS Code theme. Full sunflower tones — yellow, gold, orange, brown and green — balanced, warm and beautiful.
A warm sunflower inspired dark VS Code theme. Full sunflower tones — yellow, gold, orange, brown and green — balanced, warm and beautiful.
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 | #C4A850 | italic |
| variable, string constant.other.placeholder | #2A1A05 | — |
| invalid, invalid.illegal | #CC1111 | — |
| markup.deleted, invalid.broken | #CC1111 | — |
| keyword, storage.type, storage.modifier | #8B6000 | bold |
| keyword.control, punctuation, meta.tag, punctuation.definition.tag, punctuation.definition.tag.html, punctuation.section.embedded, keyword.other.template | #A07830 | — |
| entity.name.tag, meta.tag.sgml | #8B6000 | — |
| entity.name.function, meta.function-call, variable.function, support.function, keyword.other.special-method | #C86400 | — |
| constant.numeric, constant.language, support.constant, constant.character, constant.escape, keyword.other.unit | #C86400 | italic |
| variable.parameter | #8B6830 | italic |
| string, constant.other.symbol, constant.other.key | #6B4400 | — |
| entity.other.inherited-class, markup.heading | #4A6A1A | — |
| entity.name, support.type, support.class, support.other.namespace.php | #4A6A1A | bold |
| support.type | #5A6A1A | — |
| source.css support.type.property-name, source.sass support.type.property-name, source.scss support.type.property-name, source.less support.type.property-name | #8B6830 | — |
| entity.other.attribute-name | #C86400 | — |
| text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name | #C86400 | italic |
| variable.language | #8B6000 | italic |
| string.regexp | #C86400 | — |
| constant.character.escape | #8B6000 | — |
| *url*, *link*, *uri* | — | underline |
| markup.inserted | #4A6A1A | — |
| markup.changed | #C86400 | — |
| source.json meta.structure.dictionary.json support.type.property-name.json | #8B6000 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #C86400 | — |
| 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 | #6B4400 | — |
| 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 | #4A6A1A | — |
| markup.heading, markup.heading entity.name | #8B6000 | bold |
| markup.italic | #6B4400 | italic |
| markup.bold, markup.bold string | #C86400 | bold |
| markup.underline | #4A6A1A | underline |
| markup.table | #2A1A05 | — |
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}!`;
}