Auric Artisan Theme
Publisher: Auric ArtisanThemes in package: 24
Twenty-four dark and light colour themes built on one OKLCH accent engine, with a Theme Studio for re-keying any of them live and a WCAG and APCA contrast audit.
Twenty-four dark and light colour themes built on one OKLCH accent engine, with a Theme Studio for re-keying any of them live and a WCAG and APCA contrast audit.
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 | #867F6E | italic |
| comment.block.documentation, comment.line.documentation, punctuation.definition.comment.documentation | #A8C08A | italic |
| storage.type.class.jsdoc, punctuation.definition.block.tag.jsdoc, keyword.other.phpdoc, entity.name.tag.documentation | #C99BE0 | italic |
| entity.name.type.instance.jsdoc, variable.other.jsdoc | #7FD1C3 | italic |
| keyword.codetag, comment.notation, storage.type.class.todo | #E8B04B | bold |
| string, string.quoted, string.template, meta.embedded.assembly, punctuation.definition.string, string.unquoted | #C3D9A5 | — |
| punctuation.definition.template-expression, punctuation.section.embedded, meta.template.expression punctuation.definition, punctuation.definition.interpolation | #E8B04B | — |
| constant.character.escape, constant.other.placeholder, constant.other.character-class.escape | #E8B04B | — |
| string.regexp, string.regexp punctuation.definition.string, constant.other.character-class.set.regexp | #E5A0A0 | — |
| keyword.operator.quantifier.regexp, keyword.control.anchor.regexp | #E8B04B | — |
| constant.numeric, constant.numeric.integer, constant.numeric.float, keyword.other.unit | #E8B04B | — |
| constant.language, constant.language.boolean, constant.language.null, constant.language.undefined, constant.other.symbol, support.constant, variable.language.super | #F0C468 | — |
| variable.other.constant, entity.name.constant | #F0C468 | — |
| keyword, keyword.other, keyword.operator.expression, keyword.operator.new | #C99BE0 | — |
| keyword.control, keyword.control.flow, keyword.control.trycatch, keyword.control.loop, keyword.control.conditional | #D7A8EC | — |
| storage, storage.type, storage.modifier, keyword.other.important | #B98BD0 | — |
| variable.language.this, variable.language.self, keyword.other.this, variable.parameter.function.language.special.self | #D7A8EC | italic |
| keyword.operator, keyword.operator.arithmetic, keyword.operator.logical, keyword.operator.assignment, keyword.operator.comparison | #B9B1A0 | — |
| punctuation, punctuation.separator, punctuation.terminator, punctuation.accessor, meta.brace, punctuation.definition.parameters, punctuation.definition.block | #8A8478 | — |
| entity.name.function, support.function, meta.function-call.generic, meta.function-call entity.name.function, variable.function | #F4D97A | — |
| entity.name.function.member, meta.definition.function entity.name.function | #F4D97A | bold |
| entity.name.function.method, meta.method entity.name.function | #EFD08C | — |
| entity.name.function.macro, support.function.macro, meta.preprocessor | #E8B04B | — |
| entity.name.type, entity.name.class, entity.name.namespace, entity.name.scope-resolution, entity.other.inherited-class, support.class, support.type, meta.type.annotation entity.name.type | #7FD1C3 | — |
| entity.name.type.interface, entity.name.type.parameter, entity.name.type.trait, support.type.builtin | #9BDDD1 | italic |
| variable.other.enummember, entity.name.type.enum entity.name | #F0C468 | — |
| meta.decorator, meta.decorator punctuation.decorator, entity.name.function.decorator, storage.type.annotation, punctuation.definition.annotation | #E8B04B | italic |
| entity.name.label, entity.name.goto-label | #E5A0A0 | — |
| variable, variable.other.readwrite, meta.definition.variable variable.other, source variable.other.object | #E4DFD3 | — |
| variable.other.property, variable.other.object.property, meta.object-literal.key, support.variable.property, variable.other.member, entity.name.variable.field | #C9C2B2 | — |
| variable.parameter, meta.function.parameters variable, meta.parameters variable.other | #C0B49A | italic |
| support.variable, variable.language, support.variable.dom, support.variable.property.dom | #9BDDD1 | — |
| entity.name.tag, punctuation.definition.tag, meta.tag, punctuation.definition.tag.html | #C99BE0 | — |
| support.class.component, entity.name.tag.jsx, entity.name.tag.tsx, meta.tag.custom entity.name.tag | #7FD1C3 | — |
| entity.other.attribute-name, meta.attribute entity.other.attribute-name, entity.other.attribute-name.html | #E8B04B | italic |
| meta.tag.sgml, entity.name.tag.doctype, meta.tag.preprocessor | #867F6E | italic |
| entity.name.tag.css, entity.name.tag.scss, entity.name.tag.less | #C99BE0 | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.id.css, entity.other.attribute-name.pseudo-class, entity.other.attribute-name.pseudo-element, entity.other.attribute-name.parent-selector | #F4D97A | — |
| support.type.property-name.css, support.type.property-name.scss, meta.property-name | #C9C2B2 | — |
| variable.css, variable.argument.css, support.type.custom-property.name, variable.other.custom-property | #E8B04B | — |
| support.constant.property-value, meta.property-value, constant.numeric.css, keyword.other.unit.css | #C3D9A5 | — |
| keyword.control.at-rule, punctuation.definition.keyword.css | #D7A8EC | — |
| support.function.misc.css, support.function.transform, support.function.gradient | #EFD08C | — |
| constant.other.color, constant.other.color.rgb-value, support.constant.color | #F0C468 | — |
| support.type.property-name.json, meta.structure.dictionary.json string.quoted | #C9C2B2 | — |
| source.json meta.structure.dictionary.json support.type.property-name.json | #F4D97A | — |
| entity.name.tag.yaml, punctuation.definition.key-value.yaml | #C9C2B2 | — |
| punctuation.definition.anchor.yaml, variable.other.alias.yaml, entity.name.type.anchor.yaml | #E8B04B | — |
| keyword.other.definition.ini, support.type.property-name.toml, entity.name.section.toml | #C9C2B2 | — |
| entity.name.section.group-title.ini, punctuation.definition.entity.toml | #F4D97A | bold |
| support.function.builtin.shell, keyword.command.shell | #EFD08C | — |
| variable.other.normal.shell, punctuation.definition.variable.shell, string.other.dollar | #E8B04B | — |
| constant.other.option, string.unquoted.argument.shell | #C0B49A | — |
| keyword.other.DML, keyword.other.DDL, keyword.other.create.sql, keyword.other.sql | #D7A8EC | — |
| support.function.aggregate.sql, support.function.scalar.sql | #EFD08C | — |
| markup.heading, entity.name.section.markdown, punctuation.definition.heading | #6BA3E8 | bold |
| markup.bold, punctuation.definition.bold | #F0C468 | bold |
| markup.italic, punctuation.definition.italic | #C99BE0 | italic |
| markup.bold markup.italic, markup.italic markup.bold | #F0C468 | bold italic |
| markup.strikethrough | #867F6E | strikethrough |
| markup.quote, punctuation.definition.quote | #A8C08A | italic |
| markup.inline.raw, markup.fenced_code, markup.raw | #C3D9A5 | — |
| punctuation.definition.markdown, fenced_code.block.language | #867F6E | — |
| markup.underline.link, string.other.link, markup.link | #9EC4EE | — |
| string.other.link.title, string.other.link.description | #F4D97A | — |
| punctuation.definition.list.begin, markup.list punctuation | #E8B04B | — |
| markup.table, punctuation.separator.table | #8A8478 | — |
| markup.inserted | #8FC97A | — |
| markup.deleted | #F0736B | — |
| markup.changed | #E5C65C | — |
| markup.underline | — | underline |
| meta.diff.header, meta.diff.range | #C99BE0 | bold |
| meta.diff source.diff markup.inserted | #8FC97A | — |
| meta.diff source.diff markup.deleted | #F0736B | — |
| meta.scope.prelude.diff, text.git-commit | #F5F2EA | — |
| string.regexp.gitignore, source.gitignore | #C3D9A5 | — |
| keyword.other.special-method.dockerfile, keyword.control.dockerfile, keyword.other.dockerfile | #D7A8EC | — |
| entity.name.function.target.makefile, support.function.target.makefile | #F4D97A | bold |
| support.type.graphql, variable.graphql, entity.name.fragment.graphql, keyword.operator.definition.graphql | #7FD1C3 | — |
| string.regexp.glob, constant.other.glob | #E5A0A0 | — |
| invalid, invalid.illegal | #FF8F87 | bold |
| invalid.deprecated, entity.name.tag.deprecated | #8A8478 | strikethrough |
| invalid.illegal.unrecognized-tag, invalid.illegal.newline | #FF8F87 | — |
| meta.embedded, source.groovy.embedded, meta.embedded.block | #F5F2EA | — |
| constant.numeric.line-number.find-in-files | #55545C | — |
| constant.numeric.line-number.match | #6BA3E8 | bold |
| constant.language.error, entity.name.type.error | #F0736B | — |
| markup.highlight, markup.mark | #6BA3E8 | — |
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}!`;
}