Dark Bruv Neo
Publisher: Dark Bruv NeoThemes in package: 1
A premium dark theme built for AI-first development. Deep navy background, signature pink accents, and semantic token support across 12+ languages.
A premium dark theme built for AI-first development. Deep navy background, signature pink accents, and semantic token support across 12+ languages.
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.line, comment.block, comment | #6a7a8a | italic |
| keyword, keyword.control, keyword.operator.new, keyword.operator.expression, keyword.operator.logical, keyword.operator.delete, keyword.operator.typeof, keyword.operator.void, keyword.other.DML.sql, keyword.other.DDL.sql, keyword.other.sql | #fa57d7 | — |
| keyword.control | #df8bcd | italic |
| storage.type, storage.modifier | #fa57d7 | — |
| entity.name.function, entity.name.function.go, meta.definition.method entity.name.function, support.function, support.constant.handlebars, support.function.builtin.shell | #fa57d7 | italic |
| support.function.aggregate.sql | #fa57d7 | italic |
| entity.name.type, entity.name.class, entity.name.interface, support.class, support.type, meta.return-type, meta.type.cast.expr, meta.type.new.expr, entity.other.inherited-class, support.constant.math, support.constant.dom, support.constant.json, storage.type.numeric.go, storage.type.byte.go, storage.type.boolean.go, storage.type.string.go, storage.type.uintptr.go, storage.type.error.go, storage.type.rune.go, storage.type.cs, storage.type.generic.cs, storage.type.modifier.cs, storage.type.variable.cs, storage.type.annotation.java, storage.type.generic.java, storage.type.java, storage.type.object.array.java, storage.type.primitive.array.java, storage.type.primitive.java, storage.type.token.java, storage.type.groovy, storage.type.annotation.groovy, storage.type.parameters.groovy, storage.type.generic.groovy, storage.type.object.array.groovy, storage.type.primitive.array.groovy, storage.type.primitive.groovy, support.function.builtin.python, meta.function.parameters.annotation.python | #56d4e8 | — |
| meta.type.parameters, punctuation.definition.typeparameters.begin, punctuation.definition.typeparameters.end | #56d4e8 | — |
| variable, meta.definition.variable.name, support.variable, entity.name.variable, variable.other.readwrite.alias, variable.scss, variable.other.normal.shell | #e5c07b | — |
| variable.parameter.function.language.special.self.python | #6a7a8a | — |
| constant.language, constant.language.json | #61afef | — |
| constant.numeric, constant.numeric.css, keyword.other.unit.css | #61afef | — |
| constant.character | #61afef | — |
| constant.character.escape | #d7ba7d | — |
| string, string.quoted, string.quoted.single, string.quoted.double, string.template | #e29c63 | — |
| meta.object-literal.key, support.type.property-name.json | #b791ff | — |
| meta.decorator, punctuation.decorator, entity.name.function.decorator.python, punctuation.definition.decorator.python | #d7ba7d | — |
| entity.name.namespace, entity.name.module, entity.name.package.go | #b791ff | — |
| entity.name.tag, entity.name.tag.tsx, entity.name.tag.jsx, entity.name.tag.html, entity.name.tag.css | #56d4e8 | — |
| entity.other.attribute-name, entity.other.attribute-name.tsx, entity.other.attribute-name.jsx, entity.other.attribute-name.html | #e5c07b | — |
| punctuation.section.embedded | #df8bcd | — |
| punctuation.definition.tag, punctuation.definition.tag.begin, punctuation.definition.tag.end | #6a7a8a | — |
| support.type.property-name.css, support.type.property-name.scss, support.type.property-name.less | #56d4e8 | — |
| support.constant.property-value, support.constant.font-name, support.constant.media-type, support.constant.media, constant.other.color.rgb-value, constant.other.rgb-value, support.constant.color | #e29c63 | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.id.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css | #fa57d7 | — |
| keyword.control.at-rule | #fa57d7 | — |
| markup.heading, entity.name.section.markdown | #fa57d7 | bold |
| markup.inline.raw.string.markdown | #56d4e8 | — |
| markup.underline.link, markup.underline.link.image | #56d4e8 | — |
| markup.bold | — | bold |
| markup.italic | — | italic |
| markup.quote | #6a7a8a | italic |
| markup.fenced_code.block.markdown | #cdd6f4 | — |
| string.unquoted.argument.shell | #6a7a8a | — |
| meta.string-contents.quoted.double.shell | #df8bcd | — |
| punctuation.definition.group.regexp, punctuation.definition.group.assertion.regexp, punctuation.definition.character-class.regexp, punctuation.character.set.begin.regexp, punctuation.character.set.end.regexp, keyword.operator.negation.regexp, support.other.parenthesis.regexp | #d16969 | — |
| constant.character.character-class.regexp, constant.other.character-class.set.regexp, constant.other.character-class.regexp, constant.character.set.regexp | #d16969 | — |
| keyword.operator.or.regexp, keyword.control.anchor.regexp | #DCDCAA | — |
| keyword.operator.quantifier.regexp | #d7ba7d | — |
| comment.line, comment.block, comment | #6a7a8a | italic |
| keyword, keyword.control, keyword.operator.new, keyword.operator.expression, keyword.operator.logical, keyword.operator.delete, keyword.operator.typeof, keyword.operator.void, keyword.other.DML.sql, keyword.other.DDL.sql, keyword.other.sql | #fa57d7 | — |
| keyword.control | #df8bcd | italic |
| storage.type, storage.modifier | #fa57d7 | — |
| entity.name.function, entity.name.function.go, meta.definition.method entity.name.function, support.function, support.constant.handlebars, support.function.builtin.shell | #fa57d7 | italic |
| support.function.aggregate.sql | #fa57d7 | italic |
| entity.name.type, entity.name.class, entity.name.interface, support.class, support.type, meta.return-type, meta.type.cast.expr, meta.type.new.expr, entity.other.inherited-class, support.constant.math, support.constant.dom, support.constant.json, storage.type.numeric.go, storage.type.byte.go, storage.type.boolean.go, storage.type.string.go, storage.type.uintptr.go, storage.type.error.go, storage.type.rune.go, storage.type.cs, storage.type.generic.cs, storage.type.modifier.cs, storage.type.variable.cs, storage.type.annotation.java, storage.type.generic.java, storage.type.java, storage.type.object.array.java, storage.type.primitive.array.java, storage.type.primitive.java, storage.type.token.java, storage.type.groovy, storage.type.annotation.groovy, storage.type.parameters.groovy, storage.type.generic.groovy, storage.type.object.array.groovy, storage.type.primitive.array.groovy, storage.type.primitive.groovy, support.function.builtin.python, meta.function.parameters.annotation.python | #56d4e8 | — |
| meta.type.parameters, punctuation.definition.typeparameters.begin, punctuation.definition.typeparameters.end | #56d4e8 | — |
| variable, meta.definition.variable.name, support.variable, entity.name.variable, variable.other.readwrite.alias, variable.scss, variable.other.normal.shell | #e5c07b | — |
| variable.parameter.function.language.special.self.python | #6a7a8a | — |
| constant.language, constant.language.json | #61afef | — |
| constant.numeric, constant.numeric.css, keyword.other.unit.css | #61afef | — |
| constant.character | #61afef | — |
| constant.character.escape | #d7ba7d | — |
| string, string.quoted, string.quoted.single, string.quoted.double, string.template | #e29c63 | — |
| meta.object-literal.key, support.type.property-name.json | #b791ff | — |
| meta.decorator, punctuation.decorator, entity.name.function.decorator.python, punctuation.definition.decorator.python | #d7ba7d | — |
| entity.name.namespace, entity.name.module, entity.name.package.go | #b791ff | — |
| entity.name.tag, entity.name.tag.tsx, entity.name.tag.jsx, entity.name.tag.html, entity.name.tag.css | #56d4e8 | — |
| entity.other.attribute-name, entity.other.attribute-name.tsx, entity.other.attribute-name.jsx, entity.other.attribute-name.html | #e5c07b | — |
| punctuation.section.embedded | #df8bcd | — |
| punctuation.definition.tag, punctuation.definition.tag.begin, punctuation.definition.tag.end | #6a7a8a | — |
| support.type.property-name.css, support.type.property-name.scss, support.type.property-name.less | #56d4e8 | — |
| support.constant.property-value, support.constant.font-name, support.constant.media-type, support.constant.media, constant.other.color.rgb-value, constant.other.rgb-value, support.constant.color | #e29c63 | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.id.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css | #fa57d7 | — |
| keyword.control.at-rule | #fa57d7 | — |
| markup.heading, entity.name.section.markdown | #fa57d7 | bold |
| markup.inline.raw.string.markdown | #56d4e8 | — |
| markup.underline.link, markup.underline.link.image | #56d4e8 | — |
| markup.bold | — | bold |
| markup.italic | — | italic |
| markup.quote | #6a7a8a | italic |
| markup.fenced_code.block.markdown | #cdd6f4 | — |
| string.unquoted.argument.shell | #6a7a8a | — |
| meta.string-contents.quoted.double.shell | #df8bcd | — |
| punctuation.definition.group.regexp, punctuation.definition.group.assertion.regexp, punctuation.definition.character-class.regexp, punctuation.character.set.begin.regexp, punctuation.character.set.end.regexp, keyword.operator.negation.regexp, support.other.parenthesis.regexp | #d16969 | — |
| constant.character.character-class.regexp, constant.other.character-class.set.regexp, constant.other.character-class.regexp, constant.character.set.regexp | #d16969 | — |
| keyword.operator.or.regexp, keyword.control.anchor.regexp | #DCDCAA | — |
| keyword.operator.quantifier.regexp | #d7ba7d | — |
| meta.embedded, source.groovy.embedded | #D4D4D4 | — |
| emphasis | — | italic |
| strong | — | bold |
| header | #000080 | — |
| comment | #b8a0af | — |
| constant.language | #569cd6 | — |
| constant.numeric | #56ff50 | — |
| constant.regexp | #646695 | — |
| entity.name.tag | #ff6e6e | — |
| entity.name.tag.css | #ff6e6e | — |
| entity.other.attribute-name | #fca966 | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.class.mixin.css, entity.other.attribute-name.id.css, entity.other.attribute-name.parent-selector.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css, source.css.less entity.other.attribute-name.id, entity.other.attribute-name.attribute.scss, entity.other.attribute-name.scss | #fff23a | — |
| invalid | #f44747 | — |
| markup.underline | — | underline |
| markup.bold | #43abff | bold |
| markup.heading | #43abff | bold |
| markup.italic | — | italic |
| markup.inserted | #b5cea8 | — |
| markup.deleted | #ce9178 | — |
| markup.changed | #569cd6 | — |
| punctuation.definition.quote.begin.markdown | #6A9955 | — |
| punctuation.definition.list.begin.markdown | #6796e6 | — |
| markup.inline.raw | #ce9178 | — |
| punctuation.definition.tag | #fff | — |
| meta.preprocessor | #43abff | — |
| meta.preprocessor.string | #ce9178 | — |
| meta.preprocessor.numeric | #b5cea8 | — |
| meta.structure.dictionary.key.python | #9cdcfe | — |
| meta.diff.header | #569cd6 | — |
| storage | #569cd6 | — |
| storage.type | #569cd6 | — |
| storage.modifier | #569cd6 | — |
| string | #7ef6ff | — |
| string.tag | #7ef6ff | — |
| string.value | #9bf0ff | — |
| string.regexp | #cf5454 | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #569cd6 | — |
| meta.template.expression | #d4d4d4 | — |
| support.type.vendored.property-name, support.type.property-name, variable.css, variable.scss, variable.other.less, source.coffee.embedded | #c09eff | — |
| keyword | #569cd6 | — |
| keyword.control | #569cd6 | — |
| keyword.operator | #d4d4d4 | — |
| keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.instanceof, keyword.operator.logical.python | #569cd6 | — |
| keyword.other.unit | #56ff50 | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #569cd6 | — |
| support.function.git-rebase | #9cdcfe | — |
| constant.sha.git-rebase | #cea8a8 | — |
| storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java | #d4d4d4 | — |
| variable.language | #569cd6 | — |
| comment.line, comment.block, comment | #6a7a8a | italic |
| keyword, keyword.control, keyword.operator.new, keyword.operator.expression, keyword.operator.logical, keyword.operator.delete, keyword.operator.typeof, keyword.operator.void, keyword.other.DML.sql, keyword.other.DDL.sql, keyword.other.sql | #fa57d7 | — |
| keyword.control | #df8bcd | italic |
| storage.type, storage.modifier | #fa57d7 | — |
| entity.name.function, entity.name.function.go, meta.definition.method entity.name.function, support.function, support.constant.handlebars, support.function.builtin.shell | #fa57d7 | italic |
| support.function.aggregate.sql | #fa57d7 | italic |
| entity.name.type, entity.name.class, entity.name.interface, support.class, support.type, meta.return-type, meta.type.cast.expr, meta.type.new.expr, entity.other.inherited-class, support.constant.math, support.constant.dom, support.constant.json, storage.type.numeric.go, storage.type.byte.go, storage.type.boolean.go, storage.type.string.go, storage.type.uintptr.go, storage.type.error.go, storage.type.rune.go, storage.type.cs, storage.type.generic.cs, storage.type.modifier.cs, storage.type.variable.cs, storage.type.annotation.java, storage.type.generic.java, storage.type.java, storage.type.object.array.java, storage.type.primitive.array.java, storage.type.primitive.java, storage.type.token.java, storage.type.groovy, storage.type.annotation.groovy, storage.type.parameters.groovy, storage.type.generic.groovy, storage.type.object.array.groovy, storage.type.primitive.array.groovy, storage.type.primitive.groovy, support.function.builtin.python, meta.function.parameters.annotation.python | #56d4e8 | — |
| meta.type.parameters, punctuation.definition.typeparameters.begin, punctuation.definition.typeparameters.end | #56d4e8 | — |
| variable, meta.definition.variable.name, support.variable, entity.name.variable, variable.other.readwrite.alias, variable.scss, variable.other.normal.shell | #e5c07b | — |
| variable.parameter.function.language.special.self.python | #6a7a8a | — |
| constant.language, constant.language.json | #61afef | — |
| constant.numeric, constant.numeric.css, keyword.other.unit.css | #61afef | — |
| constant.character | #61afef | — |
| constant.character.escape | #d7ba7d | — |
| string, string.quoted, string.quoted.single, string.quoted.double, string.template | #e29c63 | — |
| meta.object-literal.key, support.type.property-name.json | #b791ff | — |
| meta.decorator, punctuation.decorator, entity.name.function.decorator.python, punctuation.definition.decorator.python | #d7ba7d | — |
| entity.name.namespace, entity.name.module, entity.name.package.go | #b791ff | — |
| entity.name.tag, entity.name.tag.tsx, entity.name.tag.jsx, entity.name.tag.html, entity.name.tag.css | #56d4e8 | — |
| entity.other.attribute-name, entity.other.attribute-name.tsx, entity.other.attribute-name.jsx, entity.other.attribute-name.html | #e5c07b | — |
| punctuation.section.embedded | #df8bcd | — |
| punctuation.definition.tag, punctuation.definition.tag.begin, punctuation.definition.tag.end | #6a7a8a | — |
| support.type.property-name.css, support.type.property-name.scss, support.type.property-name.less | #56d4e8 | — |
| support.constant.property-value, support.constant.font-name, support.constant.media-type, support.constant.media, constant.other.color.rgb-value, constant.other.rgb-value, support.constant.color | #e29c63 | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.id.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css | #fa57d7 | — |
| keyword.control.at-rule | #fa57d7 | — |
| markup.heading, entity.name.section.markdown | #fa57d7 | bold |
| markup.inline.raw.string.markdown | #56d4e8 | — |
| markup.underline.link, markup.underline.link.image | #56d4e8 | — |
| markup.bold | — | bold |
| markup.italic | — | italic |
| markup.quote | #6a7a8a | italic |
| markup.fenced_code.block.markdown | #cdd6f4 | — |
| string.unquoted.argument.shell | #6a7a8a | — |
| meta.string-contents.quoted.double.shell | #df8bcd | — |
| punctuation.definition.group.regexp, punctuation.definition.group.assertion.regexp, punctuation.definition.character-class.regexp, punctuation.character.set.begin.regexp, punctuation.character.set.end.regexp, keyword.operator.negation.regexp, support.other.parenthesis.regexp | #d16969 | — |
| constant.character.character-class.regexp, constant.other.character-class.set.regexp, constant.other.character-class.regexp, constant.character.set.regexp | #d16969 | — |
| keyword.operator.or.regexp, keyword.control.anchor.regexp | #DCDCAA | — |
| keyword.operator.quantifier.regexp | #d7ba7d | — |
| meta.embedded, source.groovy.embedded | #D4D4D4 | — |
| emphasis | — | italic |
| strong | — | bold |
| header | #000080 | — |
| comment | #b8a0af | — |
| constant.language | #569cd6 | — |
| constant.numeric | #56ff50 | — |
| constant.regexp | #646695 | — |
| entity.name.tag | #ff6e6e | — |
| entity.name.tag.css | #ff6e6e | — |
| entity.other.attribute-name | #fca966 | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.class.mixin.css, entity.other.attribute-name.id.css, entity.other.attribute-name.parent-selector.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css, source.css.less entity.other.attribute-name.id, entity.other.attribute-name.attribute.scss, entity.other.attribute-name.scss | #fff23a | — |
| invalid | #f44747 | — |
| markup.underline | — | underline |
| markup.bold | #43abff | bold |
| markup.heading | #43abff | bold |
| markup.italic | — | italic |
| markup.inserted | #b5cea8 | — |
| markup.deleted | #ce9178 | — |
| markup.changed | #569cd6 | — |
| punctuation.definition.quote.begin.markdown | #6A9955 | — |
| punctuation.definition.list.begin.markdown | #6796e6 | — |
| markup.inline.raw | #ce9178 | — |
| punctuation.definition.tag | #fff | — |
| meta.preprocessor | #43abff | — |
| meta.preprocessor.string | #ce9178 | — |
| meta.preprocessor.numeric | #b5cea8 | — |
| meta.structure.dictionary.key.python | #9cdcfe | — |
| meta.diff.header | #569cd6 | — |
| storage | #569cd6 | — |
| storage.type | #569cd6 | — |
| storage.modifier | #569cd6 | — |
| string | #7ef6ff | — |
| string.tag | #7ef6ff | — |
| string.value | #9bf0ff | — |
| string.regexp | #cf5454 | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #569cd6 | — |
| meta.template.expression | #d4d4d4 | — |
| support.type.vendored.property-name, support.type.property-name, variable.css, variable.scss, variable.other.less, source.coffee.embedded | #c09eff | — |
| keyword | #569cd6 | — |
| keyword.control | #569cd6 | — |
| keyword.operator | #d4d4d4 | — |
| keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.instanceof, keyword.operator.logical.python | #569cd6 | — |
| keyword.other.unit | #56ff50 | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #569cd6 | — |
| support.function.git-rebase | #9cdcfe | — |
| constant.sha.git-rebase | #cea8a8 | — |
| storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java | #d4d4d4 | — |
| variable.language | #569cd6 | — |
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}!`;
}