Rainier
Publisher: joytrekkerThemes in package: 3
A dark and refreshing syntax theme for Visual Studio Code.
A dark and refreshing syntax theme for Visual Studio Code.
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 |
|---|---|---|
| constant | #9d79d8 | — |
| comment, string.quoted.docstring.multi.python | #73648b | — |
| entity.name.type.class, support.class | #37c2b6 | — |
| meta.function-call.generic, support.type.python, entity.name.function | #509ddb | — |
| invalid | #dd518c | — |
| keyword | #dd518c | — |
| storage.type.class.js | #509DDB | — |
| entity.name.type, support.type | #37c2b6 | — |
| meta | #b9d3e9 | — |
| meta.brace | #b9d3e9 | — |
| punctuation.definition.parameters | #b9d3e9 | — |
| entity.name.variable.parameter, meta.at-rule.function variable, meta.at-rule.mixin variable, meta.function.arguments, meta.function.parameter variable.other, meta.selectionset.graphql meta.arguments.graphql variable.arguments.graphql, variable.parameter | #d6af78 | italic |
| punctuation.definition.template-expression | #509ddb | — |
| storage | #c693da | — |
| storage.type.function.arrow | #509DDB | — |
| string, source.json string, punctuation.definition.string | #c9c994 | — |
| string.template, punctuation.definition.string.template | #509ddb | — |
| support.function | #509ddb | — |
| support.class.component.js | #509DDB | — |
| support.class.component.html | #c693da | — |
| support.variable.property.dom | #b9d3e9 | — |
| variable | #b9d3e9 | — |
| source.css, source.stylus, source.scss, entity.other.attribute-name.class.css | #509ddb | — |
| constant.other.color.rgb-value.hex.css | #dd518c | — |
| support.type.property-name.css | #b9d3e9 | — |
| keyword.other.important.scss | #dd518c | — |
| support.function.misc.scss | #b9d3e9 | — |
| entity.other.attribute-name.id.css | #9d79d8 | — |
| entity.name.tag.css | #509ddb | — |
| source.css support, source.stylus support | #b9d3e9 | — |
| source.css constant, source.css support.constant, source.stylus constant, source.stylus support.constant | #dd518c | — |
| support.constant.property-value.css | #c9c994 | — |
| constant.other.color.rgb-value.hex.css | #c9c994 | — |
| source.css punctuation.definition.string, source.css string, source.stylus punctuation.definition.string, source.stylus string | #c9c994 | — |
| source.css variable, source.stylus variable | #c693da | — |
| entity.other.attribute-name.css | #d6af78 | — |
| entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css | #c693da | — |
| entity.other | #37c2b6 | — |
| text.html.basic | #b9d3e9 | — |
| toc-list.id.html | #509ddb | — |
| entity.name.tag.block.any.html, entity.name.tag.inline.any.html, entity.name.tag.structure.any.html, entity.name.tag.html, meta.tag.js, meta.jsx.children.tsx, meta.tag.js, meta.jsx.children.tsx, meta.tag.js | #b9d3e9 | — |
| entity.name.tag.other.html | #c693da | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #509ddb | — |
| variable.language, entity.name.type.class.js | #c693da | — |
| entity.other.inherited-class.js, variable.language.this.js, variable.other.readwrite.alias.js, meta.import.js | #c693da | italic |
| variable.language.this.php | #c693da | italic |
| storage.type.function.python | #c693da | — |
| source.json string, source.json punctuation.definition.string | #c9c994 | — |
| punctuation.definition.string.end.json, punctuation.definition.string.begin.json | #509ddb | — |
| token.info-token | #509ddb | — |
| token.warn-token | #d6af78 | — |
| token.error-token | #dd518c | — |
| token.debug-token | #c693da | — |
| keyword.control, punctuation.section.embedded.begin , punctuation.section.embedded.end | #dd518c | — |
| constant.character.format.placeholder.other.python | #c693da | — |
| constant.character.escape.python | #509ddb | — |
| entity.name.tag.css | #37c2b6 | — |
| entity.other.attribute-name.class.css | #509ddb | — |
| keyword.other.unit.deg.css, keyword.other.unit.ms.css, keyword.other.unit.percentage.css, keyword.other.unit.px.css, keyword.other.unit.s.css, keyword.other.unit.vh.css, keyword.other.unit.vw.css | #dd518c | — |
| markup.list.unnumbered.markdown, markup.list.numbered.markdown | #dd518c | — |
| markup.bold.markdown, markup.italic.markdown, markup.fenced_code.block.markdown, markup.inline.raw.string.markdown, meta.separator.markdown | #9d79d8 | — |
| entity.name.section.markdown, punctuation.definition.heading.markdown, punctuation.definition.raw.markdown | #37c2b6 | — |
| markup.raw.block.markdown | #d6af78 | — |
| markup.underline.link.markdown, markup.underline.link.image.markdown | #509ddb | — |
| support.type.property-name.json.comments, support.type.property-name.json | #509ddb | — |
| entity.name.tag.block.any.html, entity.name.tag.html, entity.name.tag.inline.any.html, entity.name.tag.structure.any.html, entity.name.tag.js, entity.name.tag.template, entity.name.tag.script, entity.name.tag.style | #509ddb | — |
| markup.bold | — | bold |
| markup.heading | — | bold |
| markup.italic | — | italic |
| source.css constant | #9d79d8 | — |
| entity.name.tag.yaml, entity.name.tag.localname.xml | #509ddb | — |
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}!`;
}