wave-pack
Publisher: Schalk NeethlingThemes in package: 1
Neon Wave theme, Monaspace Neon Frozen typography, and a curated set of extensions for frontend web development.
Neon Wave theme, Monaspace Neon Frozen typography, and a curated set of extensions for frontend web development.
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 | #56509a | italic |
| keyword, keyword.control, keyword.operator.new, keyword.operator.expression, keyword.operator.logical.python, storage.type.class, storage.type.function, storage.type.extends | #f72585 | — |
| storage.modifier, keyword.control.flow, keyword.control.return, keyword.control.import, keyword.control.export, keyword.control.from, keyword.control.as | #b5179e | — |
| entity.name.type, entity.name.class, entity.other.inherited-class, support.class, support.type, meta.return-type, storage.type.primitive | #b5179e | — |
| entity.name.function, meta.function-call entity.name.function, support.function, meta.method-call entity.name.function | #4895ef | — |
| variable.parameter, meta.function.parameter variable.other | #4895ef | italic |
| variable, variable.other, variable.other.readwrite, meta.definition.variable | #d4d0f0 | — |
| variable.other.constant, variable.other.enummember, support.constant | #7209b7 | — |
| string, string.quoted, string.template | #4cc9f0 | — |
| constant.character.escape, string.regexp | #4895ef | — |
| punctuation.definition.template-expression, punctuation.section.embedded | #f72585 | — |
| constant.numeric, constant.numeric.integer, constant.numeric.float | #7209b7 | — |
| constant.language.boolean, constant.language.null, constant.language.undefined, constant.language.nan | #7209b7 | italic |
| variable.other.object.property, meta.object-literal.key, support.type.property-name | #4361ee | — |
| variable.other.property, meta.property.object | #4361ee | — |
| keyword.operator, keyword.operator.arithmetic, keyword.operator.assignment, keyword.operator.comparison, keyword.operator.logical, keyword.operator.bitwise, keyword.operator.ternary, keyword.operator.optional | #b5179e | — |
| punctuation, punctuation.separator, punctuation.terminator, meta.brace | #6060a0 | — |
| meta.decorator, punctuation.decorator, entity.name.function.decorator | #f72585 | italic |
| meta.type.annotation, meta.type.parameters, entity.name.type.ts, entity.name.type.module | #b5179e | — |
| entity.name.type.interface | #b5179e | italic |
| string.quoted.double.import, string.quoted.single.import, entity.name.module | #4cc9f0 | — |
| entity.name.tag, meta.tag | #f72585 | — |
| entity.other.attribute-name, meta.tag entity.other.attribute-name | #4361ee | — |
| string.quoted.double.html, string.quoted.single.html | #4cc9f0 | — |
| punctuation.definition.tag, punctuation.definition.tag.html | #560bad | — |
| entity.name.tag.css, entity.other.attribute-name.css, entity.other.attribute-name.class.css, entity.other.attribute-name.id.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css | #f72585 | — |
| support.type.property-name.css, support.type.property-name.scss, support.type.property-name.less | #4361ee | — |
| support.constant.property-value.css, meta.property-value.css, support.constant.color.w3c-standard-color-name.css | #4cc9f0 | — |
| variable.css, variable.argument.css, support.type.custom-property.name.css | #4895ef | — |
| keyword.control.at-rule.css, keyword.control.at-rule.scss | #b5179e | — |
| constant.numeric.css, keyword.other.unit.css | #7209b7 | — |
| support.type.property-name.json, string.json support.type.property-name | #4361ee | — |
| string.quoted.double.json | #4cc9f0 | — |
| markup.heading, markup.heading.markdown, entity.name.section.markdown, punctuation.definition.heading.markdown | #f72585 | bold |
| markup.bold, markup.bold.markdown | #4895ef | bold |
| markup.italic, markup.italic.markdown | #4895ef | italic |
| markup.inline.raw, markup.raw.block | #4cc9f0 | — |
| markup.underline.link, string.other.link.title.markdown | #4361ee | — |
| markup.quote, markup.quote.markdown | #56509a | italic |
| punctuation.definition.list.begin.markdown | #b5179e | — |
| entity.name.tag.yaml, string.unquoted.plain.out.yaml entity.name.tag | #4361ee | — |
| string.unquoted.plain.out.yaml, string.quoted.single.yaml, string.quoted.double.yaml | #4cc9f0 | — |
| variable.other.alias.yaml, entity.name.label.yaml, punctuation.definition.alias.yaml, punctuation.definition.anchor.yaml | #b5179e | — |
| invalid, invalid.deprecated | #f72585 | 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}!`;
}