Neon Contagion — Themes & Icons
Publisher: ToxicEpochThemes in package: 50
50 luminous cyberpunk themes, 50 coordinated original file icon packs, and a developer workspace with reversible paired previews.
50 luminous cyberpunk themes, 50 coordinated original file icon packs, and a developer workspace with reversible paired previews.
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 | #ADCFC2 | — |
| keyword, storage | #00FF83 | — |
| keyword.operator | #EBFFF5 | — |
| string | #749FFF | — |
| constant.numeric, constant.language, constant.character, constant.other | #FF61AD | — |
| entity.name.function, support.function | #EFFF00 | — |
| entity.name.type, entity.name.class, support.type, support.class, entity.name.namespace | #749FFF | — |
| variable, meta.definition.variable | #EBFFF5 | — |
| variable.parameter | #EBFFF5 | — |
| support.type.property-name, entity.other.attribute-name, meta.object-literal.key | #749FFF | — |
| punctuation | #EBFFF5 | — |
| punctuation.section.interpolation, keyword.other.template, meta.interpolation punctuation | #00FF83 | — |
| constant.character.escape | #00FF83 | — |
| entity.name.tag | #00FF83 | — |
| storage.type.terraform, keyword.control.terraform, keyword.other.terraform | #00FF83 | — |
| variable.other.property.terraform, variable.other.readwrite.terraform | #EBFFF5 | — |
| support.function.builtin.shell, support.function.powershell | #EFFF00 | — |
| markup.heading, entity.name.section | #00FF83 | bold |
| markup.bold | #EBFFF5 | bold |
| markup.italic | #EBFFF5 | italic |
| markup.inline.raw, markup.fenced_code.block | #749FFF | — |
| markup.underline.link | #00FF83 | — |
| markup.inserted | #4AF584 | — |
| markup.deleted | #EC798E | — |
| invalid | #EC798E | — |
| support.type.property-name.json, entity.name.tag.yaml, entity.name.tag.yml | #749FFF | — |
| keyword.other.sql, keyword.other.DML.sql, keyword.other.DDL.sql | #00FF83 | — |
| string.regexp, constant.other.character-class.regexp | #749FFF | — |
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}!`;
}