Ayame
Publisher: NurdoidzThemes in package: 1
A theme inspired by the nightly bright colors of cyber-neon anime.
A theme inspired by the nightly bright colors of cyber-neon anime.
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 | #675891 | italic |
| variable, string constant.other.placeholder | #cbbade | — |
| constant.other.color | #ffffff | — |
| invalid, invalid.illegal | #c43053 | — |
| keyword, storage.type, storage.modifier | #44a3f5 | italic |
| keyword.operator | #f76ef1 | |
| constant.other.color, punctuation, meta.tag, punctuation.separator.inheritance.php, punctuation.section.embedded, keyword.other.template, keyword.other.substitution | #8a7d9b | — |
| punctuation.definition.string | #76b65b | — |
| punctuation.definition.template-expression | #ff4b73 | — |
| keyword.control | #54e7f8 | |
| entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter | #c43053 | — |
| entity.name.function, meta.function-call, variable.function, support.function, keyword.other.special-method | #9768f8 | — |
| variable.other.object | #e5dcef | — |
| meta.block variable.other | #cbbade | — |
| support.other.variable, string.other.link | #cbbade | — |
| constant.numeric, constant.language, support.constant, variable.parameter, constant.character, constant.escape, keyword.other.unit, keyword.other | #ff874b | — |
| string, constant.other.symbol, constant.other.key, entity.other.inherited-class, markup.heading, markup.inserted.git_gutter, meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js | #96e474 | — |
| entity.name, support.type, support.class, support.other.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types | #41bac8 | — |
| source.css support.type.property-name, source.sass support.type.property-name, source.scss support.type.property-name, source.less support.type.property-name, source.stylus support.type.property-name, source.postcss support.type.property-name | #f5cb40 | — |
| entity.name.module.js, variable.import.parameter.js, variable.other.class.js | #ff4b73 | — |
| variable.language | #ff4b73 | italic |
| entity.name.method.js | #cbbade | italic |
| meta.class-method.js entity.name.function.js, variable.function.constructor | #44a3f5 | — |
| entity.other.attribute-name | #9768f8 | — |
| text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name | #f5cb40 | italic |
| entity.other.attribute-name.class | #f5cb40 | — |
| source.sass keyword.control | #54e7f8 | — |
| markup.inserted | #96e474 | — |
| markup.deleted | #ff4b73 | — |
| markup.changed | #44a3f5 | — |
| string.regexp | #54e7f8 | — |
| constant.character.escape | #54e7f8 | — |
| *url*, *link*, *uri* | — | underline |
| tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #54e7f8 | italic |
| source.js constant.other.object.key.js string.unquoted.label.js | #ff4b73 | italic |
| source.json meta.structure.dictionary.json support.type.property-name.json | #b38fff | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #6f47bd | — |
| 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 | #76c3ff | — |
| 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 | #2b7bbd | — |
| 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 meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #ff9bff | — |
| 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 meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #c151bc | — |
| 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 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 | #9bffce | — |
| 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 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 meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #49c885 | — |
| 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 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 meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #54e7f8 | — |
| text.html.markdown, punctuation.definition.list_item.markdown | #cbbade | — |
| text.html.markdown markup.inline.raw.markdown | #9768f8 | — |
| text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown | #8a7d9b | — |
| markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown | #96e474 | — |
| markup.italic | #96e474 | italic |
| markup.bold, markup.bold string | #f76ef1 | bold |
| markup.bold markup.italic, markup.italic markup.bold, markup.quote markup.bold, markup.bold markup.italic string, markup.italic markup.bold string, markup.quote markup.bold string | #f76ef1 | italic bold |
| markup.underline | #7c52ad | underline |
| markup.quote punctuation.definition.blockquote.markdown | #1a1528 | — |
| markup.quote | #1a1528 | italic |
| string.other.link.title.markdown | #44a3f5 | — |
| string.other.link.description.title.markdown | #c5a330 | — |
| constant.other.reference.link.markdown | #f5cb40 | — |
| markup.raw.block | #9768f8 | — |
| markup.raw.block.fenced.markdown | #00000050 | — |
| punctuation.definition.fenced.markdown | #00000050 | — |
| markup.raw.block.fenced.markdown, variable.language.fenced.markdown, punctuation.section.class.end | #cbbade | — |
| variable.language.fenced.markdown | #cbbade | — |
| meta.separator | #6c8db3 | bold |
| markup.table | #7c52ad | — |
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}!`;
}