Neo Brutal
Publisher: Talha KhanThemes in package: 1
Bold Neo-Brutalism theme with thick black borders, high contrast colors, and harsh shadows. Intentionally raw and unapologetic design for your code editor.
Bold Neo-Brutalism theme with thick black borders, high contrast colors, and harsh shadows. Intentionally raw and unapologetic design for your code editor.
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 | #666666 | italic |
| comment.documentation, comment.block.documentation | #00D9FF | italic |
| invalid.illegal | #FF006E | bold |
| keyword.operator | #000000 | bold |
| keyword, storage | #FF006E | bold |
| storage.type, support.type | #9D00FF | bold |
| constant.language, support.constant, variable.language | #FF6B35 | bold |
| variable, support.variable | #000000 | — |
| entity.name.function, support.function | #FF6B35 | bold |
| entity.name.type, entity.other.inherited-class, support.class | #9D00FF | bold |
| entity.name.exception | #FF006E | bold |
| entity.name.section | #000000 | bold |
| constant.numeric, constant.character, constant | #00D9FF | bold |
| string | #00A86B | — |
| constant.character.escape | #FF6B35 | bold |
| string.regexp | #00D9FF | bold |
| constant.other.symbol | #FF006E | — |
| punctuation | #000000 | — |
| meta.tag.sgml.doctype, meta.tag.sgml.doctype string, meta.tag.sgml.doctype entity.name.tag, meta.tag.sgml punctuation.definition.tag.html | #666666 | — |
| meta.tag, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html | #000000 | — |
| entity.name.tag | #FF006E | bold |
| meta.tag entity.other.attribute-name, entity.other.attribute-name.html | #00D9FF | italic |
| constant.character.entity, punctuation.definition.entity | #FF6B35 | — |
| meta.selector, meta.selector entity, meta.selector entity punctuation, entity.name.tag.css | #9D00FF | bold |
| meta.property-name, support.type.property-name | #00D9FF | — |
| meta.property-value, meta.property-value constant.other, support.constant.property-value | #00A86B | — |
| keyword.other.important | #FF006E | bold |
| markup.changed | #00D9FF | — |
| markup.deleted | #FF006E | — |
| markup.italic | #000000 | italic |
| markup.error | #FF006E | bold |
| markup.inserted | #CCFF00 | — |
| meta.link | #00D9FF | underline |
| markup.output, markup.raw | #666666 | — |
| markup.prompt | #000000 | — |
| markup.heading | #FF006E | bold |
| markup.bold | #000000 | bold |
| markup.traceback | #FF006E | — |
| markup.underline | — | underline |
| markup.quote | #9D00FF | italic |
| markup.list | #FF006E | — |
| markup.bold, markup.italic | #000000 | — |
| markup.inline.raw | #FF6B35 | — |
| meta.diff.range, meta.diff.index, meta.separator | #000000 | bold |
| meta.diff.header.from-file | #FF006E | — |
| meta.diff.header.to-file | #00D9FF | — |
| support.type.property-name.json | #FF006E | bold |
| string.quoted.double.json | #00A86B | — |
| entity.name.tag.yaml | #FF006E | bold |
| meta.function-call.generic.python | #FF6B35 | bold |
| variable.language.this.js | #FF006E | bold italic |
| variable.other.php | #9D00FF | — |
| keyword.other.DML.sql | #FF006E | bold |
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}!`;
}