NeoRose-VimPine
Publisher: rexcorThemes in package: 1
NeoVim Rose Pine theme port for vscode
NeoVim Rose Pine theme port 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, comment.block.documentation.js | #6e6a86 | italic |
| text, source, variable.other.readwrite, punctuation.definition.variable | #e0def4 | — |
| punctuation | #908caa | |
| string, punctuation.definition.string | #f6c177 | — |
| constant.character.escape | #31748f | — |
| variable.other.constant, entity.name.constant, constant.language.boolean, constant.language.false, constant.language.true, keyword.other.unit.user-defined, keyword.other.unit.suffix.floating-point | #ebbcba | — |
| constant.numeric | #ea9a97 | — |
| keyword, keyword.operator.word, keyword.operator.new, variable.language.super, storage.type, storage.modifier, punctuation.definition.keyword | #31748f | |
| entity.name.tag.documentation | #cba6f7 | — |
| keyword.operator, punctuation.accessor, punctuation.definition.generic, meta.function.closure punctuation.section.parameters, punctuation.definition.tag, punctuation.separator.key-value | #908caa | — |
| entity.name.function, meta.function-call.method, support.function, support.function.misc, variable.function | #ebbcba | |
| entity.name.class, entity.other.inherited-class, support.class, meta.function-call.constructor, entity.name.struct | #9ccfd8 | |
| entity.name.enum | #9ccfd8 | italic |
| meta.enum variable.other.readwrite, variable.other.enummember | #908caa | — |
| meta.property.object | #9ccfd8 | — |
| meta.type, meta.type-alias, support.type, entity.name.type | #9ccfd8 | italic |
| meta.annotation variable.function, meta.annotation variable.annotation.function, meta.annotation punctuation.definition.annotation, meta.decorator, punctuation.decorator | #9ccfd8 | — |
| variable.parameter, meta.function.parameters | #c4a7e7 | |
| constant.language, support.function.builtin | #ebbcba | — |
| entity.other.attribute-name.documentation | #c4a7e7 | — |
| keyword.control.directive, punctuation.definition.directive | #9ccfd8 | — |
| punctuation.definition.typeparameters | #9CCFD8 | — |
| entity.name.namespace | #9ccfd8 | — |
| support.type.property-name.css | #9ccfd8 | |
| variable.language.this, variable.language.this punctuation.definition.variable | #eb6f92 | — |
| variable.object.property | #9ccfd8 | — |
| string.template variable, string variable | #9ccfd8 | — |
| keyword.operator.new | #908caa | bold |
| storage.modifier.specifier.extern.cpp | #9ccfd8 | — |
| entity.name.scope-resolution.template.call.cpp, entity.name.scope-resolution.parameter.cpp, entity.name.scope-resolution.cpp, entity.name.scope-resolution.function.definition.cpp | #9ccfd8 | — |
| storage.type.class.doxygen | — | |
| storage.modifier.reference.cpp | #9ccfd8 | — |
| meta.interpolation.cs | #9ccfd8 | — |
| comment.block.documentation.cs | #9ccfd8 | — |
| source.css entity.other.attribute-name.class.css, entity.other.attribute-name.parent-selector.css punctuation.definition.entity.css | #c4a7e7 | — |
| punctuation.separator.operator.css | #F6C177 | — |
| source.css entity.other.attribute-name.pseudo-class | #c4a7e7 | italic |
| source.css constant.other.unicode-range | #9ccfd8 | — |
| source.css variable.parameter.url | #f6c177 | |
| support.function.transform.css | #eb6f92 | — |
| support.constant.property-value.css, meta.property-value.css | #f6c177 | — |
| support.type.vendored.property-name | #9CCFD8 | — |
| source.css meta.property-value variable, source.css meta.property-value variable.other.less, source.css meta.property-value variable.other.less punctuation.definition.variable.less, meta.definition.variable.scss | #c4a7e7 | — |
| source.css meta.property-list variable, meta.property-list variable.other.less, meta.property-list variable.other.less punctuation.definition.variable.less | #EBBCBA | — |
| keyword.other.unit.percentage.css | #31748f | — |
| source.css meta.attribute-selector | #F6C177 | — |
| keyword.other.definition.ini, punctuation.support.type.property-name.json, support.type.property-name.json, punctuation.support.type.property-name.toml, support.type.property-name.toml, entity.name.tag.yaml, punctuation.support.type.property-name.yaml, support.type.property-name.yaml | #9ccfd8 | |
| constant.language.json, constant.language.yaml | #ebbcba | — |
| entity.name.type.anchor.yaml, variable.other.alias.yaml | #c4a7e7 | — |
| support.type.property-name.table, entity.name.section.group-title.ini | #c4a7e7 | — |
| constant.other.time.datetime.offset.toml | #31748f | — |
| punctuation.definition.anchor.yaml, punctuation.definition.alias.yaml | #31748f | — |
| entity.other.document.begin.yaml | #31748f | — |
| markup.changed.diff | #31748f | — |
| meta.diff.header.from-file, meta.diff.header.to-file, punctuation.definition.from-file.diff, punctuation.definition.to-file.diff | #9ccfd8 | — |
| markup.inserted.diff | #F6C177 | — |
| markup.deleted.diff | #eb6f92 | — |
| variable.other.env, variable.other.assignment.shell | #e0def4 | — |
| string.quoted variable.other.env | #9ccfd8 | — |
| support.function.builtin.gdscript | #e0def4 | — |
| constant.language.gdscript | #31748f | — |
| comment meta.annotation.go | #c4a7e7 | — |
| comment meta.annotation.parameters.go | #31748f | — |
| constant.language.go | #31748f | — |
| keyword.other.doctype, meta.tag.sgml.doctype punctuation.definition.tag, meta.tag.metadata.doctype entity.name.tag | #9ccfd8 | — |
| entity.name.tag | #9ccfd8 | |
| text.html constant.character.entity, text.html constant.character.entity punctuation, constant.character.entity.xml, constant.character.entity.xml punctuation, constant.character.entity.js.jsx, constant.charactger.entity.js.jsx punctuation, constant.character.entity.tsx, constant.character.entity.tsx punctuation | #eb6f92 | — |
| entity.other.attribute-name | #c4a7e7 | — |
| support.class.component, support.class.component.jsx, support.class.component.tsx, support.class.component.vue | #31748f | |
| punctuation.definition.annotation, storage.type.annotation | #31748f | — |
| constant.other.enum.java | #c4a7e7 | — |
| storage.modifier.import.java | #9ccfd8 | — |
| comment.block.javadoc.java keyword.other.documentation.javadoc.java | — | |
| meta.export variable.other.readwrite.js | #c4a7e7 | — |
| variable.other.constant.js, variable.other.constant.ts | #e0def4 | — |
| variable.other.property.js, variable.other.property.ts, variable.other.object.property.js, variable.other.object.property.ts | #9ccfd8 | — |
| entity.name.type.module.js, entity.name.type.module.ts | #31748f | — |
| variable.other.jsdoc, comment.block.documentation variable.other | #c4a7e7 | |
| storage.type.class.jsdoc | — | |
| support.type.object.console.js | #31748f | — |
| support.constant.node, support.type.object.module.js | #31748f | — |
| storage.modifier.implements | #31748f | — |
| constant.language.null.js, constant.language.null.ts, constant.language.undefined.js, constant.language.undefined.ts, support.type.builtin.ts | #eb6f92 | — |
| variable.parameter.generic | #c4a7e7 | — |
| keyword.declaration.function.arrow.js, storage.type.function.arrow.ts | #31748f | — |
| punctuation.decorator.ts | #9ccfd8 | italic |
| keyword.operator.expression.in, keyword.operator.expression.instanceof, keyword.operator.expression.is, keyword.operator.expression.keyof, keyword.operator.expression.typeof.ts | #908CAA | — |
| keyword.operator.expression.import.js, keyword.operator.expression.import.ts | #31748f | — |
| heading.1.markdown punctuation.definition.heading.markdown, heading.1.markdown, markup.heading.atx.1.mdx, markup.heading.atx.1.mdx punctuation.definition.heading.mdx, markup.heading.setext.1.markdown, markup.heading.heading-0.asciidoc | #eb6f92 | — |
| heading.2.markdown punctuation.definition.heading.markdown, heading.2.markdown, markup.heading.atx.2.mdx, markup.heading.atx.2.mdx punctuation.definition.heading.mdx, markup.heading.setext.2.markdown, markup.heading.heading-1.asciidoc | #31748f | — |
| heading.3.markdown punctuation.definition.heading.markdown, heading.3.markdown, markup.heading.atx.3.mdx, markup.heading.atx.3.mdx punctuation.definition.heading.mdx, markup.heading.heading-2.asciidoc | #c4a7e7 | — |
| heading.4.markdown punctuation.definition.heading.markdown, heading.4.markdown, markup.heading.atx.4.mdx, markup.heading.atx.4.mdx punctuation.definition.heading.mdx, markup.heading.heading-3.asciidoc | #F6C177 | — |
| heading.5.markdown punctuation.definition.heading.markdown, heading.5.markdown, markup.heading.atx.5.mdx, markup.heading.atx.5.mdx punctuation.definition.heading.mdx, markup.heading.heading-4.asciidoc | #9ccfd8 | — |
| heading.6.markdown punctuation.definition.heading.markdown, heading.6.markdown, markup.heading.atx.6.mdx, markup.heading.atx.6.mdx punctuation.definition.heading.mdx, markup.heading.heading-5.asciidoc | #908CAA | — |
| markup.bold | #eb6f92 | bold |
| markup.italic | #eb6f92 | italic |
| markup.strikethrough | #908caa | strikethrough |
| punctuation.definition.link, markup.underline.link | #9ccfd8 | — |
| text.html.markdown punctuation.definition.link.title, string.other.link.title.markdown, markup.link, punctuation.definition.constant.markdown, constant.other.reference.link.markdown, markup.substitution.attribute-reference | #908caa | — |
| punctuation.definition.raw.markdown, markup.inline.raw.string.markdown, markup.raw.block.markdown | #F6C177 | — |
| fenced_code.block.language | #9CCFD8 | — |
| markup.fenced_code.block punctuation.definition, markup.raw support.asciidoc | #908caa | — |
| markup.quote, punctuation.definition.quote.begin | #31748f | — |
| meta.separator.markdown | #31748f | — |
| punctuation.definition.list.begin.markdown, markup.list.bullet | #31748f | — |
| string.regexp punctuation.definition.string.begin, string.regexp punctuation.definition.string.end | #908caa | — |
| keyword.control.anchor.regexp | #eb6f92 | — |
| string.regexp.ts | #f6c177 | — |
| punctuation.definition.group.regexp, keyword.other.back-reference.regexp | #908caa | — |
| punctuation.definition.character-class.regexp | #908caa | — |
| constant.other.character-class.regexp | #f6c177 | — |
| constant.other.character-class.range.regexp | #31748f | — |
| keyword.operator.quantifier.regexp | #908caa | — |
| constant.character.numeric.regexp | #9ccfd8 | — |
| punctuation.definition.group.no-capture.regexp, meta.assertion.look-ahead.regexp, meta.assertion.negative-look-ahead.regexp | #9ccfd8 | — |
| comment.line.shebang, comment.line.shebang punctuation.definition.comment, comment.line.shebang, punctuation.definition.comment.shebang.shell, meta.shebang.shell | #31748f | italic |
| comment.line.shebang constant.language | #31748f | italic |
| meta.function-call.arguments.shell punctuation.definition.variable.shell, meta.function-call.arguments.shell punctuation.section.interpolation, meta.function-call.arguments.shell punctuation.definition.variable.shell, meta.function-call.arguments.shell punctuation.section.interpolation | #eb6f92 | — |
| meta.string meta.interpolation.parameter.shell variable.other.readwrite | #31748f | italic |
| source.shell punctuation.section.interpolation, punctuation.definition.evaluation.backticks.shell | #31748f | — |
| entity.name.tag.heredoc.shell | #eb6f92 | — |
| string.quoted.double.shell variable.other.normal.shell | #31748f | — |
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}!`;
}