Pax8
Publisher: Lucid LabsThemes in package: 8
A black-first VS Code theme suite for Pax8 — the everyday electric-mint-on-black identity plus event editions for Pax8 Beyond 2026 (Salt Lake City & Copenhagen) and the Pax8 + Microsoft Beyond CTF.
A black-first VS Code theme suite for Pax8 — the everyday electric-mint-on-black identity plus event editions for Pax8 Beyond 2026 (Salt Lake City & Copenhagen) and the Pax8 + Microsoft Beyond CTF.
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 | #5A5A5A | italic |
| variable, string constant.other.placeholder | #0A0A0A | — |
| constant.other.color | #C20029 | — |
| invalid, invalid.illegal | #C20029 | — |
| keyword, storage.type, storage.modifier | #0077A3 | — |
| keyword.control, constant.other.color, punctuation, meta.tag, punctuation.definition.tag, punctuation.separator.inheritance.php, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.section.embedded, keyword.other.template, keyword.other.substitution | #C20029 | — |
| entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter | #0077A3 | — |
| entity.name.function, meta.function-call, variable.function, support.function, keyword.other.special-method | #C20029 | — |
| meta.block variable.other | #0A0A0A | — |
| support.other.variable, string.other.link | #0A0A0A | — |
| constant.numeric, constant.language, support.constant, constant.character, constant.escape, variable.parameter, keyword.other.unit, keyword.other | #8A6A00 | — |
| string, constant.other.symbol, constant.other.key, entity.other.inherited-class, markup.heading, markup.inserted.git_gutter, meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js | #6E7A00 | — |
| entity.name, support.type, support.class, support.other.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types | #C20029 | — |
| support.type | #0077A3 | — |
| source.css support.type.property-name, source.sass support.type.property-name, source.scss support.type.property-name, source.less support.type.property-name, source.stylus support.type.property-name, source.postcss support.type.property-name | #C20029 | — |
| entity.name.module.js, variable.import.parameter.js, variable.other.class.js | #0A0A0A | — |
| variable.language | #0077A3 | italic |
| entity.name.method.js | #C20029 | italic |
| meta.class-method.js entity.name.function.js, variable.function.constructor | #C20029 | — |
| entity.other.attribute-name | #0077A3 | — |
| text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name | #6E7A00 | italic |
| entity.other.attribute-name.class | #6E7A00 | — |
| source.sass keyword.control | #C20029 | — |
| markup.inserted | #1A7A3A | — |
| markup.deleted | #C20029 | — |
| markup.changed | #0077A3 | — |
| string.regexp | #1A7A3A | — |
| constant.character.escape | #1A7A3A | — |
| *url*, *link*, *uri* | — | underline |
| tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #C20029 | italic |
| source.js constant.other.object.key.js string.unquoted.label.js | #0A0A0A | italic |
| source.json meta.structure.dictionary.json support.type.property-name.json | #C20029 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #C20029 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #6E7A00 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #6E7A00 | — |
| text.html.markdown, punctuation.definition.list_item.markdown | #0A0A0A | — |
| text.html.markdown markup.inline.raw.markdown | #6E7A00 | — |
| text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown | #C20029 | — |
| markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown | #C20029 | — |
| markup.italic | #0077A3 | italic |
| markup.bold, markup.bold string | #0077A3 | bold |
| markup.bold markup.italic, markup.italic markup.bold, markup.quote markup.bold, markup.bold markup.italic string, markup.italic markup.bold string, markup.quote markup.bold string | #0077A3 | bold |
| markup.underline | #6E7A00 | underline |
| markup.quote punctuation.definition.blockquote.markdown | #5A5A5A | — |
| markup.quote | — | italic |
| string.other.link.title.markdown | #C20029 | — |
| string.other.link.description.title.markdown | #0077A3 | — |
| constant.other.reference.link.markdown | #6E7A00 | — |
| markup.raw.block | #6E7A00 | — |
| markup.raw.block.fenced.markdown | #0A0A0A | — |
| punctuation.definition.fenced.markdown | #0A0A0A | — |
| markup.raw.block.fenced.markdown, variable.language.fenced.markdown, punctuation.section.class.end | #0A0A0A | — |
| variable.language.fenced.markdown | #C20029 | — |
| meta.separator | #C20029 | bold |
| markup.table | #0A0A0A | — |
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}!`;
}