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, 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 |
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}!`;
}