Fabulous Las Vegas
Publisher: Alpha Romer ComaThemes in package: 2
A vibrant VS Code theme inspired by the iconic Welcome to Fabulous Las Vegas Nevada sign — day and night editions
A vibrant VS Code theme inspired by the iconic Welcome to Fabulous Las Vegas Nevada sign — day and night editions
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 | #A89B8D | italic |
| keyword, keyword.control, keyword.operator.new, keyword.operator.expression, keyword.operator.logical, keyword.operator.delete, keyword.operator.typeof, keyword.operator.instanceof, keyword.operator.void, keyword.operator.in, keyword.operator.of, storage, storage.type, storage.modifier | #F0455D | — |
| constant, constant.language, constant.language.boolean, constant.language.null, constant.language.undefined, support.constant, variable.language.this, variable.language.self, variable.language.super | #D45D85 | — |
| constant.numeric, constant.numeric.integer, constant.numeric.float, constant.numeric.hex, constant.numeric.octal, constant.numeric.binary | #DD5F00 | — |
| string, string.quoted, string.template, string.quoted.single, string.quoted.double, string.quoted.triple | #D4A017 | — |
| constant.character.escape | #D45D85 | — |
| entity.name.function, meta.function-call entity.name.function, support.function | #0090BE | — |
| variable.parameter, meta.parameter | #E8DDD0 | italic |
| variable, variable.other, variable.other.readwrite, variable.other.assignment | #E8DDD0 | — |
| variable.other.property, variable.other.object.property, meta.object-literal.key, support.type.property-name | #D4C4B4 | — |
| entity.name.type, entity.name.class, support.type, support.class, entity.other.inherited-class, storage.type.class, entity.name.type.class | #0E9783 | — |
| entity.name.type.interface, entity.name.type.type-parameter | #0E9783 | italic |
| entity.name.type.enum | #0E9783 | — |
| meta.decorator, meta.decorator entity.name.function, punctuation.decorator, meta.annotation, storage.type.annotation | #D45D85 | italic |
| keyword.operator, keyword.operator.assignment, keyword.operator.arithmetic, keyword.operator.comparison, keyword.operator.relational, keyword.operator.ternary, keyword.operator.spread | #A89B8D | — |
| punctuation, punctuation.definition.block, punctuation.definition.parameters, punctuation.separator, punctuation.terminator, meta.brace | #A89B8D | — |
| entity.name.tag, punctuation.definition.tag | #F0455D | — |
| entity.other.attribute-name | #D4A017 | italic |
| support.type.property-name.css, support.type.vendored.property-name.css, meta.property-name.css | #0090BE | — |
| support.constant.css, support.constant.property-value.css, meta.property-value.css | #E8DDD0 | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.id.css | #0E9783 | — |
| entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css | #D45D85 | — |
| keyword.other.unit.css | #DD5F00 | — |
| support.type.property-name.json | #F0455D | — |
| heading.1.markdown entity.name, heading.2.markdown entity.name, heading.3.markdown entity.name, heading.4.markdown entity.name, heading.5.markdown entity.name, heading.6.markdown entity.name, markup.heading, markup.heading.setext | #F0455D | bold |
| markup.bold | #F0455D | bold |
| markup.italic | #0E9783 | italic |
| markup.underline.link, string.other.link | #0090BE | — |
| markup.inline.raw, markup.fenced_code.block | #D4A017 | — |
| markup.quote | #A89B8D | italic |
| markup.list, punctuation.definition.list.begin | #DD5F00 | — |
| entity.name.tag.yaml | #F0455D | — |
| entity.name.type.anchor.yaml, variable.other.alias.yaml, punctuation.definition.anchor.yaml | #D45D85 | — |
| variable.other.normal.shell, variable.other.special.shell, variable.other.positional.shell, punctuation.definition.variable.shell | #0E9783 | — |
| string.regexp, keyword.operator.quantifier.regexp, keyword.control.anchor.regexp | #D45D85 | — |
| punctuation.definition.group.regexp, keyword.operator.or.regexp, punctuation.definition.character-class.regexp | #0090BE | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #F0455D | — |
| keyword.control.import, keyword.control.export, keyword.control.from, keyword.control.as, keyword.control.default | #F0455D | — |
| entity.name.import, entity.name.package | #D4A017 | — |
| entity.name.namespace, entity.name.type.namespace | #0E9783 | — |
| markup.inserted | #0E9783 | — |
| markup.deleted | #F0455D | — |
| markup.changed | #DD5F00 | — |
| invalid, invalid.illegal | #FFFFFF | — |
| invalid.deprecated | #FFFFFF | — |
| entity.name.section | #F0455D | bold |
| support.type.builtin, support.type.primitive | #0E9783 | — |
| support.variable | #D45D85 | — |
| source.embedded | #E8DDD0 | — |
| entity.name.function.decorator.python, meta.function.decorator.python | #D45D85 | italic |
| string.quoted.docstring, string.quoted.docstring.multi.python | #A89B8D | italic |
| keyword.other.DML.sql, keyword.other.DDL.sql, keyword.other.DCL.sql | #F0455D | — |
| storage.modifier.lifetime.rust | #0E9783 | italic |
| keyword.operator.address.go | #A89B8D | — |
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}!`;
}