Jadoluz Theme
Publisher: amungThemes in package: 1
A light color scheme for easy contrast reading.
A light color scheme for easy contrast reading.
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 |
|---|---|---|
| meta.embedded, source.groovy.embedded | #0F0C0D | — |
| emphasis | — | italic |
| strong | — | bold |
| header | #000080 | — |
| comment | #a09e9e | — |
| constant.language | #BD1B0F | — |
| constant.numeric | #055ed3 | — |
| constant.regexp | #055ed3 | — |
| entity.name.tag.css | #055ed3 | bold |
| entity.name.tag.html | #BD1B0F | bold |
| entity.other.attribute-name | #E64D1F | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.class.mixin.css, entity.other.attribute-name.id.css, entity.other.attribute-name.parent-selector.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css, source.css.less entity.other.attribute-name.id, entity.other.attribute-name.attribute.scss, entity.other.attribute-name.scss, entity.other.attribute-name | #055ed3 | bold |
| invalid | #e42646 | — |
| markup.underline | — | underline |
| markup.bold | #BD1B0F | bold |
| markup.heading | #BD1B0F | bold |
| markup.italic | — | italic |
| markup.inserted | #055ed3 | — |
| markup.deleted | #055ed3 | — |
| markup.changed | #e63904 | — |
| beginning.punctuation.definition.quote.markdown | #999999 | — |
| beginning.punctuation.definition.list.markdown | #009059 | — |
| markup.inline.raw | #4b12b6 | — |
| meta.selector | #666666 | — |
| punctuation.definition.tag | #302e2d | — |
| meta.preprocessor | #e63904 | — |
| meta.preprocessor.string | #169848 | — |
| meta.preprocessor.numeric | #055ed3 | — |
| meta.structure.dictionary.key.python | #e63904 | — |
| meta.diff.header | #070761f5 | — |
| storage | #4392ec | bold |
| storage.type | #4e3ba1 | bold |
| storage.type.class.python | #f04c1a | bold |
| storage.type.function.python | #BD1B0F | bold |
| storage.modifier | #BD1B0FE8 | — |
| string | #169848 | — |
| string.tag | #055ed3 | — |
| string.value | #055ed3 | — |
| string.regexp | #169848 | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #BD1B0F | — |
| meta.template.expression | #0F0C0D | — |
| variable.css, variable.scss, variable.other.less, source.coffee.embedded, support.type.property-name.css | #f03310f0 | bold |
| support.type.vendored.property-name, support.type.property-name | #f03310 | |
| keyword | #0582a8 | bold |
| keyword.control | #e63904 | bold |
| keyword.operator | #242225 | — |
| keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.instanceof, keyword.operator.logical.python | #d42987 | bold |
| keyword.other.unit | #07aa59 | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #BD1B0F | — |
| support.function.git-rebase | #e63904 | — |
| constant.sha.git-rebase | #a3398c | — |
| storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java | #242225 | — |
| variable.language | #BD1B0F | bold |
| entity.name.function, support.function, support.constant.handlebars | #8123b8 | bold |
| meta.return-type, support.class, support.type, entity.name.type, entity.name.class, storage.type.numeric.go, storage.type.byte.go, storage.type.boolean.go, storage.type.string.go, storage.type.uintptr.go, storage.type.error.go, storage.type.rune.go, storage.type.cs, storage.type.generic.cs, storage.type.modifier.cs, storage.type.variable.cs, storage.type.annotation.java, storage.type.generic.java, storage.type.java, storage.type.object.array.java, storage.type.primitive.array.java, storage.type.primitive.java, storage.type.token.java, storage.type.groovy, storage.type.annotation.groovy, storage.type.parameters.groovy, storage.type.generic.groovy, storage.type.object.array.groovy, storage.type.primitive.array.groovy, storage.type.primitive.groovy | #2862dd | bold |
| meta.type.cast.expr, meta.type.new.expr, support.constant.math, support.constant.dom, support.constant.json, entity.other.inherited-class | #e46002 | — |
| keyword.control | #BD1B0F | — |
| variable, meta.definition.variable.name, support.variable, entity.name.variable | #d4350d | — |
| meta.object-literal.key | #d4350d | — |
| support.constant.property-value, support.constant.font-name, support.constant.media-type, support.constant.media, constant.other.color.rgb-value, constant.other.rgb-value, support.constant.color | #055ed3 | — |
| punctuation.definition.group.regexp, punctuation.definition.group.assertion.regexp, punctuation.definition.character-class.regexp, punctuation.character.set.begin.regexp, punctuation.character.set.end.regexp, keyword.operator.negation.regexp, support.other.parenthesis.regexp | #055ed3 | — |
| constant.character.character-class.regexp, constant.other.character-class.set.regexp, constant.other.character-class.regexp, constant.character.set.regexp | #0582a8 | — |
| keyword.operator.or.regexp, keyword.control.anchor.regexp | #f03310f0 | — |
| keyword.operator.quantifier.regexp | #0582a8 | — |
| constant.character | #BD1B0F | — |
| constant.character.escape | #0582a8 | — |
| token.info-token | #009059 | — |
| token.warn-token | #BD1B0F | — |
| token.error-token | #f03310f0 | — |
| token.debug-token | #8827c0 | — |
| variable | #1b1a44 | — |
| entity.name.variable | #1b1a44 | — |
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}!`;
}