GeekDZ Dark Neon
Publisher: GeekDZThemes in package: 1
A dark neon theme inspired by GeekDZ club — black background with glowing neon blue
A dark neon theme inspired by GeekDZ club — black background with glowing neon blue
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 | #5f6a8a | italic |
| variable, variable.other, variable.parameter, variable.language, string constant.other.placeholder | #ffffff | — |
| constant, constant.other.color, constant.other.symbol, constant.other.key, support.constant | #00ffff | — |
| constant.numeric, constant.language.numeric | #ff8c00 | — |
| constant.language.boolean | #ff8c00 | — |
| constant.language.null, constant.language.undefined | #ff8c00 | — |
| keyword, storage.type, storage.modifier, keyword.control, keyword.operator.new, keyword.operator.delete, keyword.other.using, keyword.other.typedef | #00bfff | bold |
| keyword.operator, keyword.operator.assignment, keyword.operator.arithmetic, keyword.operator.comparison, keyword.operator.logical | #00bfff | — |
| entity.name.function, meta.function-call, variable.function, support.function, keyword.other.special-method, entity.name.method | #bf00ff | — |
| variable.parameter, meta.parameters variable.other | #ffffff | italic |
| entity.name.class, entity.other.inherited-class, support.class, entity.name.type | #a020f0 | — |
| entity.name.interface | #a020f0 | italic |
| support.type, entity.name.type, storage.type.primitive | #a020f0 | — |
| string, string.quoted, string.template | #39ff14 | — |
| string.template, punctuation.definition.string.template | #39ff14 | — |
| meta.template.expression, punctuation.definition.template-expression | #00bfff | — |
| string.regexp | #00ffff | — |
| constant.character.escape | #00ffff | — |
| entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter | #00bfff | — |
| entity.other.attribute-name, text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name | #a020f0 | italic |
| punctuation.definition.tag, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html | #00bfff | — |
| entity.name.tag.css, entity.other.attribute-name.class.css, entity.other.attribute-name.id.css | #00bfff | — |
| support.type.property-name.css, support.type.property-name.scss, support.type.property-name.sass, support.type.property-name.less | #00ffff | — |
| support.constant.property-value.css, support.constant.color.css | #39ff14 | — |
| keyword.other.unit.css | #ff8c00 | — |
| support.type.property-name.json, meta.structure.dictionary.json support.type.property-name.json | #00ffff | — |
| meta.structure.dictionary.value.json string.quoted.double.json | #39ff14 | — |
| markup.heading, markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown | #00bfff | bold |
| markup.bold, markup.bold string | #ffffff | bold |
| markup.italic | #ffffff | italic |
| markup.inline.raw.markdown, markup.raw.block.markdown | #39ff14 | — |
| string.other.link.title.markdown, markup.underline.link.markdown | #00bfff | — |
| string.other.link.description.title.markdown | #00ffff | — |
| markup.quote | #5f6a8a | italic |
| punctuation, punctuation.separator, punctuation.terminator, punctuation.accessor | #00bfff | — |
| punctuation.section.brackets, punctuation.section.parens, punctuation.section.braces | #00bfff | — |
| invalid, invalid.illegal | #ff1744 | underline |
| invalid.deprecated | #ffa500 | strikethrough |
| markup.inserted, markup.inserted.git_gutter | #39ff14 | — |
| markup.deleted, markup.deleted.git_gutter | #ff1744 | — |
| markup.changed, markup.changed.git_gutter | #ffa500 | — |
| meta.function.decorator.python, entity.name.function.decorator.python | #a020f0 | italic |
| variable.parameter.function.language.special.self.python | #00bfff | italic |
| variable.language.this.js, variable.language.this.ts | #00bfff | italic |
| meta.import, keyword.control.import, keyword.control.from, keyword.control.export | #a020f0 | — |
| entity.name.import, entity.name.namespace | #00ffff | — |
| meta.annotation, punctuation.definition.annotation | #a020f0 | — |
| entity.name.label | #ffa500 | — |
| *url*, *link*, *uri* | #00bfff | underline |
| entity.name.tag.yaml | #00ffff | — |
| string.unquoted.plain.out.yaml | #39ff14 | — |
| punctuation.definition.anchor.yaml, variable.other.alias.yaml | #a020f0 | — |
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}!`;
}