Jazari
Publisher: AALA IT SolutionsThemes in package: 2
Dark and light VS Code theme. Teal accent, rounded floating panels, backdrop blur, zero noise. Named after Al-Jazari.
Dark and light VS Code theme. Teal accent, rounded floating panels, backdrop blur, zero noise. Named after Al-Jazari.
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 | #8B949E | italic |
| comment.block.documentation, comment.block.javadoc | #768390 | italic |
| string, string.quoted, string.template, string.quoted.single, string.quoted.double, string.quoted.triple | #3A7A3A | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #A85730 | — |
| keyword, keyword.control, keyword.control.flow, keyword.control.import, keyword.control.export, keyword.control.from, keyword.control.conditional, keyword.control.loop, keyword.control.trycatch, keyword.operator.new, keyword.operator.expression, keyword.operator.expression.typeof, keyword.operator.expression.instanceof, keyword.operator.expression.of, keyword.operator.expression.in, keyword.operator.expression.void, keyword.operator.expression.delete | #A85730 | — |
| storage, storage.type, storage.modifier, storage.type.function, storage.type.class, storage.type.interface, storage.type.enum, storage.type.type | #A85730 | — |
| entity.name.function, meta.function-call entity.name.function, support.function, meta.function-call | #2871A8 | — |
| variable.parameter, meta.parameter | #24292E | — |
| entity.name.type, entity.name.type.class, entity.name.type.interface, entity.name.type.enum, entity.name.type.struct, entity.name.type.type, support.type, support.class, entity.other.inherited-class | #7C3E9C | — |
| entity.name.type.parameter | #7C3E9C | — |
| constant.numeric, constant.numeric.integer, constant.numeric.float, constant.numeric.hex, constant.numeric.octal, constant.numeric.binary | #1A8A95 | — |
| constant.language, constant.language.boolean, constant.language.null, constant.language.undefined | #A85730 | — |
| variable.other.constant, variable.other.enummember | #7C3E9C | — |
| variable, variable.other, variable.other.readwrite, variable.other.object | #24292E | — |
| variable.language, variable.language.this, variable.language.self, variable.language.super | #A85730 | italic |
| variable.other.property, support.variable.property, variable.other.object.property | #4A6078 | — |
| keyword.operator, keyword.operator.assignment, keyword.operator.arithmetic, keyword.operator.comparison, keyword.operator.logical, keyword.operator.ternary, keyword.operator.spread, keyword.operator.rest, keyword.operator.type | #656D76 | — |
| punctuation, punctuation.definition.block, punctuation.definition.parameters, punctuation.definition.arguments, punctuation.separator, punctuation.terminator, punctuation.accessor, meta.brace.round, meta.brace.square, meta.brace.curly | #656D76 | — |
| entity.name.tag, entity.name.tag.html, punctuation.definition.tag, punctuation.definition.tag.html, punctuation.definition.tag.begin, punctuation.definition.tag.end | #A85730 | — |
| entity.other.attribute-name, entity.other.attribute-name.html | #4A6078 | — |
| support.class.component, entity.name.tag support.class.component | #7C3E9C | — |
| entity.name.tag.css, entity.other.attribute-name.class.css, entity.other.attribute-name.id.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css | #A85730 | — |
| support.type.property-name.css, support.type.vendored.property-name.css, meta.property-name.css | #4A6078 | — |
| support.constant.property-value.css, support.constant.font-name.css, support.constant.media.css | #24292E | — |
| keyword.other.unit.css, constant.other.color.rgb-value.css, support.constant.color.css | #1A8A95 | — |
| keyword.control.at-rule.css, keyword.control.at-rule.media.css, keyword.control.at-rule.import.css | #A85730 | — |
| variable.scss, variable.other.less | #24292E | — |
| string.regexp, constant.other.character-class.regexp, keyword.operator.quantifier.regexp, keyword.operator.or.regexp, punctuation.definition.group.regexp, punctuation.definition.character-class.regexp | #1A8A95 | — |
| constant.character.escape, constant.character.escape.backslash | #CF2236 | — |
| meta.decorator, meta.decorator entity.name.function, punctuation.decorator, meta.annotation, storage.type.annotation | #956E14 | — |
| support.type.property-name.json, string.json support.type.property-name | #4A6078 | — |
| string.quoted.double.json | #3A7A3A | — |
| entity.name.tag.yaml, support.type.property-name.yaml | #A85730 | — |
| string.unquoted.plain.out.yaml | #24292E | — |
| entity.name.type.anchor.yaml, variable.other.alias.yaml, keyword.control.flow.block-scalar.yaml | #1A8A95 | — |
| heading.1.markdown entity.name, heading.2.markdown entity.name, heading.3.markdown entity.name, heading.4.markdown entity.name, heading.5.markdown entity.name, heading.6.markdown entity.name, markup.heading, markup.heading.setext | #A85730 | bold |
| punctuation.definition.heading.markdown | #A85730 | — |
| markup.bold | #24292E | bold |
| markup.italic | #24292E | italic |
| markup.inline.raw, markup.fenced_code.block | #3A7A3A | — |
| markup.underline.link, markup.underline.link.markdown | #1A8A95 | — |
| string.other.link.title.markdown, string.other.link.description.markdown | #2871A8 | — |
| punctuation.definition.list.begin.markdown, markup.list.numbered.markdown, markup.list.unnumbered.markdown | #A85730 | — |
| markup.quote.markdown | #656D76 | italic |
| meta.function.decorator.python, entity.name.function.decorator.python | #956E14 | — |
| support.function.magic.python | #2871A8 | — |
| constant.character.format.placeholder.other.python | #A85730 | — |
| entity.name.package.go | #24292E | — |
| entity.name.import.go | #3A7A3A | — |
| entity.name.type.lifetime.rust, storage.modifier.lifetime.rust, punctuation.definition.lifetime.rust | #1A8A95 | — |
| entity.name.function.macro.rust, support.macro.rust | #2871A8 | bold |
| meta.attribute.rust | #956E14 | — |
| variable.other.normal.shell, variable.other.positional.shell, variable.other.bracket.shell, variable.other.special.shell | #24292E | — |
| entity.name.namespace, entity.name.module, entity.name.type.module | #7C3E9C | — |
| support.constant, support.variable | #7C3E9C | — |
| markup.inserted | #2E8B3E | — |
| markup.deleted | #CF2236 | — |
| markup.changed | #2871A8 | — |
| invalid, invalid.illegal | #CF2236 | — |
| invalid.deprecated | #B87514 | strikethrough |
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}!`;
}