Neon Dark High Contrast Theme
Publisher: ZuyguiThemes in package: 1
A Black Neon-styled theme
A Black Neon-styled theme
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 | #28B9FF | — |
| constant | #5EA2FF | — |
| entity.name | #5C78FF | — |
| keyword | #BA5AFF | — |
| storage | #BA5AFF | — |
| string | #2883FF | — |
| support.function | #905AFF | — |
| variable | #F1F1F1 | — |
| entity.other.inherited-class | #5C78FF | — |
| entity.other.attribute-name | #5C78FF | — |
| entity.other.attribute-name.id | #5C78FF | — |
| entity.other.attribute-name.class | #5C78FF | — |
| entity.other.attribute-name.pseudo-class | #5C78FF | — |
| entity.other.attribute-name.pseudo-element | #5C78FF | — |
| entity.other.attribute-name.parent-selector | #5C78FF | — |
| meta.selector | #5C78FF | — |
| meta.preprocessor | #BA5AFF | — |
| meta.preprocessor.string | #2883FF | — |
| meta.preprocessor.numeric | #2883FF | — |
| meta.diff | #BA5AFF | — |
| meta.diff.header | #BA5AFF | — |
| markup.heading | #5C78FF | — |
| markup.bold | — | bold |
| markup.italic | — | italic |
| markup.quote | #28B9FF | — |
| markup.list | #28B9FF | — |
| markup.raw | #28B9FF | — |
| markup.deleted | #BA5AFF | — |
| markup.inserted | #905AFF | — |
| markup.changed | #2883FF | — |
| punctuation.definition.comment | #28B9FF | — |
| punctuation.definition.string | #2883FF | — |
| punctuation.definition.variable | #F1F1F1 | — |
| punctuation.definition.list | #28B9FF | — |
| punctuation.definition.bold | #BA5AFF | — |
| punctuation.definition.italic | #BA5AFF | — |
| punctuation.definition.raw | #BA5AFF | — |
| punctuation.definition.heading | #5C78FF | — |
| punctuation.definition.variable | #F1F1F1 | — |
| punctuation.definition.entity | #5C78FF | — |
| punctuation.definition.heading | #5C78FF | — |
| punctuation.definition.inserted | #905AFF | — |
| punctuation.definition.deleted | #BA5AFF | — |
| punctuation.definition.changed | #2883FF | — |
| punctuation.definition.italic | #BA5AFF | — |
| punctuation.definition.bold | #BA5AFF | — |
| punctuation.definition.string | #2883FF | — |
| punctuation.definition.variable | #F1F1F1 | — |
| punctuation.definition.raw | #BA5AFF | — |
| punctuation.definition.entity | #5C78FF | — |
| punctuation.definition.heading | #5C78FF | — |
| punctuation.definition.inserted | #905AFF | — |
| punctuation.definition.deleted | #BA5AFF | — |
| punctuation.definition.changed | #2883FF | — |
| punctuation.definition.italic | #BA5AFF | — |
| punctuation.definition.bold | #BA5AFF | — |
| punctuation.definition.string | #2883FF | — |
| punctuation.definition.variable | #F1F1F1 | — |
| punctuation.definition.raw | #BA5AFF | — |
| punctuation.definition.entity | #5C78FF | — |
| punctuation.definition.heading | #5C78FF | — |
| punctuation.definition.inserted | #905AFF | — |
| punctuation.definition.deleted | #BA5AFF | — |
| punctuation.definition.changed | #2883FF | — |
| punctuation.definition.italic | #BA5AFF | — |
| punctuation.definition.string.begin | #2883FF | — |
| punctuation.definition.string.end | #2883FF | — |
| punctuation.definition.variable | #F1F1F1 | — |
| punctuation.definition.raw | #BA5AFF | — |
| punctuation.definition.entity | #5C78FF | — |
| punctuation.definition.heading | #5C78FF | — |
| punctuation.definition.inserted | #905AFF | — |
| punctuation.definition.deleted | #BA5AFF | — |
| punctuation.definition.changed | #2883FF | — |
| punctuation.definition.italic | #BA5AFF | — |
| punctuation.definition.bold | #BA5AFF | — |
| punctuation.definition.string | #2883FF | — |
| punctuation.definition.variable | #F1F1F1 | — |
| punctuation.definition.raw | #BA5AFF | — |
| punctuation.definition.entity | #5C78FF | — |
| punctuation.definition.heading | #5C78FF | — |
| punctuation.definition.inserted | #905AFF | — |
| punctuation.definition.deleted | #BA5AFF | — |
| punctuation.definition.changed | #2883FF | — |
| source | #F1F1F1 | — |
| source.css | #F1F1F1 | — |
| source.css.embedded | #F1F1F1 | — |
| source.gfm | #F1F1F1 | — |
| source.go | #F1F1F1 | — |
| source.ini | #F1F1F1 | — |
| source.java | #F1F1F1 | — |
| source.js | #F1F1F1 | — |
| source.json | #F1F1F1 | — |
| source.json.comments | #28B9FF | — |
| source.less | #F1F1F1 | — |
| source.php | #F1F1F1 | — |
| source.python | #F1F1F1 | — |
| source.ruby | #F1F1F1 | — |
| source.sass | #F1F1F1 | — |
| source.scss | #F1F1F1 | — |
| source.shell | #F1F1F1 | — |
| source.sql | #F1F1F1 | — |
| source.toml | #F1F1F1 | — |
| source.ts | #F1F1F1 | — |
| source.tsx | #F1F1F1 | — |
| source.yaml | #F1F1F1 | — |
| source.yaml.comments | #28B9FF | — |
| source.coffee | #F1F1F1 | — |
| source.coffee.embedded | #F1F1F1 | — |
| source.css.less | #F1F1F1 | — |
| source.css.scss | #F1F1F1 | — |
| source.diff | #BA5AFF | — |
| source.diff.header | #BA5AFF | — |
| source.gfm | #F1F1F1 | — |
| source.go | #F1F1F1 | — |
| source.ini | #F1F1F1 | — |
| source.java | #F1F1F1 | — |
| source.js | #F1F1F1 | — |
| source.json | #F1F1F1 | — |
| source.json.comments | #28B9FF | — |
| source.less | #F1F1F1 | — |
| source.php | #F1F1F1 | — |
| source.python | #F1F1F1 | — |
| source.ruby | #F1F1F1 | — |
| source.sass | #F1F1F1 | — |
| source.scss | #F1F1F1 | — |
| source.shell | #F1F1F1 | — |
| source.sql | #F1F1F1 | — |
| source.toml | #F1F1F1 | — |
| source.ts | #F1F1F1 | — |
| source.tsx | #F1F1F1 | — |
| source.yaml | #F1F1F1 | — |
| source.yaml.comments | #28B9FF | — |
| source.coffee | #F1F1F1 | — |
| source.coffee.embedded | #F1F1F1 | — |
| source.css.less | #F1F1F1 | — |
| source.css.scss | #F1F1F1 | — |
| source.diff | #BA5AFF | — |
| source.diff.header | #BA5AFF | — |
| source.gfm | #F1F1F1 | — |
| source.go | #F1F1F1 | — |
| source.ini | #F1F1F1 | — |
| source.java | #F1F1F1 | — |
| source.js | #F1F1F1 | — |
| source.json | #F1F1F1 | — |
| source.json.comments | #28B9FF | — |
| source.less | #F1F1F1 | — |
| source.php | #F1F1F1 | — |
| source.python | #F1F1F1 | — |
| source.ruby | #F1F1F1 | — |
| source.sass | #F1F1F1 | — |
| source.scss | #F1F1F1 | — |
| source.shell | #F1F1F1 | — |
| source.sql | #F1F1F1 | — |
| source.toml | #F1F1F1 | — |
| source.ts | #F1F1F1 | — |
| source.tsx | #F1F1F1 | — |
| source.yaml | #F1F1F1 | — |
| source.yaml.comments | #28B9FF | — |
| source.coffee | #F1F1F1 | — |
| source.coffee.embedded | #F1F1F1 | — |
| source.css.less | #F1F1F1 | — |
| source.css.scss | #F1F1F1 | — |
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}!`;
}