Vaporpunk Theme Pack
Publisher: Luke ParkerThemes in package: 24
A pack of cyberpunk and vaporwave dark themes (Neon, Pastel, Purple, TealMagenta, Hacker, SoftNeon) with italic/bold variants.
A pack of cyberpunk and vaporwave dark themes (Neon, Pastel, Purple, TealMagenta, Hacker, SoftNeon) with italic/bold variants.
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 | #6D7280 | italic bold |
| keyword, storage.type, storage.modifier, storage.control | #C084FC | italic bold |
| keyword.control, keyword.control.flow, keyword.control.conditional, keyword.control.loop | #E879F9 | italic bold |
| string, constant.other.symbol, constant.other.character, string.quoted, string.template | #4ADE80 | italic bold |
| constant.numeric, constant.language, constant.character, constant.other | #EAB308 | italic bold |
| entity.name.function, meta.function, support.function, variable.function | #818CF8 | italic bold |
| entity.name.type, entity.name.class, support.type, support.class, storage.type.cs, storage.type.java | #F97316 | italic bold |
| variable, meta.definition.variable.name, meta.object-literal.key | #E5E7EB | italic bold |
| meta.object-literal.key, support.type.property-name, entity.name.tag.yaml | #FACC15 | italic bold |
| keyword.control.import, keyword.control.export, keyword.control.from, entity.name.namespace, meta.import | #22C55E | italic bold |
| meta.decorator, entity.name.function.decorator, storage.type.annotation, punctuation.decorator | #E879F9 | italic bold |
| entity.name.tag, meta.tag, support.class.component | #A855F7 | italic bold |
| entity.other.attribute-name, meta.tag.attribute | #FB7185 | italic bold |
| punctuation.separator, punctuation.terminator, punctuation.section, punctuation.definition | #9CA3AF | italic bold |
| support.type.property-name.json, support.type.property-name | #C4B5FD | italic bold |
| support.type.property-name.css, support.type.property-name.scss, support.type.property-name.less | #F97316 | italic bold |
| support.constant.property-value.css, support.constant.property-value.scss, support.constant.property-value.less | #38BDF8 | italic bold |
| markup.heading, markup.heading.setext, markup.heading.markdown | #C084FC | italic bold |
| markup.italic, markup.bold | #F472B6 | italic bold |
| markup.inline.raw, markup.fenced_code.block | #4ADE80 | italic bold |
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}!`;
}