BADBUG Theme
Publisher: 1MANDEV.COMThemes in package: 4
🔥 A collection of beautifully crafted modern themes for VSCode. 🎨 + 👌
🔥 A collection of beautifully crafted modern themes for VSCode. 🎨 + 👌
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, string.quoted.docstring | #464B5D | italic |
| variable, string constant.other.placeholder | #8F93A2 | — |
| constant.other.php | #FFCB6B | — |
| constant.other.color | #FFFFFF | — |
| invalid, invalid.illegal | #FF5370 | — |
| invalid.deprecated | #BB77FF | — |
| keyword, storage.type, storage.modifier | #BB77FF | — |
| Keyword, Storage | — | italic |
| constant.other.color, punctuation.definition.tag, punctuation, 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 | #89DDFF | — |
| entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter | #F07178 | — |
| entity.name.function, variable.function, keyword.other.special-method | #82AAFF | — |
| source.cpp meta.block variable.other | #F07178 | — |
| variable.other.constant | #F07178 | — |
| support.other.variable, string.other.link | #F07178 | — |
| constant.numeric, constant.language, support.constant, constant.character, constant.escape, keyword.other.unit, keyword.other | #F78C6C | — |
| variable.parameter.function.language.special, variable.parameter | #FF5370 | — |
| 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 | #C3E88D | |
| entity.name, support.type, support.class, support.orther.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types | #FFCB6B | — |
| support.type | #B2CCD6 | — |
| 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 | #B2CCD6 | — |
| entity.name.module.js, variable.import.parameter.js, variable.other.class.js | #FF5370 | — |
| variable.language | #FF5370 | italic |
| entity.name.method.js | #82AAFF | italic |
| meta.class-method.js entity.name.function.js, variable.function.constructor | #82AAFF | — |
| entity.other.attribute-name | #BB77FF | italic |
| entity.other.attribute-name.class | #FFCB6B | — |
| source.sass keyword.control | #82AAFF | — |
| markup.inserted | #C3E88D | — |
| markup.deleted | #FF5370 | — |
| markup.changed | #BB77FF | — |
| string.regexp | #89DDFF | — |
| constant.character.escape | #89DDFF | — |
| *url*, *link*, *uri* | — | underline |
| tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #82AAFF | italic |
| source.js constant.other.object.key.js string.unquoted.label.js | #FF5370 | italic |
| source.json meta.structure.dictionary.json support.type.property-name.json | #BB77FF | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #FFCB6B | — |
| 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 | #F78C6C | — |
| 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 | #FF5370 | — |
| 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 meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #C17E70 | — |
| 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 meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #82AAFF | — |
| 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 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 | #F07178 | — |
| 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 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 meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #BB77FF | — |
| 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 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 meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #C3E88D | — |
| text.html.markdown, punctuation.definition.list_item.markdown | #8F93A2 | — |
| text.html.markdown markup.inline.raw.markdown | #BB77FF | — |
| text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown | #80869E50 | — |
| text.html.markdown meta.dummy.line-break | #FF7E00 | — |
| markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown | #C3E88D | — |
| markup.italic | #F07178 | italic |
| markup.bold, markup.bold string | #F07178 | |
| 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 | #F07178 | |
| markup.underline | #F78C6C | underline |
| markup.strike | #FF007E | |
| markup.quote punctuation.definition.blockquote.markdown | #80869E50 | — |
| markup.quote | #7EFF00 | italic |
| string.other.link.title.markdown | #82AAFF | — |
| string.other.link.description.title.markdown | #BB77FF | — |
| constant.other.reference.link.markdown | #FFCB6B | — |
| markup.raw.block | #BB77FF | — |
| markup.fenced_code.block.markdown, markup.inline.raw.string.markdown | #8F93A290 | — |
| variable.language.fenced.markdown | #80869E50 | — |
| meta.separator | #80869E50 | |
| markup.table | #8F93A2 | — |
| comment | #7E7E7E | |
| punctuation.definition.comment | #7E7E7E | |
| string | #FF7EFF | |
| constant.numeric | #FFFF00 | |
| entity.name.type | #FF3B3B | |
| entity.name.class | #FF3B3B | |
| support.type | #FF3B3B | |
| support.class | #FF3B3B | |
| entity.name.function | #7EFF7E | |
| variable | #7EFFFF | |
| entity.name.variable | #7EFFFF | |
| entity.name.type | — | underline |
| keyword.operator | #FFFF7E | — |
| keyword.operator.arithmetic | #FFFF00 | |
| keyword.operator.assignment | #FFFFFF | |
| keyword.operator.logical | #FFAEAE | italic |
| keyword.operator.new | #FFFFFF8A | |
| punctuation.definition.string.begin, punctuation.definition.string.end | #FF7EFF | |
| storage.type | #007EFF | |
| support.function | #FF0000 | italic |
| support.variable | #FC6A0F | |
| variable.language | #FF7E7E | |
| variable.parameter | #CBF2FF | italic |
| variable.other.readwrite | #FFFFFF | |
| token.info-token | #6796E6 | — |
| token.warn-token | #CD9731 | — |
| token.error-token | #F44747 | — |
| token.debug-token | #B267E6 | — |
| entity.name | — | italic |
| constant | — | |
| string.quoted.single | — | |
| punctuation.separator | — | italic |
| punctuation.terminator | — | italic |
| meta.object-literal.key | #FF9191 | |
| comment.block | #7F0000 | |
| constant.language.boolean.false, constant.language.boolean.true, constant.language.nan, constant.language.null, constant.language.undefined, keyword.operator.comparison, constant.language.infinity, keyword.operator.expression.typeof, keyword.operator.expression.instanceof, keyword.operator.expression.is | #3FBFFF | |
| constant.numeric.binary, constant.numeric.decimal, constant.numeric.hex, constant.numeric.octal, keyword.operator.decrement, keyword.operator.increment, keyword.operator.arithmetic, keyword.operator.assignment.compound, keyword.operator.relational, support.constant.math, support.function.math, support.constant.property.math | #FFFF00 | |
| keyword.control.conditional, keyword.operator.ternary, keyword.control.switch | #FF7F00 | italic |
| keyword.control.flow | #FFB648 | |
| keyword.control.loop | #FF7FFF | italic |
| keyword.control.new, entity.name.type, keyword.operator.new | #AB5F23 | |
| keyword.control.trycatch | #FF0000 | italic |
| keyword.operator.expression.delete | #FF0000 | |
| keyword.operator.logical, keyword.operator.assignment.compound.bitwise, keyword.operator.bitwise | #FFAEAE | italic |
| punctuation.accessor | #FFFFFF | |
| entity.name.function | #7FFF00 | italic |
| storage.type.function.arrow | #7FFF00 | italic |
| storage.type.function | #7F00FF | italic |
| string.quoted.double, punctuation.definition.string.begin, punctuation.definition.string.end | #FF00FF | |
| string.quoted.single | #FFBF00 | |
| support.class.builtin | #B69100 | |
| support.function.dom | #FF4848 | italic |
| support.function.promise | #DAFF91 | italic |
| support.variable.property.dom | #FF9100 | |
| variable.language.arguments | #CBF2FF | italic |
| variable.language.this | #FFB648 | |
| variable.other.constant | #FFFFFF | underline |
| variable.other.constant.object | #FF9191 | underline |
| variable.other.object | #00FFFF | |
| variable.other.object.property | #FF9191 | |
| variable.other.property | #FF9191 | |
| variable.other.readwrite | #FFFFFF | — |
| storage.type | #7F00FF | |
| keyword.operator.assignment | #FFFFFF | — |
| variable.parameter | #CBF2FF | italic |
| support.function.console, support.class.console | #FF0000 | |
| punctuation.terminator.statement | — | |
| variable.other.constant.object | #00FFFF | |
| support.class.builtin | #AE00FF | |
| entity.name.type | #23AB6C | |
| keyword.operator.new | #23AB6C | |
| keyword.operator.expression.in.js | #FF7FFF | |
| keyword.operator.expression.of.js | #FF7FFF | |
| storage.type.class | #23AB6C | |
| support.function, keyword.control, support.class.promise | #FF3B3B | |
| storage.modifier.async | #C875FF | |
| keyword.control.import, keyword.control.from, support.type.object.module | #A2F890 | — |
| variable.other.constant | #FFFFFF | |
| support.class.component, entity.name.tag.html | #FF0077 | |
| variable.other.property, meta.object-literal.key | #BB77FF | — |
| storage.type.function | #0077FF | italic |
| storage.type | #0077FF | — |
| keyword.control.trycatch | #FF0077 | — |
| keyword.control.from | #FF7700 | — |
| keyword.control.import | #0077FF | — |
| support.function | #FF7700 | — |
| meta.jsx.children, text.html.derivative | #E4E4E4 | — |
| support.type.object.module | #FFB648 | — |
| support.type.object.module, keyword.control.default, keyword.control.export | #FF7700 | |
| meta.jsx.children | #FF7777 | |
| variable.object.property | #BB77FF | |
| punctuation.destructuring | #00FFFF | |
| punctuation.separator.key-value | #BB77FF | |
| punctuation.separator.comma | #FFFFFF | |
| keyword.control.as | #00FFFF | |
| punctuation.definition.comment | #7F0000 | |
| variable.other.object.property | #BB77FF | — |
| variable.language.this | #00FFFF | |
| punctuation.definition.group.regexp | #FF0000 | |
| constant.other.character-class.regexp | #FFFF00 | |
| meta.group.regexp | #00FFFF | |
| keyword.operator.or.regexp | #FF7700 | |
| keyword.other.js | #00FF00 | |
| keyword.operator.logical | #FF7F00 | |
| storage.type.class | #0077FF | italic |
| support.class | #FF0077 | |
| entity.name.type.class | #FF0077 | |
| entity.name.type | #FF0077 | |
| keyword.operator.new | #00FFFF | |
| comment | #666666 | |
| variable.other.constant | #FFFFFF | italic |
| keyword.control.as | #0077FF | — |
| support.type.primitive | #00FF90 | — |
| keyword.operator.type.annotation | #BB77FF | |
| support.variable.property | #FF7777 | — |
| entity.name.type.interface | #00FFFF | |
| storage.type.property | #BB77FF | — |
| storage.modifier | #FF7777 | — |
| constant.language.infinity | #FFFF00 | |
| constant.language.undefined, keyword.operator.expression.void, constant.language.null | #B4B4B4 | |
| keyword.generator.asterisk | #FFFFFF | italic |
| entity.name.type.module | #3FBFFF | — |
| entity.name.type | #FF8800 | |
| support.type.primitive | #FF0077 | |
| keyword.control.export, keyword.control.from, keyword.control.default, support.type.object.module | #FF4040 | — |
| support.function | #00FF77 | — |
| entity.name.type.instance.js | #FF5370 | underline |
| entity.name.class.js | — | underline |
| variable.other.class.js | — | underline |
TypeScript sample highlighted with this variant's colors and tokenColors.
Loading...
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}!`;
}
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}!`;
}