Tyrone Neon
Publisher: tyronejoseeThemes in package: 14
Dark high-contrast theme with neon colors and a minimalist design. Focused on readability and modern aesthetics.
Dark high-contrast theme with neon colors and a minimalist design. Focused on readability and modern aesthetics.
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 | #262626 | italic |
| keyword, storage.type, storage.modifier | #FF4757 | bold |
| string, string.quoted, string.template | #00FF87 | — |
| constant.numeric, constant.language, constant.character | #FFFA65 | — |
| entity.name.function, meta.function-call, support.function | #00D9FF | — |
| entity.name.class, entity.name.type, support.type, support.class | #FF6B9D | bold |
| variable, meta.definition.variable | #E5E5E5 | — |
| variable.parameter, meta.parameters | #C7A3FF | italic |
| variable.object.property, meta.object-literal.key | #FFB347 | — |
| keyword.operator, punctuation | #00FF87 | — |
| entity.name.tag, punctuation.definition.tag | #FF4757 | — |
| entity.other.attribute-name | #00D9FF | — |
| entity.name.tag.css, entity.other.attribute-name.class.css, entity.other.attribute-name.id.css | #FF6B9D | — |
| support.type.property-name.css | #00FFCC | — |
| support.type.property-name.json | #FF6B9D | — |
| support.type.property-name.json meta.structure.dictionary.json | #00D9FF | — |
| support.type.property-name.json meta.structure.dictionary.json meta.structure.dictionary.json | #00FFCC | — |
| markup.heading.1.markdown, entity.name.section.markdown | #FF2E63 | bold |
| markup.bold, markup.bold.markdown | #FF2E63 | bold |
| markup.italic, markup.italic.markdown | #01ffd5 | italic |
| markup.bold markup.italic, markup.italic markup.bold | #FF6B9D | bold italic |
| markup.strikethrough | #7D8590 | strikethrough |
| markup.underline.link, markup.underline.link.markdown | #00D9FF | underline |
| string.other.link.title.markdown, string.other.link.description.markdown | #B57EDC | — |
| constant.other.reference.link.markdown | #00FFCC | — |
| markup.underline.link.autolink.markdown | #00D9FF | — |
| punctuation.definition.list.begin.markdown | #00FF87 | bold |
| markup.list.numbered.markdown | #E5E5E5 | — |
| markup.list.unnumbered.markdown | #E5E5E5 | — |
| markup.quote, markup.quote.markdown | #737373 | italic bold |
| punctuation.definition.quote.begin.markdown | #FF2E63 | bold |
| markup.table | #E5E5E5 | — |
| meta.separator.markdown | #404040 | bold |
| markup.frontmatter | #7D8590 | — |
| markup.frontmatter.yaml | #C7A3FF | — |
| punctuation.definition.task.markdown | #00FF87 | — |
| markup.task.complete.markdown | #00FF87 | — |
| markup.task.incomplete.markdown | #FF4757 | — |
| punctuation.definition.markdown | #404040 | bold |
| punctuation.definition.bold.markdown | #00FF87 | bold |
| punctuation.definition.italic.markdown | #00FF87 | italic |
| punctuation.definition.heading.markdown | #404040 | bold |
| meta.tag.inline.any.html, meta.tag.block.any.html | #FF4757 | — |
| entity.other.attribute-name.html | #00D9FF | — |
| markup.inline.raw | #00FF87 | — |
| variable.language.special.self.python | #FF4757 | italic |
| entity.name.function.decorator.python | #FFFA65 | — |
| variable.language.this | #FF4757 | italic |
| keyword.control.import, keyword.control.export, keyword.control.from | #FF4757 | — |
| entity.name.type.ts, entity.name.type.tsx, support.type.primitive | #FF6B9D | — |
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}!`;
}