Vaporwave Neon Dreams
Publisher: Andrei IsvoranThemes in package: 1
A retro-futuristic color theme inspired by 80s aesthetics, Miami sunsets, and neon-lit nights
A retro-futuristic color theme inspired by 80s aesthetics, Miami sunsets, and neon-lit nights
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 | #a0a0a0 | italic |
| string, string.quoted, string.template, string.quoted.single, string.quoted.double, string.quoted.triple | #7effc8 | — |
| punctuation.definition.template-expression, punctuation.section.embedded, meta.template.expression | #ff6b9d | — |
| string.regexp | #ff9e64 | — |
| constant.numeric, constant.numeric.integer, constant.numeric.float, constant.numeric.hex, constant.numeric.octal, constant.numeric.binary | #ff9e64 | — |
| constant.language.boolean, constant.language.true, constant.language.false | #ff9e64 | — |
| constant.language.null, constant.language.undefined, constant.language.nil | #ff9e64 | — |
| constant.language | #ff9e64 | — |
| constant.other, constant.character, constant.character.escape | #ff9e64 | — |
| keyword, keyword.control, keyword.control.conditional, keyword.control.loop, keyword.control.flow | #ff6b9d | — |
| keyword.operator, keyword.operator.assignment, keyword.operator.arithmetic, keyword.operator.logical, keyword.operator.comparison | #ff6b9d | — |
| keyword.other, keyword.other.unit | #ff6b9d | — |
| storage.type, storage.type.function, storage.type.class, storage.type.interface, storage.type.enum | #ff6b9d | — |
| storage.modifier, storage.modifier.async, storage.modifier.static, storage.modifier.public, storage.modifier.private, storage.modifier.protected | #ff6b9d | — |
| variable, variable.other, variable.other.readwrite, variable.other.local | #00fff5 | — |
| variable.parameter, variable.parameter.function | #00fff5 | italic |
| variable.other.property, variable.other.object.property | #00fff5 | — |
| variable.language, variable.language.this, variable.language.self, variable.language.super | #ff6b9d | italic |
| variable.other.constant | #ff9e64 | — |
| entity.name.function, meta.function entity.name.function | #ffd866 | — |
| meta.function-call entity.name.function, meta.function-call, support.function | #ffd866 | — |
| meta.method-call entity.name.function, meta.method-call | #ffd866 | — |
| support.function.builtin, support.function.magic | #ffd866 | — |
| entity.name.class, entity.name.type.class | #c792ea | — |
| entity.name.type, entity.name.type.interface, entity.name.type.enum, entity.name.type.alias | #c792ea | — |
| entity.other.inherited-class | #c792ea | italic |
| support.type, support.type.primitive, support.type.builtin | #c792ea | — |
| support.class | #c792ea | — |
| entity.name.type.parameter | #c792ea | italic |
| meta.decorator, entity.name.function.decorator, punctuation.decorator | #c792ea | — |
| meta.annotation, storage.type.annotation | #c792ea | — |
| entity.name.module, entity.name.namespace | #c792ea | — |
| keyword.control.import, keyword.control.export, keyword.control.from, keyword.control.as | #ff6b9d | — |
| string.quoted.module | #7effc8 | — |
| punctuation, punctuation.definition, punctuation.separator, punctuation.terminator | #eaeaea | — |
| punctuation.definition.block, punctuation.definition.parameters, punctuation.section.block, punctuation.section.function, meta.brace | #eaeaea | — |
| entity.name.tag, punctuation.definition.tag | #ff6b9d | — |
| entity.other.attribute-name | #c792ea | italic |
| string.quoted.double.html, string.quoted.single.html | #7effc8 | — |
| support.class.component, entity.name.tag.component | #c792ea | — |
| entity.name.tag.css, entity.other.attribute-name.class.css, entity.other.attribute-name.id.css | #ffd866 | — |
| support.type.property-name.css, meta.property-name.css | #00fff5 | — |
| support.constant.property-value.css, meta.property-value.css | #7effc8 | — |
| keyword.other.unit.css | #ff9e64 | — |
| entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css | #c792ea | — |
| variable.scss, variable.sass | #00fff5 | — |
| constant.other.color.rgb-value.css, constant.other.color.css | #ff9e64 | — |
| support.type.property-name.json, string.json support.type.property-name | #ff6b9d | — |
| string.quoted.double.json | #7effc8 | — |
| entity.name.tag.yaml | #ff6b9d | — |
| entity.name.type.anchor.yaml, variable.other.alias.yaml | #c792ea | — |
| heading.1.markdown, heading.2.markdown, heading.3.markdown, heading.4.markdown, heading.5.markdown, heading.6.markdown, markup.heading | #ff6b9d | bold |
| markup.bold | #ffd866 | bold |
| markup.italic | #c792ea | italic |
| markup.underline.link, string.other.link | #00fff5 | — |
| markup.inline.raw, markup.fenced_code.block | #7effc8 | — |
| markup.quote | #a0a0a0 | italic |
| markup.list | #ff9e64 | — |
| variable.parameter.function.language.special.self.python | #ff6b9d | italic |
| support.function.magic.python | #c792ea | — |
| string.quoted.docstring.multi.python | #a0a0a0 | italic |
| constant.character.format.placeholder.other.python | #ff6b9d | — |
| variable.other.readwrite.alias.js, variable.other.readwrite.alias.ts | #00fff5 | — |
| meta.object-literal.key | #00fff5 | — |
| support.class.console | #c792ea | — |
| support.variable.dom, support.constant.dom | #00fff5 | — |
| meta.type.annotation.ts, meta.type.annotation.tsx | #c792ea | — |
| entity.name.package.go | #c792ea | — |
| entity.name.type.go | #c792ea | — |
| entity.name.type.lifetime.rust, punctuation.definition.lifetime.rust | #ff9e64 | italic |
| entity.name.function.macro.rust | #c792ea | — |
| variable.other.normal.shell, variable.other.special.shell | #00fff5 | — |
| support.function.builtin.shell | #ffd866 | — |
| keyword.other.DML.sql, keyword.other.DDL.sql | #ff6b9d | — |
| invalid, invalid.illegal | #e94560 | underline |
| invalid.deprecated | #a0a0a0 | strikethrough |
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}!`;
}