Aether Dark
Publisher: sbetavThemes in package: 1
A polished dark theme with cyan UI accents and warm, expressive syntax inspired by Ayu.
A polished dark theme with cyan UI accents and warm, expressive syntax inspired by Ayu.
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 |
|---|---|---|
| — | #bfbdb6 | — |
| comment | #5a6673 | italic |
| string, constant.other.symbol | #aad94c | — |
| string.regexp, constant.character, constant.other | #95e6cb | — |
| constant.numeric | #d2a6ff | — |
| constant.language | #d2a6ff | — |
| variable, variable.parameter.function-call | #bfbdb6 | — |
| variable.member | #f07178 | — |
| variable.language | #39bae6 | italic |
| storage | #ff8f40 | — |
| keyword | #ff8f40 | — |
| keyword.operator | #f29668 | — |
| punctuation.separator, punctuation.terminator | #bfbdb6b3 | — |
| punctuation.section | #bfbdb6 | — |
| punctuation.accessor | #f29668 | — |
| punctuation.definition.template-expression | #ff8f40 | — |
| punctuation.section.embedded | #ff8f40 | — |
| meta.embedded | #bfbdb6 | — |
| source.java storage.type, source.haskell storage.type, source.c storage.type | #59c2ff | — |
| entity.other.inherited-class | #39bae6 | — |
| storage.type.function | #ff8f40 | — |
| source.java storage.type.primitive | #39bae6 | — |
| entity.name.function | #ffb454 | — |
| variable.parameter, meta.parameter | #d2a6ff | — |
| variable.function, variable.annotation, meta.function-call.generic, support.function.go | #ffb454 | — |
| support.function, support.macro | #f07178 | — |
| entity.name.import, entity.name.package | #aad94c | — |
| entity.name | #59c2ff | — |
| entity.name.tag, meta.tag.sgml | #39bae6 | — |
| support.class.component | #59c2ff | — |
| punctuation.definition.tag.end, punctuation.definition.tag.begin, punctuation.definition.tag | #39bae680 | — |
| entity.other.attribute-name | #ffb454 | — |
| entity.other.attribute-name.pseudo-class | #95e6cb | — |
| support.constant | #f29668 | italic |
| support.type, support.class, source.go storage.type | #39bae6 | — |
| meta.decorator variable.other, meta.decorator punctuation.decorator, storage.type.annotation, entity.name.function.decorator | #e6c08a | — |
| invalid | #d95757 | — |
| meta.diff, meta.diff.header | #c594c5 | — |
| source.ruby variable.other.readwrite | #ffb454 | — |
| source.css entity.name.tag, source.sass entity.name.tag, source.scss entity.name.tag, source.less entity.name.tag, source.stylus entity.name.tag | #59c2ff | — |
| source.css support.type, source.sass support.type, source.scss support.type, source.less support.type, source.stylus support.type | #5a6673 | — |
| support.type.property-name | #39bae6 | — |
| constant.numeric.line-number.find-in-files - match | #5a6673 | — |
| constant.numeric.line-number.match | #ff8f40 | — |
| entity.name.filename.find-in-files | #aad94c | — |
| message.error | #d95757 | — |
| markup.heading, markup.heading entity.name | #aad94c | bold |
| markup.underline.link, string.other.link | #39bae6 | — |
| markup.italic, emphasis | #f07178 | italic |
| markup.bold | #f07178 | bold |
| markup.underline | — | underline |
| markup.italic markup.bold, markup.bold markup.italic | — | bold italic |
| markup.quote | #95e6cb | italic |
| markup.list punctuation.definition.list.begin | #ffb454 | — |
| markup.inserted | #70bf56 | — |
| markup.changed | #73b8ff | — |
| markup.deleted | #f26d78 | — |
| markup.strike | #e6c08a | — |
| markup.strong | — | bold |
| text.html.markdown markup.inline.raw | #f29668 | — |
| comment | #647182 | — |
| keyword, storage | #ff9b4d | — |
| entity.name.function, variable.function, meta.function-call.generic, support.function.go, entity.other.attribute-name | #ffc15d | — |
| string, constant.other.symbol | #c0ec66 | — |
| entity.name.type, entity.name, support.type, support.class | #66c9ff | — |
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}!`;
}