Nightcall
Publisher: Bobby PattersonThemes in package: 2
A mellow, but colorful VS Code dark theme with vibrant shades of pink and purple.
A mellow, but colorful VS Code dark theme with vibrant shades of pink and purple.
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, source.ini comment.line.number-sign.ini punctuation.definition.comment.ini | #716E94 | italic |
| variable, string constant.other.placeholder, meta.definition.variable variable.other.readwrite.js, variable.other.object, variable.other.constant | #E4CCFF | italic |
| variable.parameter.url.scss, keyword.operator.css | #FCABE1 | |
| constant.other.color | #E1A7F2 | |
| invalid, invalid.illegal | #F4598E | — |
| storage, meta.var.expr, storage.type.property.js, storage.type.property.ts, storage.type.property.tsx | #FF83CA | italic |
| keyword, text.html.derivative punctuation.separator.key-value.html, text.html.php.blade punctuation.separator.key-value.html, source.vue punctuation.separator.key-value.html, source.vue storage.type.js, text.html.vue-html meta.tag.block.any.html, keyword.other.template.begin.env, keyword.other.template.end.env, entity.name.type.instance.jsdoc | #FF83CA | — |
| keyword.control, punctuation, meta.tag, meta.brace, punctuation.definition.parameters, punctuation.definition.block, punctuation.definition.tag, punctuation.separator.inheritance.php, punctuation.section.embedded, keyword.other.template, keyword.other.substitution, keyword.control.conditional, keyword.control.flow, keyword.control.loop, keyword.operator.spread, keyword.operator.type.annotation, source.ini punctuation.definition.comment, source.dart keyword.operator, keyword.operator.stylus, source.php keyword.control.if, source.php keyword.control.else | #BB9AF7 | |
| keyword.control, keyword.control.import, keyword.control.from, storage.modifier, source.php support.function.construct.output, punctuation.definition.keyword.css, punctuation.definition.keyword.scss, punctuation.definition.keyword.less, punctuation.definition.keyword.stylus, storage.type.class.jsdoc, variable.other.jsdoc | — | italic |
| punctuation.definition.block.tag.jsdoc, entity.name.type.instance.jsdoc | #BB9AF7 | italic |
| keyword.operator, storage.type, source.js meta.var.expr.js storage.type.js | — | |
| meta.jsx.children, meta.jsx.children.js, meta.jsx.children.tsx, text.html.derivative, text.html.vue-html, text.html.php.blade, text.pug | #E4CCFF | — |
| text.html.derivative meta.attribute.unrecognized string.quoted, text.html.php.blade meta.attribute.unrecognized string.quoted | #FCABE1 | — |
| entity.name.tag, support.class.component, meta.tag.sgml, markup.deleted.git_gutter | #FF83CA | |
| support.class.component.js, support.class.component.tsx | #FB5FC0 | |
| variable.other.object.property | #E1A7F2 | italic |
| meta.method.declaration storage.type.js, meta.method.declaration storage.type.tsx | #FF83CA | italic |
| punctuation.decorator, entity.name.function, meta.function-call, variable.function, keyword.other.special-method | #7E90FF | italic |
| support.function | #FB5FC0 | — |
| source.css support.function, support.function.misc.scss, entity.name.function.stylus, support.function.any-method.builtin.url.css, support.function.misc.css | #FB5FC0 | italic |
| meta.tag variable.other.readwrite.js, meta.tag variable.other.readwrite.ts, meta.tag variable.other.readwrite.tsx | #E4CCFF | — |
| meta.object-literal.key | #E4CCFF | |
| meta.var.expr meta.object-literal.key | #E4CCFF | |
| meta.method.declaration variable.other.readwrite.js, meta.function variable.other.readwrite.js | #E4CCFF | italic |
| constant.language.boolean, constant.language.env, constant.language.json, constant.language.php | #F4598E | |
| constant.language.null | #F4598E | |
| support.variable, support.other.variable, string.other.link | #E4CCFF | italic |
| constant.language, support.constant, constant.character, constant.escape, keyword.other.unit, keyword.other | #BB9AF7 | italic |
| variable.parameter | #E4CCFF | italic |
| constant.numeric | #FCABE1 | |
| support.constant.math, support.function.math | #FB5FC0 | italic |
| string, markup.heading, markup.inserted.git_gutter | #E4CCFF | — |
| string.quoted, string.quoted.single.js, meta.object string.quoted | #FCABE1 | |
| source.json string.quoted | #E4CCFF | |
| meta.import string.quoted | #FCABE1 | — |
| meta.function string.quoted, meta.block string.quoted | #FCABE1 | — |
| text.html.php.blade string.quoted, text.html.derivative string.quoted, meta.block meta.tag string.quoted, meta.tag.attributes string.quoted, meta.tag.block.any.html string.quoted, text.pug meta.tag.other attribute_value string.quoted | #FCABE1 | — |
| meta.block string.template | #FCABE1 | italic |
| constant.other.object.key.js, constant.other.symbol, constant.other.key, string.unquoted.js | #FCABE1 | — |
| meta.tag meta.object-literal.key | #E4CCFF | — |
| entity.other.inherited-class, meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js | #E4CCFF | |
| support.type, support.class, support.other.namespace.use.php, support.other.namespace.php, meta.use.php, markup.changed.git_gutter, support.type.sys-types | #FB5FC0 | — |
| meta.function-call support.class | #FF83CA | — |
| meta.class.js entity.name.type.class.js, meta.class.tsx entity.name.type.class.tsx, entity.name.type.module.js | #E4CCFF | |
| support.class.builtin | #FB5FC0 | italic |
| entity.name.section.markdown | #7E90FF | |
| meta.attribute.style.html source.css, meta.attribute.style.html string.quoted | #FCABE1 | — |
| source.css, source.css.scss, source.css.less, source.stylus | #E4CCFF | |
| source.css entity.name.tag.css, source.css.scss entity.name.tag.css, source.css.less entity.name.tag.css | #FF83CA | — |
| support.type.property-name.css | #E4CCFF | |
| meta.property-name.css support.type.vendored.property-name.css, source.css.scss support.type.vendored.property-name.css, source.css.less meta.property-list.css support.type.vendored.property-name.css, source.css meta.property-value.css, source.css.scss meta.property-list.scss meta.property-value.scss support.type.property-name.css | #E4CCFF | italic |
| source.css.scss support.constant.property-value, source.css support.constant.property-value, source.stylus support.constant.property-value | #FF83CA | — |
| source.css meta.at-rule.import string.quoted, source.css.scss meta.at-rule.import string.quoted, source.stylus meta.at-rule.import string.quoted | #FCABE1 | — |
| source.css string.quoted, source.css.scss string.quoted, meta.function.url.css string.quoted.double.css, source.stylus string.css | #FCABE1 | |
| entity.other.attribute-name.pseudo-element, entity.other.attribute-name.pseudo-class | #E1A7F2 | italic |
| source.css keyword.other.unit, source.stylus keyword.other.unit | #E1A7F2 | |
| variable.css, variable.scss, variable.stylus | — | italic |
| punctuation.definition.keyword.tailwind, keyword.control.at-rule.apply.tailwind | #BB9AF7 | italic |
| keyword.other.important.css, keyword.other.important.scss, keyword.other.stylus | #F4598E | italic |
| meta.property-value.css support.constant.property-value.css, meta.property-value.scss support.constant.property-value.css, support.constant.font-name, support.constant.color | #BB9AF7 | |
| entity.other.attribute-name.class.tailwind | #FCABE1 | — |
| source.css.less entity.name.tag.custom.css, meta.property-list.css support.constant.property-value.css | #FCABE1 | italic |
| punctuation.definition.variable.less, source.css.less variable.other.less | #E4CCFF | |
| entity.name.module.js, variable.import.parameter.js, variable.other.class.js | #F4598E | — |
| variable.language | #FF83CA | italic |
| variable.language.this | #FF83CA | italic |
| entity.name.method.js | #BB9AF7 | italic |
| meta.class-method.js entity.name.function.js, variable.function.constructor | #7E90FF | — |
| entity.other.attribute-name | #BB9AF7 | italic |
| text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name | #7E90FF | italic |
| entity.other.attribute-name.class | #FCABE1 | italic |
| entity.other.attribute-name.id.css, source.css.less entity.other.attribute-name.id, source.sass keyword.control | #E1A7F2 | italic |
| markup.inserted | #98FACA | — |
| markup.deleted | #F4598E | — |
| markup.changed | #FF83CA | — |
| string.regexp keyword.other | #7E90FF | |
| string.regexp, string.regexp punctuation.definition.string | #E4CCFF | |
| string.regexp | #7E90FF | |
| constant.character.escape | #F4598E | |
| *url*, *link*, *uri* | — | underline |
| tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #BB9AF7 | italic |
| source.js constant.other.object.key.js string.unquoted.label.js | #FF83CA | italic |
| source.json.comments string.quoted | #E4CCFF | — |
| source.json meta.structure.dictionary.json support.type.property-name.json | #FCABE1 | |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #FCABE1 | |
| 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 | #FCABE1 | |
| 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 | #FCABE1 | |
| 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 | #FCABE1 | |
| 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 | #FCABE1 | |
| 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 | #FCABE1 | |
| 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 | #FCABE1 | |
| 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 | #FCABE1 | |
| text.html.markdown, punctuation.definition.list_item.markdown | #E4CCFF | — |
| text.html.markdown markup.inline.raw.markdown | #FF83CA | — |
| text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown | #716E94 | — |
| markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown | #7E90FF | — |
| markup.italic | #E4CCFF | italic |
| markup.bold, markup.bold string | #BB9AF7 | 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 | #E4CCFF | bold |
| markup.underline | #FCABE1 | underline |
| markup.quote punctuation.definition.blockquote.markdown | #716E94 | — |
| markup.quote | — | italic |
| string.other.link.title.markdown | #E4CCFF | — |
| string.other.link.description.title.markdown | #FF83CA | — |
| constant.other.reference.link.markdown | #bde5f5 | — |
| markup.raw.block | #FF83CA | — |
| markup.raw.block.fenced.markdown | #00000050 | — |
| punctuation.definition.fenced.markdown | #00000050 | — |
| markup.raw.block.fenced.markdown, variable.language.fenced.markdown, punctuation.section.class.end | #E4CCFF | — |
| variable.language.fenced.markdown | #716E94 | — |
| markup.inline.raw.string.markdown, fenced_code.block.language.markdown | #BB9AF7 | — |
| meta.separator | #716E94 | bold |
| markup.table | #E4CCFF | — |
| markup.fenced_code.block.markdown support.type.property-name.json, text.html.markdown markup.fenced_code.block.markdown string.quoted | #E4CCFF | |
| markup.fenced_code.block.markdown support.type.property-name.json | #FCABE1 | |
| text.html.markdown meta.structure.dictionary.value string.quoted | #FCABE1 | — |
| text.html.markdown meta.structure.array.json string.quoted | #E4CCFF | — |
| variable.instance, variable.other.instance, variable.readwrite.instance, variable.other.readwrite.instance, variable.other.property | #E1A7F2 | italic |
| source.vue meta.directive.vue entity.other.attribute-name.html | #BB9AF7 | — |
| source.vue meta.directive.vue entity.other.attribute-name.html | #BB9AF7 | — |
| source.vue meta.object.member.js string.quoted.single.js, source.vue meta.object.member.js string.quoted.double.js | #FCABE1 | — |
| source.directive.vue meta.object-literal.key.js | #FCABE1 | — |
| variable.other.readwrite.alias.js, variable.other.readwrite.alias.ts, variable.other.readwrite.alias.tsx, variable.object.property.js, variable.object.property.ts, variable.object.property.tsx, variable.other.object.js, variable.other.object.ts, variable.other.object.tsx, variable.other.js, variable.other.ts, variable.other.tsx, variable.js, variable.ts, variable.tsx | #E4CCFF | italic |
| variable.other.readwrite.alias.js, variable.other.readwrite.alias.ts, variable.other.readwrite.alias.tsx, variable.other.readwrite.js, variable.other.readwrite.ts, variable.other.readwrite.tsx | #E4CCFF | |
| meta.object.member variable.other.readwrite.js, meta.object.member variable.other.readwrite.ts, meta.object.member variable.other.readwrite.tsx, variable.other.object.js, variable.other.object.ts, variable.other.object.tsx | — | italic |
| entity.name.type.ts, entity.name.type.tsx, entity.name.type.module.ts, entity.name.type.module.tsx | #FF83CA | — |
| support.class.node.ts, support.class.node.tsx | #7E90FF | — |
| source.yaml entity.name.tag | #FCABE1 | italic |
| source.yaml string.unquoted | #E4CCFF | — |
| source.yaml string.quoted | #E4CCFF | — |
| keyword.other.special-method.dockerfile | #FCABE1 | |
| source.dockerfile, source.dockerfile string.quoted | #E4CCFF | — |
| keyword.blade, text.html.php.blade support.function.construct, text.html.php.blade begin.bracket, text.html.php.blade end.bracket | #BB9AF7 | — |
| meta.directive.blade string.quoted | #E4CCFF | — |
| text.html.php punctuation.section.embedded | #F44968 | — |
| keyword.other.use.php, keyword.other.namespace.php, keyword.other.phpdoc.php, keyword.other.type.php | #BB9AF7 | italic |
| keyword.other.phpdoc.php, keyword.other.type.php | — | italic |
| punctuation.definition.variable.php, variable.other.global.safer.php punctuation.definition.variable.php | #BB9AF7 | italic |
| variable.other.php, variable.other.property.php | #E4CCFF | italic |
| variable.language.this.php punctuation.definition.variable.php, variable.language.this.php | #FF83CA | italic |
| support.constant.ext | #E1A7F2 | italic |
| variable.other.global.safer.php, variable.other.global.php | #E4CCFF | italic |
| support.class.php, entity.name.class.php, entity.name.type.class.php | #E4CCFF | — |
| entity.other.inherited-class.php | #E4CCFF | — |
| source.php string.quoted.single, source.php string.quoted.double | #FCABE1 | — |
| entity.name.type.namespace.php, support.other.namespace.php | #FCABE1 | — |
| keyword.other.class.php | #FF83CA | |
| source.go keyword.package.go, source.go keyword.import.go, source.go keyword.function.go, source.go keyword.type.go, source.go keyword.struct.go, source.go keyword.interface.go, source.go keyword.const.go, source.go keyword.var.go, source.go keyword.map.go, source.go keyword.channel.go, source.go keyword.control.go | #BB9AF7 | italic |
| source.go constant.language.go, source.go constant.other.placeholder.go | #FF83CA | — |
| entity.name.function.preprocessor.cpp, entity.scope.name.cpp | #BB9AF7 | — |
| meta.namespace-block.cpp | #716E94 | — |
| storage.type.language.primitive.cpp | #F4598E | — |
| meta.preprocessor.macro.cpp | #E4CCFF | — |
| source.dart | #E4CCFF | — |
| string.interpolated.single.dart, string.interpolated.double.dart | #E4CCFF | — |
| support.class.dart | #E4CCFF | — |
| variable.other.ruby | #FF83CA | italic |
| punctuation.definition.variable.ruby, variable.other.readwrite.class.ruby, variable.other.readwrite.instance.ruby, variable.other.ruby | #FF83CA | — |
| entity.name.type.class.ruby | #FF83CA | — |
| constant.language.symbol.hashkey.ruby | #BB9AF7 | — |
| constant.language.symbol.ruby | #BB9AF7 | — |
| source.env | #E4CCFF | — |
| variable.other.env | #BB9AF7 | italic |
| text.xml, source.ini, source.ini keyword.other | #E4CCFF | — |
| source.python | #E4CCFF | — |
| source.python meta.function-call.generic.python | #7E90FF | — |
| source.python meta.function-call.arguments.python | #E4CCFF | — |
| source.python string.quoted.docstring | #FCABE1 | — |
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}!`;
}