aespa theme
Publisher: MisaelThemes in package: 1
A vibrant VSCode theme inspired by the dynamic colors and aesthetics of aespa, blending bold and energetic tones for a unique coding experience.
A vibrant VSCode theme inspired by the dynamic colors and aesthetics of aespa, blending bold and energetic tones for a unique coding experience.
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 | #ff6181 | italic |
| comment.block.preprocessor | #f00 | bold |
| comment.documentation, comment.block.documentation | #f00 | — |
| invalid.illegal | #f00 | — |
| keyword.operator | #ff0000 | — |
| keyword, storage | #ff00f7 | — |
| storage.type, support.type | #a200ff | — |
| constant.language, support.constant, variable.language | #fff | — |
| variable, support.variable | #fff | — |
| entity.name.function, support.function | #1683c7 | bold |
| entity.name.type, entity.other.inherited-class, support.class | #fff | bold |
| entity.name.exception | #fff | — |
| entity.name.section | — | bold |
| constant.numeric, constant.character, constant | #fff | — |
| string | #ff00c8 | — |
| constant.character.escape | #cc64dc | — |
| string.regexp | #000 | — |
| constant.other.symbol | #000 | — |
| punctuation | #ffffff | — |
| meta.tag.sgml.doctype, meta.tag.sgml.doctype string, meta.tag.sgml.doctype entity.name.tag, meta.tag.sgml punctuation.definition.tag.html | #fff | — |
| meta.tag, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html | #fff | — |
| entity.name.tag | #fff | — |
| meta.tag entity.other.attribute-name, entity.other.attribute-name.html | #5047ff | italic |
| constant.character.entity, punctuation.definition.entity | #3c00ff | — |
| meta.selector, meta.selector entity, meta.selector entity punctuation, entity.name.tag.css | #fff | — |
| meta.property-name, support.type.property-name | #fff | — |
| meta.property-value, meta.property-value constant.other, support.constant.property-value | #b300ff | — |
| keyword.other.important | — | bold |
| markup.changed | #ff9eb1 | — |
| markup.deleted | #ffffff | — |
| markup.italic | — | italic |
| markup.error | #ffffff | — |
| markup.inserted | #ffffff | — |
| meta.link | #ffffff | — |
| markup.output, markup.raw | #ffffff | — |
| markup.prompt | #ffffff | — |
| markup.heading | #ffffff | — |
| markup.bold | — | bold |
| markup.traceback | #ffffff | — |
| markup.underline | — | underline |
| markup.quote | #ffffff | — |
| markup.list | #ffffff | — |
| markup.bold, markup.italic | #000 | — |
| markup.inline.raw | #ffffff | |
| meta.diff.range, meta.diff.index, meta.separator | #ffffff | — |
| meta.diff.header.from-file | #ffffff | — |
| meta.diff.header.to-file | #ffffff | — |
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}!`;
}