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 | #5f8466 | italic |
| keyword | #a626a4 | — |
| keyword.control | #a626a4 | — |
| keyword.operator | #383a42 | — |
| keyword.operator.new | #a626a4 | — |
| keyword.operator.expression | #a626a4 | — |
| keyword.operator.cast | #a626a4 | — |
| keyword.operator.sizeof | #a626a4 | — |
| keyword.operator.instanceof | #a626a4 | — |
| keyword.other.special-method | #2945d1 | — |
| keyword.other.unit | #986806 | — |
| storage | #a626a4 | — |
| storage.type.annotation | #a626a4 | — |
| storage.type.primitive | #a626a4 | — |
| storage.modifier.package | #a626a4 | — |
| storage.modifier.import | #a626a4 | — |
| constant | #986806 | — |
| constant.variable | #986806 | — |
| constant.character.escape | #067fb2 | — |
| constant.numberic | #d2657c | — |
| constant.other.color | #067fb2 | — |
| constant.other.symbol | #067fb2 | — |
| variable | #ce4e42 | — |
| variable.interpolation | #ca1243 | — |
| variable.parameter | #383a42 | — |
| variable.other.constant | #986806 | — |
| string | #19881f | — |
| string source | #383a42 | — |
| string.embedded | #383a42 | — |
| string.regexp | #067fb2 | — |
| string.regexp keyword.operator | #067fb2 | — |
| string.regexp keyword.other | #067fb2 | — |
| string.regexp punctuation.definition.string | #19881f | — |
| string.other.link | #2945d1 | — |
| punctuation.definition.comment | #5f8466 | — |
| punctuation.definition.typeparameters | #383a42 | — |
| punctuation.definition.parameters | #383a42 | — |
| punctuation.definition.separator | #383a42 | — |
| punctuation.separator | #383a42 | — |
| punctuation.terminator | #383a42 | — |
| punctuation.definition.heading | #ce4e42 | — |
| punctuation.definition.identity | #2945d1 | — |
| punctuation.definition.bold | #dd4214 | bold |
| punctuation.definition.italic | #a626a4 | italic |
| punctuation.definition.template-expression | #ca1243 | — |
| punctuation.section.embedded | #ca1243 | — |
| punctuation.section.method | #383a42 | — |
| punctuation.section.class | #383a42 | — |
| punctuation.section.inner-class | #383a42 | — |
| support.class | #dd4214 | — |
| support.type | #067fb2 | — |
| support.function | #067fb2 | — |
| support.function.any-method | #2945d1 | — |
| support.variable | #ce4e42 | — |
| support.constant | #986806 | — |
| entity.name.function | #2945d1 | — |
| entity.name.type | #dd4214 | — |
| entity.name.class | #dd4214 | — |
| entity.name.tag | #ce4e42 | — |
| entity.name.section.group-title | #2945d1 | — |
| entity.other.attribute-name | #986806 | — |
| entity.other.attribute-name.id | #2945d1 | — |
| meta.class | #dd4214 | — |
| meta.class.body | #383a42 | — |
| meta.method-call | #383a42 | — |
| meta.method | #383a42 | — |
| meta.function-call | #383a42 | — |
| meta.function | #383a42 | — |
| meta.definition.variable | #ce4e42 | — |
| meta.require | #2945d1 | — |
| meta.selector | #a626a4 | — |
| meta.brace | #383a42 | — |
| meta.separator | #383a42 | — |
| meta.tag | #383a42 | — |
| meta.field | #383a42 | — |
| invalid.deprecated | #000000 | — |
| invalid.illegal | #f03434 | — |
| markup.bold | #986806 | bold |
| markup.strikethrough | #f03434 | bold |
| markup.changed | #a626a4 | — |
| markup.deleted | #ce4e42 | — |
| markup.italic | #a626a4 | italic |
| markup.heading | #ce4e42 | — |
| markup.underline.link | #067fb2 | — |
| markup.inserted | #19881f | — |
| markup.quoted | #986806 | — |
| markup.inline.raw | #19881f | — |
| source.c keyword.operator | #a626a4 | — |
| source.cpp keyword.operator | #a626a4 | — |
| source.cs keyword.operator | #a626a4 | — |
| source.css meta.property-name | #696c77 | — |
| source.css meta.property-value | #696c77 | — |
| source.css support.type.property-name | #383a42 | — |
| source.css support.constant.property-value | #383a42 | — |
| source.elixir source.embedded.source | #383a42 | — |
| source.elixir constant.language | #2945d1 | — |
| source.elixir constant.numeric | #2945d1 | — |
| source.elixir constant.definition | #2945d1 | — |
| source.elixir variable.definition | #a626a4 | — |
| source.elixir variable.anonymous | #a626a4 | — |
| source.elixir parameter.variable.function | #986806 | italic |
| source.elixir string.quoted | #19881f | — |
| source.elixir keyword.special-method | #ce4e42 | — |
| source.elixir embedded.section | #ce4e42 | — |
| source.elixir embedded.source.empty | #ce4e42 | — |
| source.elixir variable.other.readwrite.module punctuation | #ce4e42 | — |
| source.elixir regexp.section | #ca1243 | — |
| source.elixir regexp.string | #ca1243 | — |
| source.elixir punctuation.separator | #986806 | — |
| source.elixir keyword.operator | #986806 | — |
| source.elixir variable.constant | #dd4214 | — |
| source.elixir punctuation.array | #696c77 | — |
| source.elixir punctuation.scope | #696c77 | — |
| source.elixir punctuation.section | #696c77 | — |
| source.gfm link entity | #2945d1 | — |
| source.go storage.type.string | #a626a4 | — |
| source.ini keyword.other.definition.ini | #ce4e42 | — |
| source.java storage.modifier.import | #dd4214 | — |
| source.java storage.type | #dd4214 | — |
| source.java-properties meta.key-pair | #ce4e42 | — |
| source.java-properties meta.key-pair punctuation | #383a42 | — |
| source.json support.type.property-name | #ce4e42 | — |
| source.json constant.language.json | #067fb2 | — |
| source.php class.bracket | #383a42 | — |
| source.python keyword.operator.logical.python | #a626a4 | — |
| source.python variable.parameter | #986806 | — |
| source.ruby constant.other.symbol punctuation | #067fb2 | — |
| text.xml punctuation.separator.namespace | #986806 | — |
| markup.quote | #5f8466 | italic |
| punctuation.definition.list.begin.markdown | #ce4e42 | — |
| variable.function, entity.name.function, meta.function-call | #2945d1 | — |
| 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}!`;
}