Empyrean
Publisher: zvoltykThemes in package: 1
Minimalistic eye catchy theme based on Tokyo Night Ultra
Minimalistic eye catchy theme based on Tokyo Night Ultra
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, meta.var.expr storage.type, keyword.control.flow, keyword.control.return, meta.directive.vue punctuation.separator.key-value.html, meta.directive.vue entity.other.attribute-name.html, tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js, storage.modifier | — | italic |
| keyword.control.flow.block-scalar.literal | — | |
| comment, comment.block.documentation, comment.block.documentation punctuation, punctuation.definition.comment | #444b6a | — |
| comment.block.documentation variable, comment.block.documentation storage, comment.block.documentation keyword, comment.block.documentation support, comment.block.documentation markup, comment.block.documentation markup.inline.raw.string.markdown, meta.other.type.phpdoc.php keyword.other.type.php, meta.other.type.phpdoc.php support.other.namespace.php, meta.other.type.phpdoc.php punctuation.separator.inheritance.php, meta.other.type.phpdoc.php support.class, keyword.other.phpdoc.php, log.date | #5a638c | — |
| meta.other.type.phpdoc.php support.class, comment.block.documentation storage.type, comment.block.documentation punctuation.definition.block.tag, comment.block.documentation entity.name.type.instance | #646e9c | — |
| variable.other.constant, punctuation.definition.constant, constant.language, constant.numeric, support.constant | #ff9e64 | — |
| variable, support.variable, variable.parameter.handlebars, string constant.other.placeholder | #EEFFFF | — |
| variable.other.object | #c0caf5 | — |
| meta.array.literal variable | #7dcfff | — |
| meta.object-literal.key, string.alias.graphql, string.unquoted.graphql, string.unquoted.alias.graphql, meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js, meta.field.declaration.ts variable.object.property | #73daca | — |
| variable.other.property, support.variable.property, support.variable.property.dom, meta.function-call variable.other.object.property | #7dcfff | — |
| variable.other.object.property | #c0caf5 | — |
| meta.objectliteral meta.object.member meta.objectliteral meta.object.member meta.objectliteral meta.object.member meta.object-literal.key | #41a6b5 | — |
| source.cpp meta.block variable.other | #f7768e | — |
| support.other.variable | #f7768e | — |
| meta.definition.variable variable.other.constant, meta.definition.variable variable.other.readwrite, variable.other.declaration | #bb9af7 | — |
| keyword.operator, keyword.control.as, keyword.other, keyword.operator.bitwise.shift, punctuation, text.html.twig meta.tag.inline.any.html, meta.tag.template.value.twig meta.function.arguments.twig, meta.directive.vue punctuation.separator.key-value.html, punctuation.definition.constant.markdown, punctuation.definition.string, punctuation.support.type.property-name, text.html.vue-html meta.tag, punctuation.definition.keyword, punctuation.terminator.rule, punctuation.definition.entity, punctuation.separator.inheritance.php, keyword.other.template, keyword.other.substitution, entity.name.operator, meta.property-list punctuation.separator.key-value, meta.at-rule.mixin punctuation.separator.key-value, meta.at-rule.function variable.parameter.url | #89ddff | — |
| keyword.other.type.php, storage.type.php, constant.character, constant.escape, keyword.other.unit | #bb9af7 | — |
| string, constant.other.symbol, constant.other.key, meta.attribute-selector, markup.heading, markup.inserted.git_gutter, meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js | #9ECE6A | — |
| entity.other.inherited-class | #bb9af7 | |
| entity.name.function, meta.function-call entity.name.function, variable.function, keyword.other.special-method, meta.definition.method entity.name.function, meta.object-literal entity.name.function | #82AAFF | — |
| support.function | #0db9d7 | — |
| variable.parameter.function.language.special, variable.parameter, meta.function.parameters punctuation.definition.variable, meta.function.parameter variable | #e0af68 | — |
| meta.class-method.js entity.name.function.js, entity.name.method.js, variable.function.constructor, keyword.other.special-method, storage.type.cs | #7aa2f7 | — |
| support.class, support.type, variable.other.readwrite.alias, support.orther.namespace.use.php, meta.use.php, support.other.namespace.php, support.type.sys-types, support.variable.dom, support.constant.math, support.type.object.module, support.constant.json, entity.name.namespace, meta.import.qualifier, markup.changed.git_gutter | #0db9d7 | — |
| entity.name, entity.name.module.js, variable.import.parameter.js, variable.other.class.js | #c0caf5 | — |
| variable.language | #f7768e | — |
| variable.other punctuation.definition.variable | #c0caf5 | — |
| source.js constant.other.object.key.js string.unquoted.label.js, variable.language.this punctuation.definition.variable, keyword.other.this | #f7768e | — |
| constant.other.color, constant.other.color.rgb-value.hex punctuation.definition.constant | #9aa5ce | — |
| invalid, invalid.illegal | #ff5370 | — |
| invalid.deprecated | #bb9af7 | — |
| storage.type | #bb9af7 | — |
| meta.var.expr storage.type, storage.modifier | #9d7cd8 | — |
| punctuation.definition.template-expression, punctuation.section.embedded, meta.embedded.line.tag.smarty, support.constant.handlebars, punctuation.section.tag.twig | #7dcfff | — |
| keyword.control.smarty, keyword.control.twig, support.constant.handlebars keyword.control, keyword.operator.comparison.twig, keyword.blade, entity.name.function.blade | #0db9d7 | — |
| keyword.operator.spread, keyword.operator.rest | #f7768e | bold |
| keyword.control.import, keyword.control.export, keyword.control.from, keyword.control.default, meta.import keyword.other | #7dcfff | — |
| keyword, keyword.control, keyword.other.important | #bb9af7 | — |
| keyword.other.DML | #7dcfff | — |
| keyword.operator.logical, storage.type.function, keyword.operator.bitwise, keyword.operator.ternary, keyword.operator.comparison, keyword.operator.relational, keyword.operator.or.regexp | #bb9af7 | — |
| constant.other.php, variable.other.global.safer, variable.other.global.safer punctuation.definition.variable, variable.other.global, variable.other.global punctuation.definition.variable, constant.other | #e0af68 | — |
| markup.inserted | #449dab | — |
| markup.deleted | #914c54 | — |
| markup.changed | #6183bb | — |
| string.regexp | #b4f9f8 | — |
| punctuation.definition.group | #f7768e | — |
| constant.other.character-class.regexp | #bb9af7 | — |
| constant.other.character-class.set.regexp, punctuation.definition.character-class.regexp | #e0af68 | — |
| keyword.operator.quantifier.regexp | #89ddff | — |
| constant.character.escape.backslash | #c0caf5 | — |
| constant.character.escape | #89ddff | — |
| tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #7aa2f7 | — |
| punctuation.definition.list_item.markdown | #9abdf5 | — |
| meta.block, meta.brace, punctuation.definition.block, punctuation.definition.use, punctuation.definition.class, punctuation.definition.begin.bracket, punctuation.definition.end.bracket, punctuation.definition.switch-expression.begin.bracket, punctuation.definition.switch-expression.end.bracket, punctuation.definition.section.switch-block.begin.bracket, punctuation.definition.section.switch-block.end.bracket, punctuation.definition.group.shell, punctuation.definition.parameters, punctuation.definition.arguments, punctuation.definition.dictionary, punctuation.definition.array, punctuation.section | #9abdf5 | — |
| keyword.operator.arithmetic.python, keyword.operator.assignment.python, keyword.operator.comparison.python | #89DDFF | — |
| constant.character.format.placeholder.other.python, constant.character.escape.python | #F78C6C | — |
| constant.language.python | #f7768e | — |
| meta.function-call.arguments.python | #f5f5f5 | — |
| support.function.builtin.python | #82AAFF | — |
| support.type.python | #FFCB6B | — |
| storage.type.string.python, meta.member.access.python meta.function-call.generic.python | #BB9AF7 | — |
| meta.function-call.generic.python | #82AAFF | — |
| source.python | #f5f5f5 | — |
| source.json meta.structure.dictionary.json support.type.property-name.json | #7aa2f7 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #7aa2f7 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #F78C6C | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #FF5370 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #FFCB6B | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #73daca | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #0db9d7 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #7aa2f7 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #C3E88D | — |
| entity.other.attribute-name, text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name | #bb9af7 | — |
| text.html constant.character.entity | #0DB9D7 | — |
| text.html, text.log | #9aa5ce | — |
| entity.name.tag | #f7768e | — |
| entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter | #f7768e | — |
| punctuation.definition.tag | #ba3c97 | — |
| 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, support.type.property-name.css, support.type.vendored.property-name, support.type.map.key | #7aa2f7 | — |
| support.constant.font-name, meta.definition.variable | #9ece6a | — |
| entity.other.attribute-name.class, meta.at-rule.mixin.scss entity.name.function.scss | #9ece6a | — |
| entity.other.attribute-name.id | #fc7b7b | — |
| entity.name.tag.css | #0db9d7 | — |
| entity.other.attribute-name.pseudo-class punctuation.definition.entity, entity.other.attribute-name.pseudo-element punctuation.definition.entity, entity.other.attribute-name.class punctuation.definition.entity, entity.name.tag.reference | #e0af68 | — |
| meta.property-list | #9abdf5 | — |
| meta.property-list meta.at-rule.if, meta.at-rule.return variable.parameter.url, meta.property-list meta.at-rule.else | #ff9e64 | — |
| entity.other.attribute-name.parent-selector-suffix punctuation.definition.entity.css | #73daca | — |
| meta.property-list meta.property-list | #9abdf5 | — |
| support.constant.property-value | #ff9e64 | — |
| source.sass keyword.control | #7aa2f7 | — |
| entity.other.attribute-name.pseudo-class, entity.other.attribute-name.pseudo-element, entity.other.attribute-name.placeholder, meta.property-list meta.property-value | #bb9af7 | — |
| keyword.other.unit | #f7768e | — |
| meta.at-rule.mixin keyword.control.at-rule.mixin, meta.at-rule.include entity.name.function.scss, meta.at-rule.include keyword.control.at-rule.include | #bb9af7 | — |
| keyword.control.at-rule.include punctuation.definition.keyword, keyword.control.at-rule.mixin punctuation.definition.keyword, meta.at-rule.include keyword.control.at-rule.include, keyword.control.at-rule.extend punctuation.definition.keyword, meta.at-rule.extend keyword.control.at-rule.extend, entity.other.attribute-name.placeholder.css punctuation.definition.entity.css, meta.at-rule.media keyword.control.at-rule.media, meta.at-rule.mixin keyword.control.at-rule.mixin, meta.at-rule.function keyword.control.at-rule.function, keyword.control punctuation.definition.keyword | #9d7cd8 | — |
| meta.property-list meta.at-rule.include | #c0caf5 | — |
| meta.jsx.children, meta.embedded.block | #c0caf5 | — |
| text.html.markdown markup.inline.raw.markdown | #bb9af7 | — |
| text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown | #4E5579 | — |
| heading.1.markdown entity.name, heading.1.markdown punctuation.definition.heading.markdown | #89ddff | bold |
| heading.2.markdown entity.name, heading.2.markdown punctuation.definition.heading.markdown | #61bdf2 | bold |
| heading.3.markdown entity.name, heading.3.markdown punctuation.definition.heading.markdown | #7aa2f7 | bold |
| heading.4.markdown entity.name, heading.4.markdown punctuation.definition.heading.markdown | #6d91de | bold |
| heading.5.markdown entity.name, heading.5.markdown punctuation.definition.heading.markdown | #9aa5ce | bold |
| heading.6.markdown entity.name, heading.6.markdown punctuation.definition.heading.markdown | #747ca1 | bold |
| markup.italic, markup.italic punctuation | #c0caf5 | italic |
| markup.bold, markup.bold punctuation | #c0caf5 | 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, markup.bold markup.italic punctuation | #c0caf5 | bold italic |
| markup.underline, markup.underline punctuation | — | underline |
| markup.quote punctuation.definition.blockquote.markdown | #4e5579 | — |
| markup.quote | — | italic |
| string.other.link, string.other.link.title.markdown, markup.underline.link, constant.other.reference.link.markdown, string.other.link.description.title.markdown | #73daca | — |
| string.other.link.description.title.markdown | #C792EA | — |
| constant.other.reference.link.markdown | #FFCB6B | — |
| markup.raw.block | #C792EA | — |
| markup.raw.block.fenced.markdown | #89ddff | — |
| markup.fenced_code.block.markdown, markup.inline.raw.string.markdown, variable.language.fenced.markdown, punctuation.definition.fenced.markdown | #89ddff | — |
| markup.raw.block.fenced.markdown, variable.language.fenced.markdown, punctuation.section.class.end | #EEFFFF | — |
| variable.language.fenced.markdown | #65737E | — |
| meta.separator | #444b6a | bold |
| markup.table | #c0cefc | — |
| token.info-token | #0db9d7 | — |
| token.warn-token | #ffdb69 | — |
| token.error-token | #db4b4b | — |
| token.debug-token | #b267e6 | — |
| entity.tag.apacheconf | #f7768e | — |
| meta.preprocessor | #73daca | — |
| source.env | #7aa2f7 | — |
| *url*, *link*, *uri* | — | underline |
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}!`;
}