Matcha Ceremony Fork
Publisher: robosloneThemes in package: 6
Maintained fork of fullstacklabXD's Matcha Ceremony theme with restored assets and theme-only packaging.
Maintained fork of fullstacklabXD's Matcha Ceremony theme with restored assets and theme-only packaging.
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 | #6D8A66 | — |
| comment, punctuation.definition.comment | #5A544D | italic |
| comment keyword.codetag.notation, comment.block.documentation keyword, storage.type.class.jsdoc | #9A8CA8 | — |
| comment.block.documentation variable.other, comment.block.documentation entity.name.type | #6A8A8A | italic |
| string | #D0C5B5 | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #C0B5A5 | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end | #6D8A66 | — |
| meta.template.expression | #D5D0C5 | — |
| constant, variable.other.constant | #B0A080 | — |
| constant.numeric | #9A8CA8 | — |
| constant.language.boolean | #8BA382 | — |
| constant.language.null, constant.language.undefined | #8BA382 | italic |
| keyword | #6D8A66 | — |
| storage.type, storage.modifier | #6D8A66 | italic |
| keyword.control | #6D8A66 | — |
| keyword.control.import, keyword.control.export, keyword.control.from | #6D8A66 | italic |
| entity.name.function, meta.function-call | #7A9189 | — |
| variable.parameter | #B0A080 | italic |
| storage.type.function.arrow | #6D8A66 | — |
| entity.name.type.class, entity.name.class | #6A8A8A | bold |
| entity.name.type.interface | #6A8A8A | italic |
| entity.name.type, support.type | #6A8A8A | italic |
| entity.name.type.parameter | #B0A080 | — |
| variable | #D5D0C5 | — |
| variable.language | #8BA382 | italic |
| variable.other.property, meta.object-literal.key | #8A8579 | — |
| entity.name.tag | #6D8A66 | — |
| entity.other.attribute-name | #B0A080 | italic |
| string.quoted.double.html, string.quoted.single.html | #D0C5B5 | — |
| meta.selector, entity.other.attribute-name.class.css, entity.other.attribute-name.id.css | #6A8A8A | — |
| support.type.property-name.css | #7A9189 | — |
| support.constant.property-value.css, meta.property-value.css | #B0A080 | — |
| keyword.other.unit.css | #9A8CA8 | — |
| entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css | #6D8A66 | — |
| keyword.operator | #6D8A66 | — |
| keyword.operator.comparison, keyword.operator.relational | #6A8A8A | — |
| keyword.operator.logical | #6D8A66 | — |
| punctuation | #8A8579 | — |
| punctuation.definition.block, meta.brace | #8A8579 | — |
| string.regexp | #8BA382 | — |
| punctuation.definition.group.regexp, keyword.operator.quantifier.regexp | #9A8CA8 | — |
| meta.decorator, punctuation.decorator | #9A8CA8 | — |
| markup.heading, heading.1.markdown, heading.2.markdown, heading.3.markdown | #6D8A66 | bold |
| markup.bold | #B0A080 | bold |
| markup.italic | #9A8CA8 | italic |
| markup.underline.link, string.other.link | #7A9189 | — |
| markup.inline.raw, markup.fenced_code.block | #D0C5B5 | — |
| markup.quote | #5A544D | italic |
| punctuation.definition.list.begin.markdown | #6D8A66 | — |
| support.type.property-name.json | #6D8A66 | — |
| string.quoted.double.json | #D0C5B5 | — |
| entity.name.tag.yaml | #6D8A66 | — |
| variable.parameter.function.language.special.self.python, variable.parameter.function.language.special.cls.python, variable.language.special.self.python | #8BA382 | italic |
| support.function.builtin.python, support.type.python | #7A9189 | — |
| support.function.magic.python | #9A8CA8 | italic |
| entity.name.function.decorator.python, meta.function.decorator.python | #9A8CA8 | — |
| string.quoted.docstring.multi.python, string.quoted.docstring.single.python | #5A544D | italic |
| constant.character.format.placeholder.other.python | #6D8A66 | — |
| punctuation.definition.lifetime.rust, entity.name.lifetime.rust, storage.modifier.lifetime.rust | #8BA382 | italic |
| entity.name.function.macro.rust, support.macro.rust, meta.macro.rust | #9A8CA8 | — |
| meta.attribute.rust, punctuation.definition.attribute.rust, punctuation.brackets.attribute.rust | #6A8A8A | — |
| keyword.other.unsafe.rust | #8BA382 | bold |
| storage.modifier.mut.rust | #6D8A66 | italic |
| entity.name.type.rust, entity.name.type.primitive.rust, support.type.primitive.rust | #6A8A8A | — |
| entity.name.type.trait.rust | #6A8A8A | italic |
| keyword.other.impl.rust | #6D8A66 | italic |
| variable.language.self.rust | #8BA382 | italic |
| entity.name.module.rust, entity.name.namespace.rust | #6A8A8A | — |
| variable.language.this | #8BA382 | italic |
| support.type.primitive.ts, support.type.builtin.ts | #6A8A8A | — |
| entity.name.package.go | #6A8A8A | — |
| support.function.builtin.go | #7A9189 | — |
| keyword.control.directive.include, keyword.control.directive.define, keyword.control.directive.conditional, meta.preprocessor | #9A8CA8 | — |
| support.type.sys-types.c, support.type.sys-types.cpp, storage.type.built-in.c, storage.type.built-in.cpp | #6A8A8A | — |
| invalid | #8BA382 | underline |
| invalid.deprecated | #5A544D | strikethrough |
| support.function | #7A9189 | — |
| support.class | #6A8A8A | — |
| support.constant | #B0A080 | — |
| entity.name | #6A8A8A | — |
| entity.name.namespace, entity.name.module | #6A8A8A | — |
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}!`;
}