Tokyo Night Ported Nvim
Publisher: DionanndThemes in package: 1
π A clean, dark VSCode theme ported from Visual Studio Code & Nvim Tokyo Night theme, with support each language program.
π A clean, dark VSCode theme ported from Visual Studio Code & Nvim Tokyo Night theme, with support each language program.
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 | #565f89 | italic |
| string constant.other.placeholder | #bb9af7 | β |
| constant.other.color | #a9b1d6 | β |
| invalid, invalid.illegal | #ff007c | β |
| keyword | #7dcfff | β |
| keyword.operator.comparison, keyword.operator.logical, storage.type.function.arrow, keyword.operator.relational, keyword.operator.increment, keyword.operator.assignment | #828bb8 | β |
| storage.type.function, meta.import | #bb9af7 | |
| meta.definition.variable, variable.other.constant.property | #82AAFF | |
| meta.object-literal.key | #a9b1d6 | β |
| constant.other.color, punctuation, meta.tag, punctuation.definition.tag, punctuation.separator.inheritance.php, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.section.embedded, keyword.other.template, keyword.other.substitution | #a9b1d6 | β |
| keyword.control.export, storage.type | #9d7cd8 | italic |
| entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter | #bb9af7 | β |
| entity.name.function, meta.function-call, variable.function, support.function, keyword.other.special-method | #82AAFF | β |
| support.other.variable, string.other.link | #f7768e | β |
| constant.numeric, constant.language, support.constant, constant.character, constant.escape, variable.parameter, keyword.other.unit, keyword.other | #ff9e64 | β |
| string, constant.other.symbol, constant.other.key, entity.other.inherited-class, markup.heading, markup.inserted.git_gutter, meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js | #565f89 | β |
| entity.name, support.type, support.class, support.other.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types | #bb9af7 | β |
| entity.name.module.js, variable.import.parameter.js, variable.other.class.js | #f7768e | β |
| variable.language | #f7768e | italic |
| entity.name.method.js | #82AAFF | italic |
| meta.class-method.js entity.name.function.js, variable.function.constructor | #82AAFF | β |
| markup.inserted | #C3E88D | β |
| markup.deleted | #db4b4b | β |
| markup.changed | #C792EA | β |
| string.regexp | #89DDFF | β |
| constant.character.escape | #89DDFF | β |
| *url*, *link*, *uri* | β | underline |
| tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #82AAFF | italic |
| source.js constant.other.object.key.js string.unquoted.label.js | #FF5370 | italic |
| source.json meta.structure.dictionary.json support.type.property-name.json | #C792EA | β |
| string.quoted.single.json, string.quoted.double.json | #9ece6a | β |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #c0caf5 | β |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #c0caf5 | β |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #c0caf5 | β |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #c0caf5 | β |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #c0caf5 | β |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #c0caf5 | β |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #c0caf5 | β |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #c0caf5 | β |
| text.html.markdown, punctuation.definition.list_item.markdown | #c0caf5 | β |
| text.html.markdown markup.inline.raw.markdown | #C792EA | β |
| text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown | #65737E | β |
| markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown | #565f89 | β |
| entity.name.section.markdown | #c099ff | β |
| string.quoted.double.html, string.quoted.single.html | #9ece6a | β |
| markup.italic | #9ece6a | italic |
| markup.bold, markup.bold string | #9ece6a | bold |
| markup.bold markup.italic, markup.italic markup.bold, markup.quote markup.bold, markup.bold markup.italic string, markup.italic markup.bold string, markup.quote markup.bold string | #9ece6a | bold |
| markup.underline | #e0af68 | underline |
| markup.quote punctuation.definition.blockquote.markdown, markup.inline.raw.string.markdown | #9ece6a | β |
| markup.quote | #9ece6a | italic |
| string.other.link.title.markdown | #82AAFF | β |
| string.other.link.description.title.markdown | #bb9af7 | β |
| constant.other.reference.link.markdown | #FFCB6B | β |
| markup.raw.block | #bb9af7 | β |
| markup.raw.block.fenced.markdown | #00000050 | β |
| punctuation.definition.fenced.markdown | #00000050 | β |
| markup.raw.block.fenced.markdown, variable.language.fenced.markdown, punctuation.section.class.end | #EEFFFF | β |
| variable.language.fenced.markdown | #65737E | β |
| fenced_code.block.language.markdown, punctuation.definition.markdown | #565F89 | β |
| meta.separator | #65737E | bold |
| markup.table | #EEFFFF | β |
| keyword.control.flow.tsx, keyword.control.flow.ts, storage.modifier.async.tsx, storage.modifier.async.ts | #f7768e | italic |
| keyword.operator.expression.delete.ts, keyword.operator.new | #9D7CD8 | β |
| punctuation.definition.template-expression.begin, variable.other.object.property.ts, variable.object.property.ts, variable.other.property.ts, meta.object-literal.key.ts, meta.object-literal.key.tsx, variable.object.property.tsx, support.variable.property.tsx, entity.other.attribute-name.tsx | #1ABC9C | β |
| meta.import.ts, entity.other.inherited-class.ts | #9D7CD8 | β |
| variable.other.readwrite.alias.ts, variable.other.constant.ts, meta.object.member.ts, meta.embedded.line.ts, meta.embedded.line.tsx, meta.import.tsx, meta.definition.variable.tsx, meta.array.literal.tsx, meta.arrow.tsx, meta.array.literal.tsx, meta.brace.square | #a9b1d6 | β |
| support.type.primitive | #41a6b5 | β |
| string.quoted.single, string.quoted.double, string.template | #9ece6a | β |
| storage.modifier.async, variable.other.object.js | #f7768e | β |
| variable.other.object, meta.tag.attributes.tsx, meta.function.expression.ts | #c0caf5 | β |
| keyword.control.conditional, keyword.control.loop, keyword.control.trycatch, keyword.control.default | #BB9AF7 | |
| variable.other.object.property.tsx, variable.other.object.property.js, variable.other.property.tsx, keyword.operator.logical | #1abc9c | β |
| support.type | #B2CCD6 | β |
| meta.export.default | #82AAFF | β |
| keyword.control.flow.js | #f7768e | italic |
| meta.definition.variable.js, variable.other.object.js, meta.block.js, meta.embedded.line.js | #a9b1d6 | β |
| meta.embedded.expression.js | #a9b1d6 | β |
| meta.import.js, source.js | #BB9AF7 | β |
| variable.other.property.js | #1abc9c | β |
| text.html.derivative, meta.jsx.children | #c0caf5 | β |
| text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name | #FFCB6B | italic |
| meta.tag.attributes, meta.attribute.charset.html, meta.attribute.class, meta.attribute.event-handler.click.html, meta.attribute.id.html, meta.attribute.alt.html, meta.attribute.style.html, meta.attribute.src.html, meta.attribute.type.html, meta.attribute.href.html, meta.attribute.rel.html, meta.attribute.http-equiv.html, meta.attribute.name.html, meta.attribute.content.html | #1abc9c | β |
| variable.prop.css | #e0af68 | β |
| source.css support.type.property-name, source.sass support.type.property-name, source.scss support.type.property-name, source.less support.type.property-name, source.stylus support.type.property-name, source.postcss support.type.property-name | #1abc9c | β |
| entity.other.attribute-name.id, meta.selector.css | #bb9af7 | β |
| source.sass keyword.control | #82AAFF | β |
| keyword.control.at-rule.apply.tailwind, keyword.control.at-rule.tailwind.tailwind, keyword.control.at-rule.layer.tailwind, keyword.control.at-rule.import.css, keyword.control.at-rule.font-face, keyword.control.at-rule.media | #f7768e | β |
| meta.at-rule.apply.tailwind | #e0af68 | β |
| keyword.package.go, keyword.function.go, keyword.control.go, keyword.const.go, keyword.interface.go, keyword.type.go, keyword.struct.go | #bb9af7 | β |
| entity.name.type.go | #7aa2f7 | β |
| keyword.import.go | #7dcfff | β |
| entity.name.package.go | #c0caf5 | β |
| entity.name.import.go | #9ece6a | β |
| entity.alias.import.go | #a9b1d6 | β |
| variable.other.assignment.go | #f7768e | β |
| source.go | #a9b1d6 | β |
| string.quoted.raw.go, string.quoted.single.go, string.quoted.double.go | #9ece6a | β |
| entity.name.function.target.makefile | #bb9af7 | β |
| keyword.control.@.makefile | #a9b1d6 | β |
| meta.scope.recipe.makefile | #9ece6a | β |
| meta.scope.function-call.makefile | #a9b1d6 | β |
| variable.other.makefile | #7aa2f7 | β |
| keyword.other.special-method.dockerfile | #bb9af7 | β |
| source.dockerfile | #a9b1d6 | β |
| string.unquoted.plain.out.yaml | #a9b1d6 | β |
| support.function.lua | #bb9af7 | β |
| keyword.local.lua, keyword.control.lua | #bb9af7 | β |
| variable.other.lua, keyword.operator.logical.shell | #a9b1d6 | β |
| entity.other.attribute.lua | #1abc9c | β |
| keyword.operator.lua | #f7768e | β |
| entity.name.function.shell | #bb9af7 | β |
| support.function.builtin.shell, keyword.control.shell | #bb9af7 | β |
| variable.other.bracket.shell | #7aa2f7 | β |
| source.shell | #7aa2f7 | β |
| meta.scope.group.shell | #bb9af7 | β |
| string.interpolated.backtick.shell | #9ece6a | β |
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}!`;
}