Taze's Zen Theme
Publisher: taze92Themes in package: 2
A calm, clean, zen-inspired pastel theme (dark + light) for Visual Studio Code, tuned for Luau.
A calm, clean, zen-inspired pastel theme (dark + light) for Visual Studio Code, tuned for Luau.
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, comment.block.documentation | #6D7B96 | italic |
| comment.line.arrow, punctuation.definition.comment.arrow | #6D7B96 | italic |
| punctuation, punctuation.separator, punctuation.accessor, punctuation.terminator, punctuation.definition, meta.brace, meta.delimiter | #8D96AE | — |
| keyword.operator, keyword.operator.assignment, keyword.operator.arithmetic, keyword.operator.comparison, keyword.operator.logical, keyword.operator.relational, keyword.operator.bitwise, keyword.operator.spread, keyword.operator.expression, keyword.operator.instanceof, keyword.operator.new, keyword.operator.typeof, keyword.control, keyword.other, keyword.other.template | #D3B5F2 | — |
| keyword, storage, storage.type, storage.modifier, keyword.declaration | #D3B5F2 | — |
| variable, variable.other, variable.other.member, variable.other.object, variable.other.property, variable.other.readwrite, variable.other.constant, meta.object-literal.key | #E4E7F1 | — |
| variable.parameter, variable.other.parameter | #E4E7F1 | italic |
| variable.language, variable.other.this, variable.other.readwrite this, keyword.other.special-method | #FFC9A3 | italic |
| constant.numeric, constant.language, constant.character, constant.other.symbol, constant.other.key, constant.other.unit, constant.other.placeholder, keyword.other.unit, support.constant, constant.language.boolean, constant.language.null | #FFC9A3 | — |
| string, string.quoted, string.unquoted, string.other, string.template, string.quoted.single, string.quoted.double, string.quoted.other, punctuation.definition.string, meta.string | #A9E1B6 | — |
| string.template variable, string.template punctuation, keyword.other.substitution | #E4E7F1 | — |
| string.regexp, source.regexp | #8CD9D3 | — |
| constant.character.escape, constant.other.escape | #FFC9A3 | — |
| entity.name.function, entity.name.method, meta.function entity.name.function, meta.function-call entity.name.function, support.function, support.function.console, variable.function, variable.other.function, entity.name.function.symbol, keyword.other.function | #FFB3C0 | — |
| entity.name.type, entity.name.type.class, entity.name.class, entity.name.type.interface, entity.name.type.enum, entity.name.type.struct, entity.name.namespace, entity.other.inherited-class, support.type, support.class, storage.type.primitive, support.type.primitive | #EEDDA0 | — |
| entity.name.type.type-parameter, meta.type.entity.name.type | #ABC5FC | italic |
| tag.decorator.js, entity.name.function.decorator, meta.decorator, annotation, punctuation.definition.annotation | #8CD9D3 | italic |
| entity.name.tag, entity.name.tag.html, entity.name.tag.jsx, meta.tag.sgml | #8CD9D3 | — |
| punctuation.definition.tag, meta.tag punctuation | #566179 | — |
| entity.other.attribute-name, entity.other.attribute-name.html, meta.attribute | #ABC5FC | — |
| string.quoted.double attribute-value, entity.other.attribute-value | #A9E1B6 | — |
| entity.other.attribute-name.class, meta.selector entity.other.attribute-name.class | #EEDDA0 | — |
| entity.other.attribute-name.id | #FFB3C0 | — |
| entity.other.attribute-name.pseudo-class, entity.other.attribute-name.pseudo-element, entity.other.attribute-name.tag | #ABC5FC | — |
| support.type.property-name, support.type.property-name.css, source.css support.type.property-name, source.scss support.type.property-name, source.less support.type.property-name, support.variable.property | #E4E7F1 | — |
| keyword.other.unit.css, keyword.other.color, constant.other.color | #FFC9A3 | — |
| variable.other.property, support.variable.property.dom, support.type.object.dom, variable.other.object.property | #ABC5FC | — |
| punctuation.section.embedded, meta.embedded | #E4E7F1 | — |
| invalid, invalid.illegal, malformed | #FF7B93 | bold underline |
| invalid.deprecated, invalid.deprecated.comment | #566179 | underline |
| meta.diagnostic, source.sublime-linter | #8A93AC | — |
| markup.heading, markup.heading entity.name, markdown.heading | #FFB3C0 | bold |
| punctuation.definition.heading.markdown, markup.heading punctuation.definition.heading | #566179 | — |
| markup.bold, markup.bold string, punctuation.definition.bold | #FFB3C0 | bold |
| markup.italic, punctuation.definition.italic | #D3B5F2 | italic |
| markup.strikethrough, punctuation.definition.strikethrough | #8A93AC | strikethrough |
| markup.inline.raw, markup.raw.inline, markup.inline.raw.string | #A9E1B6 | — |
| markup.raw.block, markup.raw.block.fenced.markdown, punctuation.definition.fenced.markdown | #A9E1B6 | — |
| markup.quote, markup.quote punctuation.definition.blockquote | #8A93AC | italic |
| string.other.link.title.markdown, string.other.link.description.title.markdown, markup.underline.link, link | #ABC5FC | underline |
| constant.other.reference.link.markdown, meta.link | #8CD9D3 | — |
| markup.list, punctuation.definition.list_item.markdown | #FFB3C0 | — |
| meta.separator | #566179 | bold |
| markup.inserted, markup.inserted.git_gutter | #A9E1B6 | — |
| markup.deleted, markup.deleted.git_gutter | #FF8FA3 | — |
| markup.changed, markup.changed.git_gutter | #EEDDA0 | — |
| *url*, *link*, *uri*, *email* | #ABC5FC | underline |
| support.type.property-name.json, meta.structure.dictionary.json support.type.property-name.json | #E4E7F1 | — |
| entity.key, entity.name.tag.yaml, meta.structure.dictionary.json string.unquoted.label.json | #E4E7F1 | — |
| keyword.key.toml, support.type.property-name.toml | #E4E7F1 | — |
| variable.other.bash, variable.other.shell, shell.variable | #FFC9A3 | — |
| keyword.other.DML, keyword.other.DDL, keyword.other.create | #D3B5F2 | — |
| entity.name.type.table, entity.name.class.table | #EEDDA0 | — |
| meta, default, text, source | #E4E7F1 | — |
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}!`;
}