Aura Modern
Publisher: MarinoxThemes in package: 9
Dark and light themes: Aura, Aqua, Lime, and Azure, plus Aqua Lime Light with brighter summer syntax. An independent fork of Aura by Dalton Menezes.
Dark and light themes: Aura, Aqua, Lime, and Azure, plus Aqua Lime Light with brighter summer syntax. An independent fork of Aura by Dalton Menezes.
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.comment, string.quoted.docstring.multi.python | #72858E | — |
| constant.other.placeholder, constant.character | #AD6B91 | — |
| constant, entity.name.constant, variable.other.constant, variable.other.enummember, variable.language, entity, support.constant, support.variable, meta.module-reference | #35BDCC | — |
| constant.numeric | #DCB547 | — |
| constant.language.boolean, constant.language.json, constant.language.boolean.toml, constant.language.boolean.yaml | #35BDCC | — |
| variable.other.enummember | #35BDCC | — |
| meta.export.default, meta.definition.variable, markup.changed, entity.name.section.markdown, support.function | #A36CAF | — |
| variable.parameter.function, variable.parameter, meta.function-call.arguments.python variable.parameter | #71848D | italic |
| meta.jsx.children, meta.block, meta.tag.attributes, meta.object.member, meta.embedded.expression, variable, variable.other, markup.list, meta.class, meta.method.declaration, parameter.variable.function.elixir, punctuation.definition.tag, punctuation.section.embedded, punctuation.terminator.dart, punctuation.dot.dart | #4A5861 | — |
| entity.name.function, entity.name.function.elixir | #955FA4 | — |
| entity.name.function-call.elixir, meta.function-call.generic.python | #A36CAF | — |
| entity.name.tag, support.class.component, support.class.component.tsx, support.class.component.open.jsx, support.class.component.close.jsx, markup.inserted, support.type.builtin.graphql, entity.other.attribute-name.id.css, JSXNested | #47C491 | — |
| keyword.control.import.python, keyword.control.from.python, keyword.control.as.python, storage.modifier.import.python | #8669BA | — |
| meta.import.python support.type, meta.import.python support.class, meta.import.python entity.name.module.python, meta.import.python meta.path.python, meta.import.python meta.import-name.python | #5F829B | — |
| meta.import.python punctuation.separator.period.python, meta.import.python punctuation.separator.comma.python | #6B7D86 | — |
| keyword, storage, storage.type, keyword.control.flow, storage.modifier, keyword.operator, markup.heading, markup.underline.link, variable.other.env, constant.length.units.css, constant.percentage.units.css | #8669BA | — |
| storage.modifier.package, storage.modifier.import, storage.type.java | #4A5861 | — |
| string, string punctuation.section.embedded source, source.env, variable.other.quoted.double, markup.inline.raw.string.markdown, markup.raw | #47C491 | — |
| support, meta.property-name, string variable, support.class.builtin, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.quasi.element.begin, punctuation.quasi.element.end, entity.other.inherited-class, variable.other.constant.elixir, support.class.dart | #35BDCC | — |
| string.unquoted, punctuation.separator, entity.other.attribute-name, meta.object-literal.key, variable.object.property, variable.other.property, variable.other.object.property, variable.other.constant.property, meta.type.annotation, support.type.property-name.css, support.type.vendored, constant.language.symbol.elixir, variable.graphql, meta.attribute.python, source.dart, entity.other.attribute-name.class.css | #AD6B91 | — |
| invalid.broken, invalid.deprecated, invalid.illegal, invalid.unimplemented, invalid, message.error, markup.deleted | #B93844 | italic |
| carriage-return | #FFFFFF | italic underline |
| source.regexp, string.regexp, constant.other.reference.link, string.other.link | #80540A | — |
| string.regexp.character-class, string.regexp constant.character.escape, string.regexp source.ruby.embedded, string.regexp string.regexp.arbitrary-repitition | #80540A | — |
| string.regexp constant.character.escape | #80540A | bold |
| entity.other.attribute-name.id.css, entity.other.attribute-name.class.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css, entity.name.tag.css, meta.selector.css, meta.selector.css entity.name.tag, meta.selector.css entity.other.attribute-name, punctuation.definition.entity.css | #A9CD6E | — |
| support.type.property-name.json | #AD6B91 | — |
| punctuation.definition.list.begin.markdown | #955FA4 | — |
| markup.heading, markup.heading entity.name | #955FA4 | bold |
| markup.quote | #47C491 | — |
| markup.italic | #394952 | italic |
| markup.bold | #394952 | bold |
| markup.underline | — | underline |
| markup.strikethrough | — | strikethrough |
| markup.inline.raw | #35BDCC | — |
| meta.diff.header.from-file, punctuation.definition.deleted | #B93844 | — |
| punctuation.section.embedded | #8669BA | — |
| meta.diff.header.to-file, punctuation.definition.inserted | #006B4D | — |
| punctuation.definition.changed | #39749D | — |
| markup.ignored, markup.untracked | #6B7D86 | — |
| meta.diff.range | #8669BA | bold |
| meta.diff.header, meta.separator, meta.output, support.constant.property-value.css, variable.parameter.keyframe-list.css, source.css, support.constant.font-name, support.constant.vendored.property-value | #35BDCC | — |
| brackethighlighter.tag, brackethighlighter.curly, brackethighlighter.round, brackethighlighter.square, brackethighlighter.angle, brackethighlighter.quote | #72858E | — |
| brackethighlighter.unmatched | #B93844 | — |
| token.info-token | #35BDCC | — |
| token.warn-token | #80540A | — |
| token.error-token | #B93844 | — |
| token.debug-token | #8669BA | — |
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}!`;
}