Aya Theme
Publisher: Felipe Eduardo de PietroThemes in package: 1
A dark cyberpunk post-apocalyptic theme for Visual Studio Code.
A dark cyberpunk post-apocalyptic theme for Visual Studio Code.
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 | #6B7280 | italic |
| variable, string constant.other.placeholder | #39FF14 | bold |
| constant.other.color | #FF8A3D | — |
| invalid, invalid.illegal | #FF2E63 | — |
| keyword, storage.type, storage.modifier | #2DE2E6 | — |
| storage.modifier | #FF4FD8 | — |
| storage.type.function, keyword.declaration.function, keyword.other.function, keyword.other.fn, keyword.control.function | #00E5FF | bold |
| keyword.control, keyword.control.flow, keyword.control.loop, keyword.control.conditional, keyword.control.trycatch, keyword.control.exception, keyword.control.import, keyword.control.return | #FF2E93 | bold |
| punctuation, meta.tag, punctuation.definition.tag, punctuation.separator.inheritance.php, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.section.embedded, keyword.other.template, keyword.other.substitution | #22C55E | — |
| entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter | #f07178 | — |
| entity.name.function, meta.function-call, variable.function, keyword.other.special-method | #B6FF00 | — |
| support.function, support.function.builtin | #FF2E93 | — |
| meta.block variable.other | #39FF14 | — |
| support.other.variable | #39FF14 | — |
| string.other.link | #2DE2E6 | — |
| constant.numeric, constant.language, support.constant, constant.character, constant.escape, keyword.other.unit, keyword.other | #FF8A3D | — |
| variable.parameter | #39FF14 | — |
| string, entity.other.inherited-class, markup.heading, markup.inserted.git_gutter, meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js | #2DE2E6 | — |
| constant.other.symbol, constant.other.key | #FF8A3D | — |
| 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 | #5FD6DB | — |
| support.type | #5FD6DB | — |
| 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 | #5FD6DB | — |
| entity.name.module.js, variable.import.parameter.js, variable.other.class.js | #FF5370 | — |
| variable.language | #FF5370 | italic |
| entity.name.method.js | #7C3AED | italic |
| meta.class-method.js entity.name.function.js, variable.function.constructor | #7C3AED | — |
| entity.other.attribute-name | #C792EA | — |
| text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name | #FFCB6B | italic |
| entity.other.attribute-name.class | #FFCB6B | — |
| source.sass keyword.control | #82AAFF | — |
| markup.inserted | #C3E88D | — |
| markup.deleted | #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 | — |
| text.html.markdown, punctuation.definition.list_item.markdown | #EEFFFF | — |
| text.html.markdown markup.inline.raw.markdown | #C792EA | — |
| text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown | #65737E | — |
| markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown | #C3E88D | — |
| markup.italic | #f07178 | italic |
| markup.bold, markup.bold string | #f07178 | 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 | #f07178 | bold |
| markup.underline | #F78C6C | underline |
| markup.quote punctuation.definition.blockquote.markdown | #65737E | — |
| markup.quote | — | italic |
| string.other.link.title.markdown | #82AAFF | — |
| string.other.link.description.title.markdown | #C792EA | — |
| constant.other.reference.link.markdown | #FFCB6B | — |
| markup.raw.block | #C792EA | — |
| markup.raw.block.fenced.markdown | #00000050 | — |
| punctuation.definition.fenced.markdown | #00000050 | — |
| markup.raw.block.fenced.markdown, variable.language.fenced.markdown, punctuation.section.class.end | #EEFFFF | — |
| variable.language.fenced.markdown | #65737E | — |
| meta.separator | #65737E | bold |
| markup.table | #EEFFFF | — |
| text.html.basic entity.name.tag.html, text.html.basic entity.name.tag, meta.tag.sgml entity.name.tag, text.html.basic meta.tag entity.name.tag | #00F5FF | — |
| text.html.basic punctuation.definition.tag.begin.html, text.html.basic punctuation.definition.tag.end.html, text.html.basic punctuation.definition.tag.html, text.html.basic punctuation.definition.tag, meta.tag.sgml punctuation.definition.tag | #37F8D8 | — |
| text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name, meta.attribute.html entity.other.attribute-name | #FF9F1C | — |
| text.html.basic string.quoted.double.html, text.html.basic string.quoted.single.html, text.html.basic meta.attribute-with-value string.quoted, text.html.basic punctuation.definition.string.begin.html, text.html.basic punctuation.definition.string.end.html | #FF4FD8 | — |
| text.html.basic constant.character.entity.html, text.html.basic meta.doctype.html, text.html.basic entity.name.tag.doctype.html | #B6FF00 | — |
| keyword.control.at-rule.css, keyword.control.at-rule.scss, keyword.control.at-rule.sass, keyword.control.at-rule.less, keyword.control.at-rule.stylus, keyword.control.at-rule.postcss | #FF61A6 | — |
| entity.name.tag.css, entity.name.tag.scss, entity.name.tag.sass, entity.name.tag.less, entity.name.tag.stylus, entity.name.tag.postcss | #00E5FF | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.class.scss, entity.other.attribute-name.class.sass, entity.other.attribute-name.class.less, entity.other.attribute-name.class.stylus, entity.other.attribute-name.class.postcss | #B6FF00 | — |
| entity.other.attribute-name.id.css, entity.other.attribute-name.id.scss, entity.other.attribute-name.id.sass, entity.other.attribute-name.id.less, entity.other.attribute-name.id.stylus, entity.other.attribute-name.id.postcss | #FFD300 | — |
| entity.other.attribute-name.attribute.css, entity.other.attribute-name.attribute.scss, entity.other.attribute-name.attribute.sass, entity.other.attribute-name.attribute.less, entity.other.attribute-name.attribute.stylus, entity.other.attribute-name.attribute.postcss | #FFB347 | — |
| entity.other.pseudo-class.css, entity.other.pseudo-element.css, entity.other.pseudo-class.scss, entity.other.pseudo-element.scss, entity.other.pseudo-class.sass, entity.other.pseudo-element.sass, entity.other.pseudo-class.less, entity.other.pseudo-element.less, entity.other.pseudo-class.stylus, entity.other.pseudo-element.stylus, entity.other.pseudo-class.postcss, entity.other.pseudo-element.postcss | #D66BFF | — |
| 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 | #00FFB3 | — |
| support.constant.property-value.css, support.constant.property-value.scss, support.constant.property-value.sass, support.constant.property-value.less, support.constant.property-value.stylus, support.constant.property-value.postcss, meta.property-value.css, meta.property-value.scss, meta.property-value.sass, meta.property-value.less, meta.property-value.stylus, meta.property-value.postcss, constant.other.color.css, constant.other.color.scss, constant.other.color.sass, constant.other.color.less, constant.other.color.stylus, constant.other.color.postcss | #FF8F6B | — |
| support.function.misc.css, support.function.misc.scss, support.function.misc.sass, support.function.misc.less, support.function.misc.stylus, support.function.misc.postcss, support.function.css, meta.function-call.css | #7C9DFF | — |
| variable.other.custom-property.css, variable.other.custom-property.scss, variable.other.custom-property.sass, variable.other.custom-property.less, variable.other.custom-property.stylus, variable.other.custom-property.postcss, punctuation.definition.variable.css, punctuation.definition.variable.scss, punctuation.definition.variable.sass, punctuation.definition.variable.less, punctuation.definition.variable.stylus, punctuation.definition.variable.postcss | #3BFFEA | — |
| keyword.other.unit.css, keyword.other.unit.scss, keyword.other.unit.sass, keyword.other.unit.less, keyword.other.unit.stylus, keyword.other.unit.postcss | #7DF9FF | — |
| keyword.other.important.css, keyword.other.important.scss, keyword.other.important.sass, keyword.other.important.less, keyword.other.important.stylus, keyword.other.important.postcss | #FF3D5E | bold |
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}!`;
}