JIRI THEME
Publisher: JIRI evangelionThemes in package: 1
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 |
|---|---|---|
| variable, string constant.other.placeholder, invalid.deprecated, keyword, storage.type, storage.modifier | #FF5D23 | — |
| string constant.other.placeholder, entity.name.function, punctuation.definition.interpolation.end.bracket.curly.scss, punctuation.definition.interpolation.begin.bracket.curly.scss | — | italic |
| punctuation.definition.interpolation.end.bracket.curly.scss, punctuation.definition.interpolation.begin.bracket.curly.scss | #00D1AE | — |
| constant.other.php | #FF5D23 | — |
| constant.other.color | #80BE4A | — |
| invalid, invalid.illegal | #53FFE8 | — |
| Keyword, Storage, variable | — | italic |
| keyword.control, constant.other.color, punctuation.definition.tag, punctuation, punctuation.separator.inheritance.php, punctuation.definition.tag.html, punctuation.section.embedded, keyword.other.template, keyword.other.substitution, entity.name.tag.reference.scss | #A7A8AF | — |
| punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, entity.name.type.module.js | #FF6F52 | — |
| keyword.control.at-rule, keyword.control.operator, punctuation.definition.entity.css, keyword.operator.assignment.js, punctuation.separator.comma.js, punctuation.definition.binding-pattern.object.js | #AD5BFF | — |
| punctuation.definition, string.quoted.single.scss | #A7A8AF | — |
| keyword.control | — | bold |
| comment.line.scss, comment.line.double-slash.js, punctuation.definition.comment.scss, punctuation.definition.comment.js, punctuation.definition.comment.html, comment.block.html, comment.block.css | #8e8f93 | — |
| meta.attribute.src.html, meta.attribute.href.html, meta.function.url.css | #75b49c | — |
| meta.tag.metadata.link.void.html | #c46f6f | — |
| meta.tag.structure.option.start.html | #ff7a55 | — |
| text.html.derivative | #e1e1e1 | — |
| entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter, entity.name.tag.html | #b76fff | — |
| entity.name.tag.html | — | italic |
| variable.parameter.js | #FF5D23 | — |
| variable.other.object.js, storage.type.js, string.other.link.title.markdown | #FF6F52 | |
| variable.other.constant.js, variable.other.object.property.js, string.quoted.double.json, markup.fenced_code.block.markdown, markup.inline.raw.string.markdown, variable.function, keyword.other.special-method, entity.name.function, markup.bold, markup.bold.markdown, markup.italic.markdown, meta.class-method.js entity.name.function.js, variable.function.constructor, entity.name.tag.other.html, entity.name.tag.block.any.html, source.sass keyword.control, support.constant.property-value.css | #80F56E | — |
| meta.attribute.class.html, meta.attribute.id.html, storage.type.function.js, constant.numeric | #ecd95f | — |
| meta.tag.metadata.meta.void.html, support.function, terminal.findMatchBorder, dropdown.border, variable.other.readwrite.js, tab.activeBorder | #5da0f8 | — |
| punctuation.definition.string.begin.html, variable.other.property.js, punctuation.definition.string.end.html | #A9A0FF | — |
| support.other.variable, string.other.link, markup.table | #AD5BFF | — |
| constant.language, constant.character, constant.escape, keyword.other, punctuation.separator.key-value.html | #FF5D23 | — |
| variable.parameter.function.language.special, variable.parameter, variable | #53FFE8 | — |
| constant.other.symbol, constant.other.key, entity.other.inherited-class, keyword.other.unit, markup.heading, markup.inserted.git_gutter, meta.group.braces.curly, constant.other.object.key.js, string.unquoted.label.js, keyword.other.unit | #00D1AE | |
| entity.name, support.class, support.orther.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types, entity.other.attribute-name.html | #FF5D23 | — |
| variable.parameter.keyframe-list.css | #B2CCD6 | — |
| source.css support.type.property-name, source.sass support.type.property-name, source.scss support.type.property-name, source.less support.type.property-name, source.stylus support.type.property-name, source.postcss support.type.property-name | #FF6F52 | — |
| entity.name.module.js, variable.import.parameter.js, keyword.operator.assignment, variable.other.class.js | #53FFE8 | — |
| entity.name.method.js, tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #80F56E | italic |
| entity.other.attribute-name | #FF5D23 | — |
| entity.other.attribute-name.id, entity.other.attribute-name.class, entity.other.attribute-name.pseudo-class, entity.name.tag.css, keyword.control.conditional.js, support.constant, string.quoted.single.js, meta.object-literal.key | #AD5BFF | — |
| source.scss keyword.control | #FF5D23 | — |
| markup.inserted, entity.other.attribute-name.html | #00D1AE | — |
| markup.deleted, support.type | #53FFE8 | — |
| punctuation.definition.string.begin.js, punctuation.definition.string.end.js, markup.changed | #FF5D23 | — |
| string.regexp, punctuation.terminator.rule.css | #A9A0FF | — |
| constant.character.escape | #A9A0FF | — |
| *url*, *link*, *uri* | — | underline |
| source.js constant.other.object.key.js string.unquoted.label.js | #AD5BFF | italic |
| meta.selector.css | #b9b7bcc4 | italic bold |
| support.type.property-name.json | #AD5BFF | — |
| text.html.markdown, punctuation.definition.list_item.markdown | #AD5BFF | — |
| text.html.markdown markup.inline.raw.markdown | #FF5D23 | — |
| text.html.markdown markup.inline.raw.markdown, punctuation.definition.raw.markdown | #FF5E0050 | — |
| text.html.markdown meta.dummy.line-break | — | — |
| markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown, entity.name.section.markdown | #FF6F52 | bold |
| markup.underline | #80F56E | underline |
| markup.strike | — | |
| markup.quote punctuation.definition.blockquote.markdown | #FF5E0050 | — |
| markup.quote | — | italic |
| string.other.link.description.title.markdown | #FF5D23 | — |
| constant.other.reference.link.markdown | #FF5D23 | — |
| markup.raw.block | #FF5D23 | — |
| punctuation.definition.raw.markdown, punctuation.definition.markdown | #A9A0FF | — |
| variable.language.fenced.markdown | #FF5E00 | — |
| meta.separator | #A7A8AF | bold |
| token.info-token | #FF5E00 | — |
| token.warn-token | #FF5D23 | — |
| token.error-token | #FF293B | — |
| token.debug-token | #A9A0FF | — |
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}!`;
}