jax theme
Publisher: jaxThemes in package: 1
My personal theme :3
My personal theme :3
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 | #A2A7A8 | italic bold |
| variable, variable.parameter.function-call, variable.language, entity.name.variable.local.cs | #00BFBC | — |
| variable.other.constant, constant.other.color | #D63E86 | — |
| variable.member | #D63E86 | — |
| invalid | #EB4254 | — |
| keyword, keyword.control, keyword.other | #D63E86 | — |
| storage.type, storage.modifier | #D63E86 | — |
| keyword.operator, keyword.operator.assignment.go | #D63E86 | — |
| string, constant.other.symbol | #ADC178 | — |
| punctuation.separator, punctuation.terminator | #98B9CA | bold |
| constant.other.color, keyword.other.template, keyword.other.substitution | #EB4254 | — |
| entity.name.function, support.function.go | #6C99BB | bold |
| support.function, support.macro | #91BDE1 | bold |
| variable.language.this | #F1599D | italic |
| variable.function, variable.annotation, meta.function-call.generic | #6C99BB | — |
| support.constant | #D63E86 | italic |
| entity.name.import, entity.name.package | #A3B76F | — |
| storage.modifier.import.java, entity.name.type.namespace.cs | #98B9CA | — |
| meta.diff, meta.diff.header | #E4DCC8 | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #D63E86 | — |
| variable.parameter.function.language.special.self.python, variable.parameter.function.language.special.cls.python | #F1599D | — |
| meta.function.decorator.python, support.token.decorator.python,meta.function.decorator.identifier.python | #F1599D | — |
| variable.parameter.function.language.python, variable.parameter.function.python, variable.parameter.function.js, variable.parameter.function, variable.parameter, meta.definition.variable.name, meta.parameter | #00BFBC | italic |
| message.error | #EB4254 | — |
| constant.numeric, constant.language, support.constant, constant.character, constant.escape, keyword.other.unit | #A181E4 | — |
| meta.tag.sgml, markup.deleted.git_gutter | #98B9CA | — |
| storage.type.function | #D63E86 | — |
| punctuation.accessor | #D63E86 | — |
| constant.other.key, entity.other.inherited-class, markup.heading, markup.inserted.git_gutter, meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js | #ADC178 | — |
| keyword.operator.arithmetic.go, keyword.operator.address.go | #D63E86 | — |
| entity.name.package.go | #D63E86 | — |
| source.go storage.type | #D63E86 | — |
| entity.name, support.type, support.class, support.other.namespace.use.php, meta.use.php, support.other.namespace.php, support.type.sys-types, variable.other.object.cs, entity.other.inherited-class | #98B9CA | — |
| support.type | #98B9CA | — |
| entity.name.module.js, variable.import.parameter.js, variable.other.class.js | #F1599D | — |
| entity.name.method.js | #6C99BB | italic |
| meta.class-method.js entity.name.function.js, variable.function.constructor | #6C99BB | — |
| meta.decorator variable.other, meta.decorator punctuation.decorator, storage.type.annotation | #F1599D | — |
| source.js constant.other.object.key.js string.unquoted.label.js | #00A6A4 | italic |
| entity.name.tag, text.html.derivative | #EB4254 | — |
| punctuation.definition.tag, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html | #98B9CA | — |
| meta.tag, text.html.basic, text.html.basic source, text.html.basic source.html, text.html.basic source.html entity.other.attribute-name, text.html.basic source.html entity.other.attribute-name.html, text.html.basic source.html entity.other.attribute-value, text.html.basic source.html punctuation.definition.string, text.html.basic source.html string.quoted.double, text.html.basic source.html string.quoted.single, text.html.basic source.html string.unquoted, text.html.derivative | #262632 | — |
| entity.other.attribute-name | #F48FBE | italic |
| source.css support.type.property-name, source.sass support.type.property-name, source.scss support.type.property-name, source.postcss support.type.property-name, support.type.property-name.css | #91BDE1 | — |
| entity.other.attribute-name.class | #98B9CA | — |
| entity.other.attribute-name.id | #4FBE66 | — |
| entity.other.attribute-name.pseudo-element, entity.other.attribute-name.pseudo-class | #98B9CA | italic |
| entity.name.tag.wildcard.css, entity.name.tag.wildcard.less, entity.name.tag.wildcard.scss, entity.name.tag.wildcard.sass | #2DCECB | — |
| keyword.other.unit.css, constant.numeric.css | #A181E4 | — |
| keyword.other.unit, support.constant.property-value.css, meta.property-value.css, meta.property-list.css, source.css, constant.other.color.rgb-value.hex.css | #D63E86 | — |
| keyword.other.important | #D63E86 | italic |
| source.css support.type, source.sass support.type, source.scss support.type, source.less support.type, source.stylus support.type | #6A5457 | — |
| string.regexp, constant.character, constant.other | #4FBE66 | — |
| *url*, *link*, *uri* | — | underline |
| source.json meta.structure.dictionary.json support.type.property-name.json | #00BFBC | — |
| text.html.markdown, punctuation.definition.list_item.markdown | #262632 | — |
| markup.heading.markdown punctuation.definition.heading.markdown | #00605F | bold |
| markup.heading.markdown entity.name | #00BFBC | bold |
| punctuation.definition.list.begin.markdown | #D63E86 | — |
| markup.italic | #4FBE66 | italic |
| markup.bold, markup.bold string | #4FBE66 | bold |
| markup.bold markup.italic, markup.italic markup.bold, markup.quote markup.bold, markup.bold markup.italic string, markup.italic markup.bold string, markup.quote markup.bold string | #4FBE66 | bold italic |
| markup.underline | #00BFBC | underline |
| markup.quote punctuation.definition.blockquote.markdown, markup.quote | #98B9CA | — |
| string.other.link.title.markdown | #6C99BB | — |
| markup.inline.raw.string.markdown | #00BFBC | — |
| string.other.link.description.title.markdown | #D63E86 | — |
| meta.separator | #D63E86 | bold |
| markup.table | #262632 | — |
| markup.inserted | #09B94E | — |
| markup.deleted | #EB4254B3 | — |
| markup.changed | #7852EEB3 | — |
| comment | #666666 | — |
| punctuation.definition.comment | #666666 | — |
| string | #5A9D2F | — |
| meta.embedded.assembly | #5A9D2F | — |
| keyword - keyword.operator | #7A5BA7 | — |
| keyword.control | #7A5BA7 | — |
| storage | #7A5BA7 | — |
| storage.type | #7A5BA7 | — |
| constant.numeric | #D4941E | — |
| entity.name.type | #4A7BA7 | — |
| entity.name.class | #4A7BA7 | — |
| support.type | #4A7BA7 | — |
| support.class | #4A7BA7 | — |
| entity.name.function | #4A7BA7 | — |
| support.function | #4A7BA7 | — |
| variable | #1A1A1A | — |
| entity.name.variable | #1A1A1A | — |
| string | #5A9D2F | — |
| constant.numeric | #D4941E | — |
| keyword | #7A5BA7 | italic |
| comment | #666666 | italic |
| entity.name.function | #4A7BA7 | — |
| entity.name.type, storage.type | #4A7BA7 | — |
| variable | #1A1A1A | — |
| keyword.operator | #1A1A1A | — |
| entity.name.tag | #C86D2E | — |
| entity.other.attribute-name | #904265 | — |
| invalid | #660000 | underline |
| storage.type | #7A5BA7 | — |
| punctuation | #1A1A1A | — |
| token.info-token | #316BCD | — |
| token.warn-token | #CD9731 | — |
| token.error-token | #CD3131 | — |
| token.debug-token | #800080 | — |
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}!`;
}