Alchemist's Orchid
Publisher: RynaroThemes in package: 3
Astigmatism-optimized, anxiety-reducing color theme with Arctic aesthetics and pastel purple/pink accents. Three variants: Dark, Light, and Sepia.
Astigmatism-optimized, anxiety-reducing color theme with Arctic aesthetics and pastel purple/pink accents. Three variants: Dark, Light, and Sepia.
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, comment.line, comment.block, punctuation.definition.comment | #A3BE8C | italic |
| comment.block.documentation, comment.block.javadoc, string.quoted.docstring, comment.block.documentation punctuation.definition.comment | #A3BE8C | italic |
| string, string.quoted, string.quoted.single, string.quoted.double, string.quoted.triple, string.template, string.interpolated | #E8A4CC | — |
| constant.character.escape | #F0C0DD | — |
| string.regexp, constant.regexp, string.regexp.js | #E8A4CC | — |
| keyword, keyword.control, keyword.operator.new, keyword.operator.expression, keyword.other | #C89BD0 | — |
| keyword.control.flow, keyword.control.return, keyword.control.conditional, keyword.control.loop, keyword.control.trycatch, keyword.control.exception | #C89BD0 | bold |
| storage, storage.type, storage.modifier | #C89BD0 | — |
| entity.name.function, meta.function-call, support.function, support.function.any-method | #81A1C1 | — |
| meta.definition.method, entity.name.method | #81A1C1 | — |
| support.function.builtin, support.function.magic | #A3C2E8 | — |
| entity.name.type, entity.name.class, support.type, support.class | #DFCA9A | — |
| entity.name.type.parameter, meta.type.parameters | #DFCA9A | italic |
| entity.name.type.interface, entity.name.type.alias | #EBD9AF | — |
| constant, constant.language, constant.numeric, constant.character | #8FBCBB | — |
| constant.language.boolean, constant.language.true, constant.language.false | #8FBCBB | bold |
| constant.language.null, constant.language.nil, constant.language.undefined | #8FBCBB | italic |
| variable, variable.other, variable.other.readwrite | #E5E9F0 | — |
| variable.parameter, variable.other.parameter | #D8DEE9 | italic |
| variable.other.property, variable.other.object.property, meta.object-literal.key | #E5E9F0 | — |
| variable.language.this, variable.language.self, variable.language.special.self | #C89BD0 | italic |
| keyword.operator, keyword.operator.arithmetic, keyword.operator.assignment, keyword.operator.comparison, keyword.operator.logical | #81A1C1 | — |
| punctuation, punctuation.definition, punctuation.separator, punctuation.terminator | #D8DEE9 | — |
| punctuation.definition.block, punctuation.definition.parameters, punctuation.definition.arguments, punctuation.section, meta.brace | #D8DEE9 | — |
| entity.name.tag, meta.tag, punctuation.definition.tag | #81A1C1 | — |
| entity.other.attribute-name | #8FBCBB | italic |
| support.class.component, entity.name.tag.component, support.class.component.jsx, support.class.component.tsx | #DFCA9A | — |
| entity.name.tag.css, entity.other.attribute-name.class.css, entity.other.attribute-name.id.css | #81A1C1 | — |
| support.type.property-name.css, support.type.property-name.scss, meta.property-name.css | #8FBCBB | — |
| support.constant.property-value.css, constant.numeric.css, meta.property-value.css | #E8A4CC | — |
| keyword.other.unit.css, keyword.other.unit.scss | #DFCA9A | — |
| variable.scss, variable.css | #E8A4CC | — |
| support.type.property-name.json, string.json support.type.property-name | #81A1C1 | — |
| entity.name.tag.yaml | #81A1C1 | — |
| entity.name.type.anchor.yaml, punctuation.definition.anchor.yaml | #C89BD0 | — |
| markup.heading, entity.name.section.markdown, markup.heading.setext | #C89BD0 | bold |
| markup.bold | #DFCA9A | bold |
| markup.italic | #E8A4CC | italic |
| markup.underline.link, string.other.link | #81A1C1 | — |
| markup.inline.raw, markup.fenced_code, markup.raw.block, markup.raw.inline | #A3BE8C | — |
| punctuation.definition.list.begin.markdown, markup.list | #8FBCBB | — |
| markup.quote, punctuation.definition.quote.begin.markdown | #A3BE8C | italic |
| invalid, invalid.illegal | #BF616A | underline |
| invalid.deprecated | #D08770 | strikethrough |
| entity.name | #DFCA9A | — |
| entity.name.namespace, entity.name.module | #DFCA9A | — |
| meta.decorator, meta.annotation, punctuation.decorator | #DAC0F2 | — |
| keyword.control.import, keyword.control.export, keyword.control.from, keyword.control.as | #C89BD0 | — |
| support.type.primitive, support.type.builtin | #8FBCBB | — |
| entity.name.function.macro.rust, meta.macro.rust | #C89BD0 | — |
| punctuation.definition.lifetime.rust, entity.name.lifetime.rust, storage.modifier.lifetime.rust | #E8A4CC | italic |
| meta.attribute.rust | #DAC0F2 | — |
| entity.name.function.decorator.python, meta.function.decorator.python | #DAC0F2 | — |
| support.function.magic.python | #A3C2E8 | — |
| constant.language.symbol.ruby, constant.other.symbol.ruby | #8FBCBB | — |
| variable.other.readwrite.instance.ruby | #E8A4CC | — |
| variable.other.readwrite.class.ruby | #DFCA9A | — |
| variable.other.normal.shell, variable.other.positional.shell, variable.other.special.shell | #E8A4CC | — |
| keyword.other.DML.sql, keyword.other.DDL.sql | #C89BD0 | bold |
| punctuation.definition.template-expression, punctuation.section.embedded | #C89BD0 | — |
| meta.embedded, source.embedded | #E5E9F0 | — |
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}!`;
}