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 |
|---|---|---|
| — | #bbb | — |
| comment, punctuation.definition.comment, unused.comment, wildcard.comment | #64727d | italic |
| constant | #eabe9a | — |
| entity | #F7E3AF | — |
| invalid | #bbb | — |
| keyword | #b18bb1 | italic |
| keyword.operator | #D0D6B5 | regular |
| keyword.operator.new | #D0D6B5 | italic |
| variable.language.this | — | italic |
| meta | #DB6E8F | — |
| meta.brace | #D0D6B5 | — |
| punctuation | #D0D6B5 | — |
| punctuation.definition.template-expression, punctuation.definition.template-expression.begin.js, punctuation.definition.template-expression.begin.ts, punctuation.definition.template-expression.end.ts, punctuation.definition.template-expression.end.js | #D0D6B5 | — |
| storage | #b18bb1 | italic |
| storage.type.function.arrow | #b18bb1 | regular |
| string, punctuation.definition.string | #A3B09A | — |
| support | #F7E3AF | — |
| support.variable.property | #DB6E8F | — |
| support.function, entity.name.function | #F9B5AC | — |
| variable | #C6878F | — |
| variable.other.property, variable.other.object.property | #DB6E8F | — |
| variable.parameter | #DB6E8F | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #D0D6B5 | — |
| comment.block.documentation storage, comment.block.documentation variable, comment.block.documentation punctuation, comment.block.documentation meta | #64727d | — |
| meta.object-literal.key entity, meta.object-literal.key | #bbb | — |
| source.css entity, source.stylus entity | #eabe9a | — |
| entity.other.attribute-name.id.css, entity.other.attribute-name.id.css punctuation.definition.entity.css | #eabe9a | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.class.css punctuation.definition.entity.css | #eabe9a | — |
| entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-class.css punctuation.definition.entity.css | #eabe9a | — |
| entity.name.tag | #DB6E8F | — |
| source.css support, source.stylus support | #bbb | — |
| source.css support.constant.media, source.stylus support.constant.media | #D0D6B5 | — |
| entity.other.attribute-name.pseudo-class.css punctuation.definition.entity.css, entity.other.attribute-name.id.css punctuation.definition.entity.css, entity.other.attribute-name.class.css punctuation.definition.entity.css | #D0D6B5 | — |
| source.css constant, source.css support.constant, source.stylus constant, source.stylus support.constant | #A3B09A | — |
| source.css constant.numeric, source.stylus constant.numeric | #F9B5AC | — |
| source.css keyword.other.unit, source.stylus keyword.other.unit | #A3B09A | regular |
| source.css string, source.css punctuation.definition.string, source.stylus string, source.stylus punctuation.definition.string | #A3B09A | — |
| punctuation.definition.keyword | #b18bb1 | — |
| meta.property-value.css, source.stylus meta.property-value | #A3B09A | — |
| source.css variable, source.stylus variable | #C6878F | — |
| source.css variable.parameter.url, source.stylus variable.parameter.url | #A3B09A | — |
| meta.property-list.scss, meta.property-list.css | #bbb | — |
| meta.property-value.scss, meta.property-value.less | #A3B09A | — |
| source.css meta.at-rule.keyframes, source.css meta.at-rule.mixin, source.css meta.property-list | #D0D6B5 | — |
| meta.at-rule.each.scss | #D0D6B5 | — |
| text.html.basic entity.name, text.html.basic meta.tag.sgml | #DB6E8F | — |
| meta.toc-list.id.html | #A3B09A | — |
| text.html entity.other, entity.other.attribute-name.html | #F7E3AF | italic |
| punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, meta.scope.between-tag-pair.html | #808080 | — |
| text.html.basic meta.tag | #bbb | — |
| constant.name.attribute.tag.jade, args.mixin.jade, string.interpolated.jade, text.jade meta.tag.other, text.jade constant | #D0D6B5 | — |
| entity.other.attribute-name.tag.jade | — | italic |
| entity.other.attribute-name.class.jade, entity.other.attribute-name.id.jade | #eabe9a | — |
| punctuation.definition.tag.xml, punctuation.definition.tag.begin.xml, punctuation.definition.tag.end.xml, meta.scope.between-tag-pair.xml | #808080 | — |
| meta.tag.xml, meta.tag.preprocessor.xml | #bbb | — |
| entity.other.attribute-name.localname.xml | — | italic |
| source.js support.class.component, source.jsx support.class.component | #DB6E8F | — |
| source.js entity.other.attribute-name, source.jsx entity.other.attribute-name | #F7E3AF | italic |
| source.js meta.jsx.children meta.object-literal.key, source.jsx meta.jsx.children meta.object-literal.key | #bbb | — |
| source.js meta.tag variable.other.readwrite, source.jsx meta.tag variable.other.readwrite | #C6878F | — |
| punctuation.definition.tag.begin.js, punctuation.definition.tag.end.js | #808080 | — |
| source.js meta.jsx.children, source.jsx meta.jsx.children | #bbb | — |
| keyword.operator.expression.typeof.js, keyword.operator.expression.instanceof.js | #D0D6B5 | italic |
| meta.embedded.block.json | #D0D6B5 | — |
| source.json support, support.json | #bbb | — |
| support.type.property-name.json | #bbb | — |
| source.json string.json, source.json punctuation.definition.string.json | #A3B09A | — |
| punctuation.definition.heading.markdown | #D0D6B5 | — |
| entity.name.section.markdown, markup.heading.setext.1.markdown, markup.heading.setext.2.markdown | #DB6E8F | bold |
| meta.paragraph.markdown | #bbb | — |
| meta.paragraph.markdown meta.other | #bbb | — |
| beginning.punctuation.definition.quote.markdown | #D0D6B5 | — |
| markup.quote.markdown meta.paragraph.markdown | #A3B09A | italic |
| meta.separator.markdown | #D0D6B5 | — |
| markup.fenced_code.block.markdown | #bbb | — |
| markup.inline.raw.string.markdown | #D0D6B5 | — |
| markup.bold.markdown, markup.bold.markdown punctuation.definition.bold.markdown | #bbb | bold |
| markup.italic.markdown | — | italic |
| beginning.punctuation.definition.list.markdown | #DB6E8F | — |
| string.other.link.title.markdown | #F9B5AC | — |
| string.other.link.title.markdown, string.other.link.description.markdown, string.other.link.description.title.markdown | #F9B5AC | — |
| markup.underline.link.markdown, markup.underline.link.image.markdown | #7ea9a9 | — |
| fenced_code.block.language, markup.inline.raw.markdown | #A3B09A | — |
| fenced_code.block.language, markup.inline.raw.markdown | #A3B09A | — |
| constant.other.database-name.sql | #bbb | — |
| constant.other.table-name.sql | #bbb | — |
| markup.error | #CC565EDF | — |
| markup.inserted | #9BBA9A | — |
| markup.deleted | #CC565EDF | — |
| markup.changed | #FFB86C | — |
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}!`;
}