Matcha Ceremony
Publisher: fullstacklabXDThemes in package: 6
Zen-inspired theme with muted matcha greens and warm rice paper tones
Zen-inspired theme with muted matcha greens and warm rice paper tones
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 |
|---|---|---|
| emphasis | — | italic |
| strong | — | bold |
| header | #7D9B76 | — |
| comment, punctuation.definition.comment | #6B6357 | italic |
| comment keyword.codetag.notation, comment.block.documentation keyword, storage.type.class.jsdoc | #B8A9C9 | — |
| comment.block.documentation variable.other, comment.block.documentation entity.name.type | #7BA3A3 | italic |
| string | #E8DCC4 | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #D4C4A8 | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end | #7D9B76 | — |
| meta.template.expression | #EDE8DC | — |
| constant, variable.other.constant | #C9B896 | — |
| constant.numeric | #B8A9C9 | — |
| constant.language.boolean | #A4C49B | — |
| constant.language.null, constant.language.undefined | #A4C49B | italic |
| keyword | #7D9B76 | — |
| storage.type, storage.modifier | #7D9B76 | italic |
| keyword.control | #7D9B76 | — |
| keyword.control.import, keyword.control.export, keyword.control.from | #7D9B76 | italic |
| entity.name.function, meta.function-call | #8FA8A0 | — |
| variable.parameter | #C9B896 | italic |
| storage.type.function.arrow | #7D9B76 | — |
| entity.name.type.class, entity.name.class | #7BA3A3 | bold |
| entity.name.type.interface | #7BA3A3 | italic |
| entity.name.type, support.type | #7BA3A3 | italic |
| entity.name.type.parameter | #C9B896 | — |
| variable | #EDE8DC | — |
| variable.language | #A4C49B | italic |
| variable.other.property, meta.object-literal.key | #A89F8B | — |
| entity.name.tag | #7D9B76 | — |
| entity.other.attribute-name | #C9B896 | italic |
| string.quoted.double.html, string.quoted.single.html | #E8DCC4 | — |
| meta.selector, entity.other.attribute-name.class.css, entity.other.attribute-name.id.css | #7BA3A3 | — |
| support.type.property-name.css | #8FA8A0 | — |
| support.constant.property-value.css, meta.property-value.css | #C9B896 | — |
| keyword.other.unit.css | #B8A9C9 | — |
| entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css | #7D9B76 | — |
| keyword.operator | #7D9B76 | — |
| keyword.operator.comparison, keyword.operator.relational | #7BA3A3 | — |
| keyword.operator.logical | #7D9B76 | — |
| punctuation | #A89F8B | — |
| punctuation.definition.block, meta.brace | #A89F8B | — |
| string.regexp | #A4C49B | — |
| punctuation.definition.group.regexp, keyword.operator.quantifier.regexp | #B8A9C9 | — |
| meta.decorator, punctuation.decorator | #B8A9C9 | — |
| markup.heading, heading.1.markdown, heading.2.markdown, heading.3.markdown | #7D9B76 | bold |
| markup.bold | #C9B896 | bold |
| markup.italic | #B8A9C9 | italic |
| markup.underline.link, string.other.link | #8FA8A0 | — |
| markup.inline.raw, markup.fenced_code.block | #E8DCC4 | — |
| markup.quote | #6B6357 | italic |
| punctuation.definition.list.begin.markdown | #7D9B76 | — |
| support.type.property-name.json | #7D9B76 | — |
| string.quoted.double.json | #E8DCC4 | — |
| entity.name.tag.yaml | #7D9B76 | — |
| variable.parameter.function.language.special.self.python, variable.parameter.function.language.special.cls.python, variable.language.special.self.python | #A4C49B | italic |
| support.function.builtin.python, support.type.python | #8FA8A0 | — |
| support.function.magic.python | #B8A9C9 | italic |
| entity.name.function.decorator.python, meta.function.decorator.python | #B8A9C9 | — |
| string.quoted.docstring.multi.python, string.quoted.docstring.single.python | #6B6357 | italic |
| constant.character.format.placeholder.other.python | #7D9B76 | — |
| punctuation.definition.lifetime.rust, entity.name.lifetime.rust, storage.modifier.lifetime.rust | #A4C49B | italic |
| entity.name.function.macro.rust, support.macro.rust, meta.macro.rust | #B8A9C9 | — |
| meta.attribute.rust, punctuation.definition.attribute.rust, punctuation.brackets.attribute.rust | #7BA3A3 | — |
| keyword.other.unsafe.rust | #A4C49B | bold |
| storage.modifier.mut.rust | #7D9B76 | italic |
| entity.name.type.rust, entity.name.type.primitive.rust, support.type.primitive.rust | #7BA3A3 | — |
| entity.name.type.trait.rust | #7BA3A3 | italic |
| keyword.other.impl.rust | #7D9B76 | italic |
| variable.language.self.rust | #A4C49B | italic |
| entity.name.module.rust, entity.name.namespace.rust | #7BA3A3 | — |
| variable.language.this | #A4C49B | italic |
| support.type.primitive.ts, support.type.builtin.ts | #7BA3A3 | — |
| entity.name.package.go | #7BA3A3 | — |
| support.function.builtin.go | #8FA8A0 | — |
| keyword.control.directive.include, keyword.control.directive.define, keyword.control.directive.conditional, meta.preprocessor | #B8A9C9 | — |
| support.type.sys-types.c, support.type.sys-types.cpp, storage.type.built-in.c, storage.type.built-in.cpp | #7BA3A3 | — |
| invalid | #A4C49B | underline |
| invalid.deprecated | #6B6357 | strikethrough |
| support.function | #8FA8A0 | — |
| support.class | #7BA3A3 | — |
| support.constant | #C9B896 | — |
| entity.name | #7BA3A3 | — |
| entity.name.namespace, entity.name.module | #7BA3A3 | — |
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}!`;
}