Full workbench mockup using this variant's colors and tokenColors.
Workbench UI color keys from the theme JSON colors map.
TextMate scopes and font styles (syntax highlighting rules).
| scope | foreground | fontStyle |
|---|---|---|
| comment, string.quoted.docstring.multi.python, string.quoted.docstring.multi.python punctuation.definition.string.begin.python, string.quoted.docstring.multi.python punctuation.definition.string.end.python | #d4d4d4c5 | italic |
| string.quoted, string.template, punctuation.definition.string | #05a500 | |
| string.template meta.embedded.line | #0dc200 | — |
| variable, entity.name.variable, meta.object-literal.key.tsx, meta.object-literal.key.jsx, meta.object-literal.key.js, meta.var.expr.tsx | #dcdbde | italic |
| variable.language | #f14fab | bold |
| variable.parameter | #48ff00 | italic |
| storage.type, storage.modifier | #46d1fc | |
| constant | #7d0aff | — |
| string.regexp | #f97e72 | — |
| constant.numeric | #00ff73d3 | — |
| constant.language | #00ffe1 | — |
| constant.character.escape | #8febe9 | — |
| entity.name | #fe4450 | — |
| entity.name.tag | #fd4dddff | |
| entity.name.tag.css, meta.selector.css, source.css, meta.embedded.block.astro, meta.style.astro, meta.scope.tag.style.astro | #00c75a | bold |
| punctuation.definition.tag | #5ce5f7 | bold |
| entity.other.attribute-name | #ff9900ec | italic |
| entity.other.attribute-name.class.css, meta.selector.css, meta.embedded.block.astro | #4cff88 | italic |
| entity.other.attribute-name.html | #fbc100 | italic |
| entity.name.type, meta.attribute.class.html | #00fddb | — |
| entity.name.type, entity.name.type.interface | #942cf5 | bold |
| entity.other.inherited-class | #00ffea | — |
| entity.name.function.ts, meta.function-call.ts, meta.array.literal.ts, meta.var.expr.ts, meta.block.ts, meta.arrow.ts, meta.var.expr.ts | #6832fdd6 | — |
| entity.name.function, variable.function | #00ffeab1 | bold |
| keyword.control.export.js, keyword.control.import.js | #00FF8D | — |
| constant.numeric.decimal.js | #FF00A8 | — |
| keyword | #00FFFB | — |
| keyword.control | #f8a305dc | |
| variable.other.readwrite.alias.tsx, meta.import.tsx, variable.other.readwrite.alias.jsx, meta.import.jsx, variable.other.readwrite.alias.js, meta.import.js | #0ff2fa | |
| keyword.control.at-rule.theme.tailwind, source.css | #19b6ff | bold |
| keyword.operator | #54FF00 | — |
| keyword.other.unit | #00c3ffe1 | italic |
| support.type.property-name.css, meta.property-name.css, meta.property-list.css, source.css, meta.embedded.block.astro, meta.style.astro, meta.scope.tag.style.astro | #c8ff00 | italic |
| support | #00f1fdff | bold |
| support.class.component.tsx, support.class.component.jsx | #00ffbbff | bold |
| support.function | #00FFFB | — |
| support.variable | #7696ffe0 | |
| meta.object-literal.key, support.type.property-name | #c3d900 | bold |
| punctuation.separator.key-value | #00FFFB | — |
| punctuation.section.embedded | #ffc400 | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end | #0bdfe6 | — |
| support.type.property-name.css, support.type.property-name.json | #da71faff | italic bold |
| switch-block.expr.js | #00FFFB | — |
| variable.other.constant.property.js, variable.other.property.js | #00ffc8 | — |
| constant.other.color | #00f7ff | — |
| support.constant.font-name | #bbff00b7 | italic |
| entity.other.attribute-name.id | #2ffff5 | — |
| entity.other.attribute-name.pseudo-element, entity.other.attribute-name.pseudo-class | #2bf5fc | — |
| support.function.misc.css | #fe7f44f5 | — |
| markup.heading, entity.name.section | #9e77fa | — |
| text.html, keyword.operator.assignment | #ffffffee | — |
| markup.quote | #0dc28bcc | italic |
| beginning.punctuation.definition.list | #a9ff53 | — |
| markup.underline.link | #b99101 | — |
| string.other.link.description | #8a6be4 | — |
| meta.function-call.generic.python | #36f9f6 | — |
| variable.parameter.function-call.python | #72f1b8 | — |
| storage.type.cs | #fe4450 | — |
| entity.name.variable.local.cs | #ff7edb | — |
| entity.name.variable.field.cs, entity.name.variable.property.cs | #ff7edb | — |
| constant.other.placeholder.c | #72f1b8 | italic |
| keyword.control.directive.include.c, keyword.control.directive.define.c | #72f1b8 | — |
| storage.modifier.c | #fe4450 | — |
| source.cpp keyword.operator | #fede5d | — |
| constant.other.placeholder.cpp | #72f1b8 | italic |
| keyword.control.directive.include.cpp, keyword.control.directive.define.cpp | #72f1b8 | — |
| storage.modifier.specifier.const.cpp | #fe4450 | — |
| source.elixir support.type.elixir, source.elixir meta.module.elixir entity.name.class.elixir | #36f9f6 | — |
| source.elixir entity.name.function | #7df172 | — |
| source.elixir constant.other.symbol.elixir, source.elixir constant.other.keywords.elixir | #36f9f6 | — |
| source.elixir punctuation.definition.string | #a972f1 | — |
| source.elixir variable.other.readwrite.module.elixir, source.elixir variable.other.readwrite.module.elixir punctuation.definition.variable.elixir | #72f1b8 | — |
| source.elixir .punctuation.binary.elixir | #1a9102 | italic |
| entity.global.clojure | #36f9f6 | bold |
| storage.control.clojure | #36f9f6 | italic |
| meta.metadata.simple.clojure, meta.metadata.map.clojure | #fe4450 | italic |
| meta.quoted-expression.clojure | — | italic |
| meta.symbol.clojure | #8c5aff | — |
| source.go | #ff7edbff | — |
| source.go meta.function-call.go | #36f9f6 | — |
| source.go keyword.package.go, source.go keyword.import.go, source.go keyword.function.go, source.go keyword.type.go, source.go keyword.const.go, source.go keyword.var.go, source.go keyword.map.go, source.go keyword.channel.go, source.go keyword.control.go | #ff00d0 | — |
| source.go storage.type, source.go keyword.struct.go, source.go keyword.interface.go | #72f1b8 | — |
| source.go constant.language.go, source.go constant.other.placeholder.go, source.go variable | #2EE2FA | — |
| markup.underline.link.markdown, markup.inline.raw.string.markdown | #72f1b8 | italic |
| string.other.link.title.markdown | #fede5d | — |
| markup.heading.markdown, entity.name.section.markdown | #005eff | bold |
| markup.italic.markdown | #2EE2FA | italic |
| markup.bold.markdown | #2EE2FA | bold |
| punctuation.definition.quote.begin.markdown, markup.quote.markdown | #72f1b8 | — |
| source.dart, source.python, source.scala | #ff7edbff | — |
| string.interpolated.single.dart | #f97e72 | — |
| variable.parameter.dart | #72f1b8 | — |
| constant.numeric.dart | #2EE2FA | — |
| variable.parameter.scala | #2EE2FA | — |
| meta.template.expression.scala | #72f1b8 | — |
TypeScript sample highlighted with this variant's colors and tokenColors.
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}!`;
}