Rui Color Themes
3 color themes: 2 dark & 1 light
3 color themes: 2 dark & 1 light
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 | #1699ff | italic |
| constant | #ff9fbb | — |
| entity | #ffc600 | — |
| invalid | #f44542 | — |
| storage.type.function | #ffa105 | — |
| keyword, storage.type.class, keyword.control.default.ts | #ffa105 | — |
| meta | #83e3e3 | — |
| meta.scope.target, entity.name.function.target | #ffc600 | — |
| meta.jsx.children, meta.jsx.children.js, meta.jsx.children.tsx | #e0e0e0 | — |
| meta.brace | #e0e0e0 | — |
| punctuation | #e0e0e0 | — |
| punctuation.definition.parameters | #ffee80 | — |
| punctuation.definition.template-expression | #ffee80 | — |
| storage | #ffc600 | — |
| storage.type.function.arrow | #ffc600 | — |
| string, punctuation.definition.string | #91e585 | — |
| string.template, punctuation.definition.string.template | #3ad900 | — |
| support | #79fdbc | — |
| support.function | #ffa105 | — |
| support.variable.property.dom | #e0e0e0 | — |
| variable | #e0e0e0 | — |
| source.css entity, source.stylus entity | #3ad900 | — |
| entity.other.attribute-name.id.css | #FFB454 | — |
| entity.name.tag | #83e3e3 | — |
| source.css support, source.stylus support | #91e585 | — |
| source.css constant, source.css support.constant, source.stylus constant, source.stylus support.constant | #ffee80 | — |
| source.css string, source.css punctuation.definition.string, source.stylus string, source.stylus punctuation.definition.string | #ffee80 | — |
| source.css variable, source.stylus variable | #83e3e3 | — |
| text.html.basic entity.name | #83e3e3 | — |
| meta.toc-list.id.html | #91e585 | — |
| text.html.basic entity.other | #ffc600 | italic |
| meta.tag.metadata.script.html entity.name.tag.html | #ffc600 | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #92fc79 | — |
| source.ini entity | #e0e0e0 | — |
| source.ini keyword | #ffc600 | — |
| source.ini punctuation.definition | #ffee80 | — |
| source.ini punctuation.separator | #ffa105 | — |
| source.js storage.type.function, source.ts storage.type.function | #fb94ff | — |
| variable.language, entity.name.type.class.js | #fb94ff | — |
| entity.other.inherited-class.js | #ccc | — |
| variable.parameter.function.language.special.self.python | #fb94ff | — |
| source.json support | #ffc600 | — |
| source.json string, source.json punctuation.definition.string | #e0e0e0 | — |
| punctuation.definition.heading.markdown | #e0e0e0 | — |
| entity.name.section.markdown, markup.heading.setext.1.markdown, markup.heading.setext.2.markdown | #ffc600 | bold |
| meta.paragraph.markdown | #e0e0e0 | — |
| beginning.punctuation.definition.quote.markdown | #ffc600 | — |
| markup.quote.markdown meta.paragraph.markdown | #83e3e3 | italic |
| meta.separator.markdown | #ffc600 | — |
| markup.bold.markdown | #83e3e3 | bold |
| markup.italic.markdown | #83e3e3 | italic |
| markup.strikethrough.markdown | #83e3e3 | italic |
| beginning.punctuation.definition.list.markdown | #ffc600 | — |
| string.other.link.title.markdown | #91e585 | — |
| string.other.link.title.markdown, string.other.link.description.markdown, string.other.link.description.title.markdown | #91e585 | — |
| markup.underline.link.markdown, markup.underline.link.image.markdown | #83e3e3 | — |
| fenced_code.block.language, markup.inline.raw.markdown | #83e3e3 | — |
| fenced_code.block.language, markup.inline.raw.markdown | #83e3e3 | — |
| text.jade entity.name | #83e3e3 | — |
| text.jade entity.other.attribute-name.tag | — | italic |
| text.jade string.interpolated | #ffee80 | — |
| source.ts entity.name.type | #79fdbc | — |
| source.ts keyword | #ffc600 | — |
| source.ts punctuation.definition.parameters | #e0e0e0 | — |
| meta.arrow.ts punctuation.definition.parameters | #ffee80 | — |
| source.php entity | #83e3e3 | — |
| variable.other.php | #ffc600 | — |
| storage.type.cs | #83e3e3 | — |
| entity.name.variable.property.cs | #83e3e3 | — |
| storage.modifier.cs | #79fdbc | — |
| modifier, this, comment, storage, constant.language, keyword.control, keyword.operator.expression, keyword.other, keyword.operator.new, variable.language, entity.other.attribute-name | — | italic |
| variable.parameter | #d9d67d | — |
| variable.function, entity.name.function, meta.function-call | #83e3e3 | — |
| keyword.control.export | #ffa105 | italic |
| meta.return.type.ts | #ff0088 | italic |
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 | #80918c | italic |
| entity.name.type | #e5c07b | — |
| entity.other.inherited-class | #98c379 | — |
| keyword | #c678dd | — |
| keyword.control | #c678dd | — |
| keyword.operator | #c6c6c6 | — |
| keyword.operator.new | #c678dd | — |
| keyword.operator.expression | #c678dd | — |
| keyword.operator.cast | #c678dd | — |
| keyword.operator.sizeof | #c678dd | — |
| keyword.operator.instanceof | #c678dd | — |
| keyword.other.special-method | #61afef | — |
| keyword.other.unit | #dda666 | — |
| storage | #c678dd | — |
| storage.type.annotation | #c678dd | — |
| storage.type.primitive | #c678dd | — |
| storage.modifier.package | #c678dd | — |
| storage.modifier.import | #c678dd | — |
| constant | #dda666 | — |
| constant.variable | #dda666 | — |
| constant.character.escape | #56b6c2 | — |
| constant.numberic | #d2657c | — |
| constant.other.color | #56b6c2 | — |
| constant.other.symbol | #56b6c2 | — |
| variable | #bbc081 | — |
| variable.interpolation | #be5046 | — |
| variable.parameter | #c6c6c6 | — |
| variable.other.constant | #dda666 | — |
| string | #98c379 | — |
| string source | #c6c6c6 | — |
| string.embedded | #c6c6c6 | — |
| string.regexp | #56b6c2 | — |
| string.regexp keyword.operator | #56b6c2 | — |
| string.regexp keyword.other | #56b6c2 | — |
| string.regexp punctuation.definition.string | #98c379 | — |
| string.other.link | #61afef | — |
| punctuation.definition.comment | #5c6370 | — |
| punctuation.definition.typeparameters | #c6c6c6 | — |
| punctuation.definition.parameters | #c6c6c6 | — |
| punctuation.definition.separator | #c6c6c6 | — |
| punctuation.separator | #c6c6c6 | — |
| punctuation.terminator | #c6c6c6 | — |
| punctuation.definition.heading | #e06c75 | — |
| punctuation.definition.identity | #61afef | — |
| punctuation.definition.bold | #e5c07b | bold |
| punctuation.definition.italic | #c678dd | italic |
| punctuation.definition.template-expression | #be5046 | — |
| punctuation.section.embedded | #be5046 | — |
| punctuation.section.method | #c6c6c6 | — |
| punctuation.section.class | #c6c6c6 | — |
| punctuation.section.inner-class | #c6c6c6 | — |
| support.class | #e5c07b | — |
| support.type | #56b6c2 | — |
| support.function | #56b6c2 | — |
| support.function.any-method | #61afef | — |
| support.variable | #e06c75 | — |
| support.constant | #dda666 | — |
| entity.name.function | #61afef | — |
| entity.name.class | #e5c07b | — |
| entity.name.type.class | #e5c07b | — |
| entity.name.tag | #e06c75 | — |
| entity.name.section.group-title | #61afef | — |
| entity.other.attribute-name | #dda666 | — |
| entity.other.attribute-name.id | #61afef | — |
| meta.class | #e5c07b | — |
| meta.class.body | #c6c6c6 | — |
| meta.method-call | #c6c6c6 | — |
| meta.method | #c6c6c6 | — |
| meta.function-call | #c6c6c6 | — |
| meta.function | #c6c6c6 | — |
| meta.definition.variable | #e06c75 | — |
| meta.require | #61afef | — |
| meta.selector | #c678dd | — |
| meta.brace | #c6c6c6 | — |
| meta.separator | #c6c6c6 | — |
| meta.tag | #c6c6c6 | — |
| meta.field | #c6c6c6 | — |
| invalid.deprecated | #523d14 | — |
| invalid.illegal | #e05252 | — |
| markup.bold | #dda666 | bold |
| markup.changed | #c678dd | — |
| markup.deleted | #e06c75 | — |
| markup.italic | #c678dd | italic |
| markup.strikethrough | #e05252 | italic |
| markup.heading | #e06c75 | — |
| markup.underline.link | #56b6c2 | — |
| markup.inserted | #98c379 | — |
| markup.quoted | #dda666 | — |
| markup.inline.raw | #98c379 | — |
| source.c keyword.operator | #c678dd | — |
| source.cpp keyword.operator | #c678dd | — |
| source.cs keyword.operator | #c678dd | — |
| source.css meta.property-name | #828997 | — |
| source.css meta.property-value | #828997 | — |
| source.css support.type.property-name | #c6c6c6 | — |
| source.css support.constant.property-value | #c6c6c6 | — |
| source.elixir source.embedded.source | #c6c6c6 | — |
| source.elixir constant.language | #61afef | — |
| source.elixir constant.numeric | #61afef | — |
| source.elixir constant.definition | #61afef | — |
| source.elixir variable.definition | #c678dd | — |
| source.elixir variable.anonymous | #c678dd | — |
| source.elixir parameter.variable.function | #dda666 | italic |
| source.elixir string.quoted | #98c379 | — |
| source.elixir keyword.special-method | #e06c75 | — |
| source.elixir embedded.section | #e06c75 | — |
| source.elixir embedded.source.empty | #e06c75 | — |
| source.elixir variable.other.readwrite.module punctuation | #e06c75 | — |
| source.elixir regexp.section | #be5046 | — |
| source.elixir regexp.string | #be5046 | — |
| source.elixir punctuation.separator | #dda666 | — |
| source.elixir keyword.operator | #dda666 | — |
| source.elixir variable.constant | #e5c07b | — |
| source.elixir punctuation.array | #828997 | — |
| source.elixir punctuation.scope | #828997 | — |
| source.elixir punctuation.section | #828997 | — |
| source.gfm link entity | #61afef | — |
| source.go storage.type.string | #c678dd | — |
| source.ini keyword.other.definition.ini | #e06c75 | — |
| source.java storage.modifier.import | #e5c07b | — |
| source.java storage.type | #e5c07b | — |
| source.java-properties meta.key-pair | #e06c75 | — |
| source.java-properties meta.key-pair punctuation | #c6c6c6 | — |
| source.json support.type.property-name | #e06c75 | — |
| source.json constant.language.json | #56b6c2 | — |
| source.php class.bracket | #c6c6c6 | — |
| source.python keyword.operator.logical.python | #c678dd | — |
| source.python variable.parameter | #dda666 | — |
| source.ruby constant.other.symbol punctuation | #56b6c2 | — |
| text.xml punctuation.separator.namespace | #dda666 | — |
| markup.quote | #5c6370 | italic |
| punctuation.definition.list.begin.markdown | #e06c75 | — |
| variable.function, entity.name.function, meta.function-call | #61afef | — |
| constant.language, storage, keyword.control, keyword.operator.expression, keyword.other, keyword.operator.new, variable.language, entity.other.attribute-name | — | italic |
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 | #87988e | — |
| punctuation | #e0e0e0 | — |
| punctuation.definition.heading, punctuation.definition.list | #ee7766 | — |
| keyword | #c396f5 | — |
| storage | #d797e0 | — |
| constant | #ee9999 | — |
| variable, meta.function-call.arguments | #a6d187 | — |
| string | #6ed183 | — |
| support | #ddb081 | — |
| entity | #e8c988 | — |
| support.function, meta.function-call, entity.name.tag | #44bec6 | — |
| variable.language.special, variable.parameter.function.language.special | #cdcc84 | — |
| meta | #cecdcc | — |
| markup | #48acee | — |
| markup.bold, markup.heading | — | bold |
| markup.italic | — | italic |
| comment, keyword, storage, entity.name, modifier, this, variable.language.special, variable.parameter.function.language.special | — | italic |
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 | #406545 | — |
| punctuation | #343434 | — |
| punctuation.definition.heading, punctuation.definition.list | #c06000 | — |
| entity | #ab2624 | — |
| variable.language.special, variable.parameter.function.language.special | #932716 | — |
| variable, meta.function-call.arguments | #812902 | — |
| constant | #184400 | — |
| string | #015219 | — |
| meta | #242424 | — |
| support | #1e419d | — |
| support.function, meta.function-call, entity.name.tag | #3635b5 | — |
| keyword | #7319b9 | — |
| storage | #ab238a | — |
| markup | #014284 | — |
| entity, markup.bold, markup.heading | — | bold |
| markup.italic | — | italic |
| comment, keyword, storage, entity.name, constant, variable.language.special, variable.parameter.function.language.special | — | italic |
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}!`;
}
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}!`;
}