Vegas Night Details Theme
Publisher: robpcoThemes in package: 1
Detailed Dark UI, Syntax and Punctuation Highlighting
Detailed Dark UI, Syntax and Punctuation Highlighting
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, source.python string.quoted.docstring, source.python string.quoted.docstring punctuation.definition.string | #6b8da5 | italic |
| variable | #cccccc | — |
| string.regexp | #e99a69 | — |
| constant.character.escape | #e99a69 | — |
| constant.other.color | #cccccc | — |
| invalid, invalid.illegal | #dc304d | — |
| keyword, keyword.control, storage.type, storage.modifier, entity.other.attribute-name, punctuation.separator.arguments.ruby, entity.name.tag.css, punctuation.separator.key-value.ini, punctuation.definition.entity.ini | #c792EA | — |
| meta.tag, keyword.other.template, keyword.other.substitution | #99CCFF | — |
| string, constant.other.symbol, 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, keyword.other.definition.ini | #3399FF | — |
| constant.other.color, punctuation.separator, punctuation.parenthesis, punctuation.definition.list, punctuation.support.type, punctuation.definition.string, punctuation.definition.variable, punctuation.definition.tag, punctuation.separator.inheritance.php, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.definition.logical-expression, punctuation.definition.case-pattern, punctuation.definition.dict, punctuation.section.function.begin.python, meta.function string.quoted punctuation.definition, meta.function-call string.quoted punctuation.definition, meta.item-access punctuation.definition.arguments, meta.function-call meta.item-access punctuation.definition.arguments, meta.function-call.arguments punctuation.definition.list, punctuation.bracket.angle.java, punctuation.accessor.js, entity.name.type.js, punctuation.terminator, punctuation.section.embedded, meta.block punctuation.section.parens, source.shell meta.function punctuation.definition, source.php punctuation.section.array, source.ruby punctuation.section, punctuation.section.round-brackets, source.css meta.property-list, punctuation.separator.key-value.css, meta.catch.java punctuation.definition.parameters, punctuation.bracket.round.java, punctuation.other.comma.go | #99CCFF | — |
| source.cpp punctuation.section, source.c punctuation.section, punctuation.definition.arguments.shell, punctuation.definition.group.shell, keyword.operator.glob.shell, meta.function-call punctuation.definition.arguments, meta.function-call punctuation.section.arguments, meta.function punctuation.definition, meta.function meta.brace.round, meta.function-call punctuation.definition, punctuation.section.class, string.quoted.docstring, source.php punctuation.definition, source.css punctuation.section.property-list, source.css punctuation.section.function, source.css punctuation.definition.entity, punctuation.terminator.rule.css, meta.method-call.java punctuation.definition.parameters, meta.method.identifier.java punctuation.definition.parameters, meta.function-call.java punctuation.definition.parameters, meta.method.java punctuation.section.method, source.java punctuation.section.block, source.java punctuation.section.try, source.java punctuation.section.catch, storage.type.java, source.go punctuation.definition, meta.brace.square.js, meta.brace.round.js | #3399FF | — |
| entity.other.attribute-name.class, meta.function-call entity.name.function, meta.function-call, variable.function, support.function, entity.name.function.java, entity.name.function.go, keyword.other.special-method, source.sass keyword.control, meta.class-method.js entity.name.function.js, support.variable.property.dom.js, variable.function.constructor | #99CCFF | — |
| meta.function entity.name.function, entity.name.function.asp, entity.name.type.class, source.css variable.parameter.url, entity.name.type.go, entity.name.package.go, meta.throwables.java storage.type.java | #e99a69 | — |
| variable.parameter, variable.other.special.shell, string.other.math.shell, meta.function.c, meta.object-literal.key.js, source.css keyword.other.unit, source.yaml entity.name.tag, punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php, entity.name.import.go, variable.other.declaration.go, entity.name.section.group-title.ini | #EDC477 | — |
| support.class, source.php keyword.other, variable.other.constant.object.property.js, variable.other.constant.property.js, variable.other.bracket.shell, variable.other.normal.shell, variable.other.positional.shell, source.php keyword.other, source.css constant.numeric, source.css support.constant.property-value, source.css constant.other.color, constant.other.caps.python | #e83b44b8 | — |
| variable.other.assignment.go, meta.item-access.python, variable.other.object.js, entity.name.type.module.js, storage.type.generic.java, constant.character.format.placeholder | #cccccc | — |
| meta.function-call.c, constant.other.placeholder.go, string constant.other.placeholder, meta.item-access.arguments.python, meta.function-call.arguments | #f2e180db | — |
| punctuation.definition.dictionary, source.json punctuation.definition.array | #cccccc | bold |
| meta.block variable.other | #cccccc | — |
| entity.name.tag - source.yaml, meta.tag.sgml, markup.deleted.git_gutter | #e83b44b8 | — |
| support.other.variable, string.other.link | #e83b44b8 | — |
| constant.language | #6cb891 | — |
| constant.numeric, support.constant, constant.character, constant.escape, keyword.other.unit, keyword.other | #e99a69 | — |
| entity.name, support.type, support.orther.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types | #cccccc | — |
| 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 | #cccccc | — |
| entity.name.type.hcl, source.terraform.embedded.source | #99CCFF | — |
| entity.name.function.hcl, keyword.other.function.inline.terraform, keyword.other.section.begin.terraform, keyword.other.section.end.terraform | #EDC477 | — |
| entity.tag.embedded.start.terraform, entity.tag.embedded.end.terraform | #3399FF | — |
| variable.parameter.hcl | #cccccc | — |
| entity.name.module.js, variable.import.parameter.js, variable.other.class.js | #dc304d | — |
| variable.language | #dc304d | italic |
| entity.name.method.js, tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #99CCFF | italic |
| text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name | #EDC477 | italic |
| markup.inserted | #C3E88D | — |
| markup.deleted | #dc304d | — |
| markup.changed | #c792EA | — |
| *url*, *link*, *uri* | — | underline |
| source.js constant.other.object.key.js string.unquoted.label.js | #dc304d | italic |
| source.json meta.structure.dictionary.json support.type.property-name.json | #c792EA | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #EDC477 | — |
| 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 | #e99a69 | — |
| 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 | #dc304d | — |
| 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 | #C17E70 | — |
| 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 | #82AAFF | — |
| 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 | #e83b44b8 | — |
| 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 | #c792EA | — |
| 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 | — |
| text.html.markdown, punctuation.definition.list_item.markdown | #cccccc | — |
| text.html.markdown markup.inline.raw.markdown | #c792EA | — |
| text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown, beginning.punctuation.definition.list.markdown, markup.bold punctuation.definition, markup.italic punctuation.definition, text.html.markdown punctuation.definition.metadata.markdown, text.html.markdown punctuation.definition.constant.markdown | #99CCFF | — |
| markdown.heading, markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown | #3399FF | — |
| markup.italic | #eb7ef5 | italic |
| markup.bold, markup.bold string | #e4b254 | 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 | #e4b254 | bold |
| markup.quote punctuation.definition.blockquote.markdown, beginning.punctuation.definition.quote.markdown | #99CCFF | |
| markup.quote | #78a2c2 | italic |
| markup.underline | #e99a69 | underline |
| text.html.markdown entity.other.attribute-name, text.html.markdown entity.name.tag | #e99a69 | — |
| string.other.link.description.title.markdown | #c792EA | — |
| string.other.link.title.markdown, constant.other.reference.link.markdown | #EDC477 | — |
| markup.inline.raw.string, markup.fenced_code.block | #bcf26c | |
| markup.raw.block | #c792EA | — |
| markup.raw.block.fenced.markdown | #00000050 | — |
| punctuation.definition.fenced.markdown | #00000050 | — |
| markup.raw.block.fenced.markdown, variable.language.fenced.markdown, punctuation.section.class.end | #cccccc | — |
| variable.language.fenced.markdown | #bcf26c | — |
| meta.separator | #99CCFF | bold |
| markup.table | #cccccc | — |
| token.info-token | #6796e6 | — |
| token.warn-token | #cd9731 | — |
| token.error-token | #f44747 | — |
| token.debug-token | #b267e6 | — |
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}!`;
}