Rouge Theme
Publisher: josefThemes in package: 3
Warm and cozy dark theme for VSCode
Warm and cozy dark theme for VSCode
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, unused.comment, wildcard.comment | #5D5D6B | italic |
| constant | #F0B7A7 | — |
| entity, entity.name.function | #D7A1A5 | — |
| entity.name | #C6797E | — |
| entity.name.type | #D7A1A5 | — |
| invalid | — | — |
| keyword | #8283A1 | italic |
| keyword.operator | #8283A1 | regular |
| keyword.operator.new | — | italic |
| variable.language.this | — | italic |
| meta.object-literal.key | #A2A3AA | — |
| meta.function.expression | #8283A1 | — |
| variable | #C6797E | — |
| support | #DBCDABe5 | — |
| support.function | #D7A1A5 | — |
| support.variable | #C6797E | — |
| support.variable | #DBCDABe5 | — |
| punctuation | #8283A1 | — |
| punctuation.definition | #8283A1 | — |
| meta.brace | #8283A1 | — |
| punctuation.accessor | #8283A1 | — |
| punctuation.terminator | #8283A1 | — |
| punctuation.separator | #8283A1 | — |
| entity.other.attribute-name | #DBCDABe5 | italic |
| entity.name.tag, entity.name.tag.other.html | #C6797E | — |
| text.html meta.element.metadata.svg | #A2A3AA | — |
| support.type.property-name.json | #A2A3AA | — |
| source.shell | #A2A3AA | — |
| storage | #8283A1 | italic |
| storage.type.function.arrow | #8283A1 | regular |
| string, punctuation.definition.string | #969E92 | — |
| variable.parameter, meta.parameter | #DB6375 | — |
| support.type.property-name.css, support.type.property-name.scss | #A2A3AA | — |
| support.constant.property-value.css, meta.property-value.css, source.css support.constant, source.css keyword.other.unit | #969E92 | none |
| punctuation.definition.constant.css | #969E92 | none |
| entity.name.tag.css | #C6797E | — |
| entity.other.attribute-name.class.css | #DBCDABe5 | none |
| source.css support | #A2A3AA | — |
| source.yaml entity.name.tag | #C6797E | — |
| punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, meta.scope.between-tag-pair.html | #5D5D6B | — |
| punctuation.definition.tag.xml, punctuation.definition.tag.begin.xml, punctuation.definition.tag.end.xml, meta.scope.between-tag-pair.xml | #5D5D6B | — |
| entity.other.attribute-name.localname.xml, text.xml entity.other | #DBCDABe5 | italic |
| text.xml entity.name | #C6797E | — |
| meta.object-literal.key | #A2A3AA | — |
| source.js entity.name.tag.js, source.jsx entity.name.tag.js, entity.name.tag.js | #C6797E | — |
| source.js support.class.component, source.jsx support.class.component, support.class.component.js | #D7A1A5 | — |
| source.js punctuation.definition.tag.begin, source.js punctuation.definition.tag.end, source.jsx punctuation.definition.tag.begin, source.jsx punctuation.definition.tag.end, punctuation.definition.tag.begin.js, punctuation.definition.tag.end.js | #5D5D6B | — |
| source.js entity.other.attribute-name, source.jsx entity.other.attribute-name, entity.other.attribute-name.js meta.tag.attributes.js, entity.other.attribute-name.js | #DBCDABe5 | italic |
| source.js meta.jsx.children meta.object-literal.key, source.jsx meta.jsx.children meta.object-literal.key | #A2A3AA | — |
| source.js meta.tag variable.other.readwrite, source.jsx meta.tag variable.other.readwrite | #C6797E | — |
| source.js meta.jsx.children, source.jsx meta.jsx.children | #A2A3AA | — |
| source.svelte entity.name.tag | #C6797E | — |
| support.class.component.svelte | #D7A1A5 | — |
| entity.name.section.markdown, markup.heading.setext.1.markdown, markup.heading.setext.2.markdown | #B26D71 | bold |
| meta.paragraph.markdown | #A2A3AA | — |
| markup.quote.markdown meta.paragraph.markdown | — | italic |
| markup.inline.raw.string.markdown | #969E92 | — |
| markup.bold.markdown, markup.bold.markdown punctuation.definition.bold.markdown | — | bold |
| markup.italic.markdown | — | italic |
| string.other.link.title.markdown, string.other.link.description.markdown, string.other.link.description.title.markdown | #D7A1A5 | — |
| markup.underline.link.markdown, markup.underline.link.image.markdown | #74888C | — |
| meta.paragraph.markdown meta.other | #A2A3AA | — |
| markup.error | #C55969d8 | — |
| markup.inserted | #969E92 | — |
| markup.deleted | #C55969d8 | — |
| markup.changed | #DBCDABe5 | — |
TypeScript sample highlighted with this variant's colors and tokenColors.
Loading...
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}!`;
}