Aurora
Publisher: Zac de LusignanThemes in package: 1
A dark theme inspired by the Northern Lights
A dark theme inspired by the Northern Lights
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 |
|---|---|---|
| string | #AEDBF9 | — |
| punctuation, meta.bracket, bracket.sql, keyword.operator.relation.julia, keyword.operator.arithmetic.julia, keyword.operator.dots.julia, keyword.operator.range.julia, keyword.operator.relation.types.julia, keyword.operator.other.r, keyword.operator.arithmetic.r, keyword.operator.comparison.r, keyword.other.r, keyword.operator.infix.haskell, keyword.operator.key-value.rust, keyword.operator.comparison.rust, keyword.operator.range.rust, keyword.operator.access.dot.rust, keyword.operator.logical.rust, keyword.operator.namespace.rust, keyword.operator.dereference.rust, keyword.operator.borrow.and.rust | #A8C4FF | — |
| constant.other.symbol | #A8C4FF | — |
| entity.name.function, meta.function-call, support.function.aggregate.sql, meta.function, source.python meta.function-call.python, entity.name.function.call, variable.function.r, meta.function-call.r, variable.language.dax | #D3DAFF | |
| constant.character.escape, text.html constant.character.entity.named | #A3A7D8 | — |
| constant.language.boolean | #D3DAFF | — |
| constant.numeric | #DCB9FF | — |
| keyword.other.sql.common, keyword.other.data-integrity.sql, meta.preprocessor.haskell, keyword.other.module.haskell, keyword.other.import.haskell, meta.import.haskell, keyword.other.deriving.haskell, keyword.operator.dax | #A8C4FF | |
| variable, support.variable, variable.language, support.constant, meta.definition.variable, entity.name.function, meta.function-call.arguments, keyword.operator.star.sql | #A3A7D8 | — |
| constant.language | #DCB9FF | — |
| keyword, modifier, variable.language.this, support.type.object, meta.import.haskell, meta.preprocessor.haskell, keyword.other, keyword.other.DDL.create.II.sql, keyword.other.DML.sql, keyword.other.preprocessor.pragma.haskell, keyword.other.preprocessor.extension.haskell | #A8C4FF | — |
| storage.type, storage.modifier, storage.control | #6973FF | — |
| support.module, support.node | #A0A0FF | italic |
| entity.name.type, entity.other.inherited-class, entity.other | #A0A0FF | — |
| comment | #666888 | italic |
| comment punctuation.definition.comment, string.quoted.docstring | #666888 | italic |
| punctuation | #A8C4FF | |
| entity.name, entity.name.type.class, support.type, meta.use, support.function.dax | #A0A0FF | — |
| variable.object.property, meta.field.declaration entity.name.function | #D3DAFF | — |
| meta.definition.method entity.name.function, entity.namespace.r | #A0A0FF | — |
| template.expression.begin, template.expression.end, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end | #A8C4FF | — |
| meta.embedded, source.groovy.embedded, meta.template.expression | #A3A7D8 | — |
| entity.name.tag.yaml, entity.name.type.option.rust, entity.name.type.rust | #D3DAFF | — |
| meta.object-literal.key, meta.object-literal.key string, support.type.property-name.json | #D3DAFF | — |
| constant.language.json | #A8C4FF | — |
| entity.other.attribute-name.class | #D3DAFF | — |
| entity.other.attribute-name.id | #DCB9FF | — |
| source.css entity.name.tag | #D3DAFF | — |
| support.type.property-name.css | #B2CCD6 | — |
| meta.tag, punctuation.definition.tag | #A8C4FF | — |
| entity.name.tag | #A0A0FF | — |
| entity.other.attribute-name | #A0A0FF | — |
| punctuation.definition.entity.html | #A3A7D8 | — |
| markup.heading | #A8C4FF | — |
| text.html.markdown meta.link.inline, meta.link.reference | #D3DAFF | — |
| text.html.markdown beginning.punctuation.definition.list | #A8C4FF | — |
| markup.italic | #D3DAFF | italic |
| markup.bold | #D3DAFF | bold |
| markup.bold markup.italic, markup.italic markup.bold | #D3DAFF | italic bold |
| markup.fenced_code.block.markdown punctuation.definition.markdown | #AEDBF9 | — |
| markup.inline.raw.string.markdown | #AEDBF9 | — |
| keyword.other.definition.ini | #D3DAFF | — |
| entity.name.section.group-title.ini | #A8C4FF | — |
| source.cs meta.class.identifier storage.type | #D3DAFF | — |
| source.cs meta.method.identifier entity.name.function | #D3DAFF | — |
| source.cs meta.method-call meta.method, source.cs entity.name.function | #A8C4FF | — |
| source.cs storage.type | #D3DAFF | — |
| source.cs meta.method.return-type | #D3DAFF | — |
| source.cs meta.preprocessor | #464B5D | — |
| source.cs entity.name.type.namespace | #A3A7D8 | — |
| meta.jsx.children, SXNested | #A3A7D8 | — |
| source.cpp meta.block variable.other | #A3A7D8 | — |
| source.python meta.member.access.python | #D3DAFF | italic |
| meta.block | #D3DAFF | — |
| source.php support.other.namespace, source.php meta.use support.class | #A3A7D8 | — |
| constant.keyword | #D3DAFF | italic |
| markup.deleted | #F7B7CF | — |
| markup.inserted | #AEDBF9 | — |
| markup.underline | — | underline |
| keyword.control | #A8C4FF | italic |
| markup.quote | #A8C4FF | italic |
| keyword.operator.assignment, keyword.operator.update, keyword.operator.eq.haskell | #6973FF | — |
| keyword.other.special-method, support.function | #D3DAFF | — |
| entity.name.type.class, support.type, support.class, meta.use, support.class.component | #A0A0FF | — |
| meta.function-call.generic.python | #D3DAFF | — |
| meta.function-call.arguments | #A3A7D8 | — |
| markup.fenced_code.block | #A3A7D890 | — |
| variable.parameter, meta.recordexpression.powerquery, entity.name.powerquery | #E1DFE8 | italic |
| punctuation.definition.quote | #A8C4FF | — |
| meta.structure.dictionary.json support.type.property-name.json | #6973FF | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #A8C4FF | — |
| 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 | #D3DAFF | — |
| 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 | #A0A0FF | — |
| 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 | #DCB9FF | — |
| 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 | #F0CCCF | — |
| 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 | #A0A0FF | — |
| 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 | #AEDBF9 | — |
| 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 | #D3DAFF | — |
| token.info-token | #D3DAFF | — |
| token.warn-token | #CD9731 | — |
| token.error-token | #F44747 | — |
| token.debug-token | #B267E6 | — |
| support.function.ranking.sql, support.function.conversion.sql | #A8C4FF | — |
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}!`;
}