Australis-Dark
Publisher: Vuong HoangThemes in package: 1
Australis - Aurora Inspired Dark Theme
Australis - Aurora Inspired Dark Theme
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 | #42DCD1 | — |
| constant.character.escape, text.html constant.character.entity.named, punctuation.definition.entity.html, constant.character.string.escape, constant.regexp | #FFE14E | — |
| constant.language.boolean | #A4C4FF | — |
| constant.numeric | #42DCD1 | — |
| support.variable, support.class, meta.definition.variable entity.name.function, variable.other | #A4C4FF | — |
| constant, variable.other.constant, support.constant, variable.other.property | #6388D8 | — |
| keyword, modifier, variable.language.this, support.type.object, constant.language | #51E08A | — |
| entity.name.function, support.function, meta.function-call, meta.function-call.object, meta.function-call.php, meta.function-call.static, meta.method-call.java meta.method, meta.method.groovy, support.function.any-method.lua, keyword.operator.function.infix | #A4C4FF | — |
| meta.function-call.arguments, entity.name.variable.parameter, meta.at-rule.function variable, meta.at-rule.mixin variable, meta.function.arguments variable.other.php, meta.selectionset.graphql meta.arguments.graphql variable.arguments.graphql, variable.parameter | #6388D8 | — |
| constant.other.symbol.hashkey punctuation.definition.constant.ruby, entity.other.attribute-name.placeholder punctuation, entity.other.attribute-name.pseudo-class punctuation, entity.other.attribute-name.pseudo-element punctuation, meta.group.double.toml, meta.group.toml, meta.object-binding-pattern-variable punctuation.destructuring, punctuation.colon.graphql, punctuation.definition.block.scalar.folded.yaml, punctuation.definition.block.scalar.literal.yaml, punctuation.definition.block.sequence.item.yaml, punctuation.definition.entity.other.inherited-class, punctuation.function.swift, punctuation.separator.dictionary.key-value, punctuation.separator.hash, punctuation.separator.inheritance, punctuation.separator.key-value, punctuation.separator.key-value.mapping.yaml, punctuation.separator.namespace, punctuation.separator.pointer-access, punctuation.separator.slice, string.unquoted.heredoc punctuation.definition.string, support.other.chomping-indicator.yaml, punctuation.separator.annotation | #D8ADFF | — |
| storage.type, storage.modifier | #A4C4FF | — |
| support.module, support.node | #A4C4FF | italic |
| support.type, entity.name.type, entity.other.inherited-class, entity.name.type, keyword.primitive-datatypes.swift, keyword.type.cs, meta.protocol-list.objc, meta.return-type.objc, source.go storage.type, source.groovy storage.type, source.java storage.type, source.powershell entity.other.attribute-name, storage.class.std.rust, storage.type.attribute.swift, storage.type.c, storage.type.core.rust, storage.type.cs, storage.type.groovy, storage.type.objc, storage.type.php, storage.type.haskell, storage.type.ocaml | #CCE7EC | — |
| comment, wildcard.comment, unused.comment, punctuation.definition.comment | #565F69 | italic |
| entity.name.type.class | #51E08A | underline |
| variable.object.property, meta.field.declaration entity.name.function | #16B866 | — |
| meta.definition.method entity.name.function | #16B866 | — |
| meta.function entity.name.function | #D8ADFF | — |
| template.expression.begin, template.expression.end, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end | #51E08A | — |
| meta.embedded, source.groovy.embedded, meta.template.expression | #A9BCC3 | — |
| entity.name.tag.yaml | #A4C4FF | — |
| meta.object-literal.key, meta.object-literal.key string, support.type.property-name.json | #CCE7EC | — |
| constant.language.json | #6388D8 | — |
| entity.other.attribute-name.class | #A4C4FF | — |
| entity.other.attribute-name.id | #6388D8 | — |
| source.css entity.name.tag | #51E08A | — |
| meta.tag, punctuation.definition.tag | #51E08A | — |
| entity.name.tag | #A4C4FF | — |
| entity.other.attribute-name | #A4C4FF | — |
| markup.heading | #51E08A | — |
| text.html.markdown meta.link.inline, meta.link.reference | #A4C4FF | — |
| text.html.markdown markup.quote | #565F69 | — |
| text.html.markdown beginning.punctuation.definition.list | #51E08A | — |
| markup.italic | #A4C4FF | italic |
| markup.bold | #A4C4FF | bold |
| markup.bold markup.italic, markup.italic markup.bold | #A4C4FF | italic bold |
| markup.fenced_code.block.markdown punctuation.definition.markdown | #42DCD1 | — |
| markup.inline.raw.string.markdown | #42DCD1 | — |
| keyword.other.definition.ini | #A4C4FF | — |
| entity.name.section.group-title.ini | #51E08A | — |
| source.cs meta.class.identifier storage.type | #51E08A | underline |
| source.cs meta.method.identifier entity.name.function | #16B866 | — |
| source.cs meta.method-call meta.method, source.cs entity.name.function | #A4C4FF | — |
| source.cs storage.type | #CCE7EC | — |
| source.cs meta.method.return-type | #CCE7EC | — |
| source.cs meta.preprocessor | #565F69 | — |
| source.cs entity.name.type.namespace | #A9BCC3 | — |
| comment, comment.block, comment.block.documentation, comment.line, constant | — | italic |
| ref.matchtext | #FFFFFF | — |
| token.info-token | #6796E6 | — |
| token.warn-token | #CD9731 | — |
| token.error-token | #F44747 | — |
| token.debug-token | #B267E6 | — |
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}!`;
}