AaTheme
Publisher: Nahida-aaThemes in package: 1
A beautiful glow theme for VS Code with neon-style highlighting and comprehensive language support. See THEME_GUIDE.md for detailed documentation.
A beautiful glow theme for VS Code with neon-style highlighting and comprehensive language support. See THEME_GUIDE.md for detailed documentation.
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, string.quoted.docstring.multi.python, string.quoted.docstring.multi.python punctuation.definition.string.begin.python, string.quoted.docstring.multi.python punctuation.definition.string.end.python, markup.quote | #848BBD | italic |
| string, punctuation.definition.string.begin, punctuation.definition.string.end, markup.underline.link, constant.other.reference.link | #b2f8e3 | italic |
| variable.other, entity.other.attribute-name, meta.definition.variable, meta.object-literal.key, variable.parameter, meta.block variable.other, variable.object.property, constant.other.caps.python, meta.attribute, variable.other.enummember, meta.import meta.block variable.other.readwrite.alias, variable.other.property, entity.name.type.template.cpp, meta.bracket.square.access, meta.parens, meta.body.function.definition.cpp, variable.other.metavariable, source.css variable, 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 | #f1c9e5 | — |
| variable.parameter, meta.tag.attributes, entity.other.attribute-name | — | italic |
| support.other.variable | #f07178 | — |
| constant.numeric | #51c7f5 | — |
| keyword, keyword.other.typedef.c, keyword.control, keyword.other, keyword.operator, storage.type, keyword.other.unit, storage.modifier, punctuation.definition.directive, markdown.heading, heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown, markup.bold | #ebe5cd | — |
| markdown.heading, heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown, markup.bold | — | bold |
| constant.other, constant.enum, constant.language, support.constant, constant.character, constant.escape, entity.name.function.preprocessor.c | #f6d9ca | — |
| keyword.operator.assignment, keyword.operator.increment, keyword.operator.decrement, keyword.operator.arithmetic, keyword.operator.bitwise, keyword.operator.comparison, punctuation.separator.key-value, punctuation.accessor, text.html.markdown, punctuation.definition.list_item.markdown, markup.raw.block.fenced.markdown, variable.language.fenced.markdown, punctuation.section.class.end | #EEFFFF | — |
| entity.name.function, entity.name.function.cs, entity.name.function.rust, meta.definition.function, keyword.other.operator.overload.cpp, meta.head.function.definition.special.operator-overload.cpp, meta.function-call, variable.function, support.function, keyword.other.special-method, support.class.component, entity.name.function.macro, string.other.link.title.markdown, string.other.link, string.other.link.description.title.markdown | #80f7f5 | — |
| meta.selector entity.name.tag, text.html.derivative entity.name.tag, entity.name.tag.tsx, source.vue entity.name.tag, meta.tag.structure entity.name.tag, entity.name.tag.yaml, entity.name.type, entity.name.type.numeric.rust, storage.type.enum.c, storage.type.built-in, storage.type.union, storage.type.string, storage.type.numeric, storage.type.boolean, keyword.map.go, entity.name.type.primitive, support.type, support.class, support.other.namespace.use.php, meta.use.php, support.other.namespace.php, support.type.sys-types, markup.inline.raw.string | #e3b0fb | — |
| variable.language, variable.parameter.function.language.special.self, variable.parameter.function.language.special.cls, entity.other.attribute-name.pseudo-class, entity.other.attribute-name.pseudo-element, variable.language.special.cls, variable.language.special.self, variable.language.self.rust, keyword.control.other, variable.language.this | #e5dff5 | — |
| entity.name.type.module, entity.name.type.package, meta.use entity.name.namespace, entity.name.namespace.cpp, meta.function.definition entity.name.namespace, meta.function.call entity.name.namespace, variable.other.readwrite.alias, entity.other.attribute-name.class | #f3a0a5 | — |
| markup.table punctuation.definition.table, punctuation.separator.table | #f3a0a5 | — |
| text.html.markdown markup.inline.raw.markdown | #C792EA | — |
| text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown | #65737E | — |
| #C3E88D | — | |
| markup.italic | — | italic |
| 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 | — | bold italic |
| markup.underline | — | underline |
| markup.raw.block | #C792EA | — |
| markup.raw.block.fenced.markdown | #00000050 | — |
| punctuation.definition.fenced.markdown | #00000050 | — |
| variable.language.fenced.markdown | #65737E | — |
| meta.separator | #65737E | bold |
| constant.other.color | #ffffff | — |
| invalid, invalid.illegal | #FF5370 | — |
| #B2CCD6 | — | |
| entity.name.module.js, variable.import.parameter.js, variable.other.class.js | #FF5370 | — |
| entity.name.method.js | #82AAFF | italic |
| meta.class-method.js entity.name.function.js, variable.function.constructor | #82AAFF | — |
| text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name | #FFCB6B | italic |
| source.sass keyword.control | #82AAFF | — |
| markup.inserted | #C3E88D | — |
| markup.deleted, punctuation.definition.strikethrough | #FF5370 | — |
| markup.changed | #C792EA | — |
| string.regexp | #89DDFF | — |
| constant.character.escape | #89DDFF | — |
| *url*, *link*, *uri* | — | underline |
| tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #82AAFF | italic |
| source.js constant.other.object.key.js string.unquoted.label.js | #FF5370 | italic |
| source.json meta.structure.dictionary.json support.type.property-name.json | #C792EA | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #FFCB6B | — |
| 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 | #F78C6C | — |
| 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 | #FF5370 | — |
| 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 | #C17E70 | — |
| 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 | #82AAFF | — |
| 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 | #f07178 | — |
| 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 | #C792EA | — |
| 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 | #C3E88D | — |
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}!`;
}