Edgerunners: Cyberpunk Theme
Publisher: Thomas FazzariThemes in package: 1
A focused Cyberpunk: Edgerunners-inspired dark theme with neon red, cyan, rose, muted gold, and restrained semantic highlighting.
A focused Cyberpunk: Edgerunners-inspired dark theme with neon red, cyan, rose, muted gold, and restrained semantic highlighting.
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 |
|---|---|---|
| emphasis | — | italic |
| strong | — | bold |
| header | #79EAF2 | — |
| invalid | #FF5A5A | underline italic |
| invalid.deprecated | #A8A49D | underline italic |
| markup.error | #FF5A5A | — |
| markup.bold | #FF6B8B | bold |
| markup.italic | #D8647D | italic |
| markup.heading | #79EAF2 | bold |
| markup.quote | #71798A | italic |
| markup.inline.raw, markup.fenced_code | #A7B0C2 | — |
| markup.underline.link, markup.underline.link.image | #79EAF2 | — |
| comment, punctuation.definition.comment | #71798A | italic |
| string, constant.other.symbol | #D8647D | — |
| constant.character.escape, constant.character.format.placeholder | #E3B86E | — |
| constant.numeric, constant.language.boolean, constant.language.null, constant.other | #D8AB5C | — |
| constant, variable.other.constant, support.constant | #E3B86E | — |
| variable, variable.other.readwrite | #A7B0C2 | — |
| variable.parameter, meta.function.parameters variable | #B4BAC6 | — |
| variable.other.property, variable.object.property, support.variable.property, meta.object-literal.key, entity.name.field | #7896BD | — |
| keyword, storage.type, storage.modifier, variable.language | #D04A72 | — |
| keyword.control, keyword.control.conditional, keyword.control.repeat, keyword.control.exception | #FF2D6F | — |
| keyword.operator, keyword.operator.assignment, keyword.operator.comparison, keyword.operator.logical, keyword.operator.arithmetic | #7C8390 | — |
| punctuation, meta.brace, meta.delimiter, punctuation.definition.block | #737B8A | — |
| entity.name.type, entity.name.class, entity.other.inherited-class, support.type, support.class | #79EAF2 | — |
| entity.name.namespace, entity.name.module, entity.name.package, support.module | #6D7C94 | — |
| entity.name.function, entity.name.function.member, support.function, variable.function | #FF6B8B | — |
| entity.name.function.decorator, punctuation.decorator, meta.decorator, entity.name.type.attribute | #A7B0C2 | — |
| support.function | #E75A7C | — |
| support.variable, support.constant | #A7B0C2 | — |
| string.regexp, constant.other.character-class.regexp, keyword.operator.quantifier.regexp | #D8647D | — |
| entity.name.tag, punctuation.definition.tag | #FF2D6F | — |
| entity.other.attribute-name, support.type.property-name | #7896BD | — |
| meta.structure.dictionary.key string.quoted, meta.object-literal.key | #79EAF2 | — |
| meta.structure.dictionary.value string.quoted | #FF2D6F | — |
| markup.inline.raw, markup.fenced_code, markup.raw | #A7B0C2 | — |
| markup.underline.link, string.other.link, constant.other.reference.link | #A7B0C2 | underline |
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}!`;
}