Rui Color Themes
Publisher: ruixiao85Themes in package: 6
3 color themes: 2 dark & 1 light
3 color themes: 2 dark & 1 light
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 | #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 |
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}!`;
}