Nord Nights
Publisher: WillTThemes in package: 1
Dark theme based on Nord, with an all black background and extra consideration for PowerShell syntax highlighting. Incorporates the Windows Terminal "One Half Dark" theme for the integrated terminal.
Dark theme based on Nord, with an all black background and extra consideration for PowerShell syntax highlighting. Incorporates the Windows Terminal "One Half Dark" theme for the integrated terminal.
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 |
|---|---|---|
| emphasis, text.html.markdown markup.italic | — | italic |
| strong, markup.bold | — | bold |
| comment, punctuation.definition.comment, punctuation.end.definition.comment, punctuation.start.definition.comment, source.java keyword.other.documentation, source.java keyword.other.documentation.author.javadoc, comment.block.preprocessor, comment.documentation, comment.block.documentation | #4c566a | — |
| constant.character, constant, entity.other.attribute-name, variable.other, variable.parameter, source.css support.type.property-name, variable.other.constant.elixir, source.go constant.other.placeholder.go, source.java constant.other, source.java keyword.other.documentation.see.javadoc, source.js string.template meta.template.expression support.variable.property, source.js string.template meta.template.expression variable.other.object, source.js variable.other.object, source.js variable.other.readwrite.alias, markup.heading, source.python variable.parameter.function.language, source.ts support.constant.math, source.ts support.constant.dom, source.ts support.constant.json, source.tsx support.constant.math, source.tsx support.constant.dom, source.tsx support.constant.json, source.ts support.variable, source.tsx support.variable, constant.other.symbol | #d8dee9 | — |
| constant.character.escape, constant.regexp, invalid.deprecated, markup.changed, string.regexp, token.warn-token | #ebcb8b | — |
| constant.language, entity.name.tag, keyword, keyword.operator, keyword.other.new, punctuation, punctuation.definition.tag, punctuation.section, punctuation.section.embedded.begin, punctuation.section.embedded.end, punctuation.terminator, punctuation.definition.variable, storage, storage.type, support.constant, support.type, variable.language, punctuation.separator.pointer-access.c, source.css punctuation.definition.keyword, source.diff punctuation.definition.from-file, source.diff punctuation.definition.range, source.diff punctuation.definition.separator, source.java comment.block.documentation.javadoc punctuation.definition.entity.html, source.java meta.tag.template.value.javadoc, source.java punctuation.definition.keyword.javadoc, source.java storage.modifier.import, source.java storage.modifier.package, text.html.basic meta.tag.sgml.doctype, text.html.basic punctuation.definition.entity, source.properties punctuation.separator.key-value.ini, text.html.markdown beginning.punctuation.definition.list, text.html.markdown beginning.punctuation.definition.quote, text.html.markdown punctuation.definition.heading, text.xml entity.name.tag.namespace, text.xml keyword.other.doctype, source.yaml entity.name.tag, source.java meta.tag.template.link.javadoc, source.java string.other.link.title.javadoc, source.java punctuation.definition.tag.begin.javadoc, source.java punctuation.definition.tag.end.javadoc, source.js string.quoted.template punctuation.quasi.element.begin, source.js string.quoted.template punctuation.quasi.element.end, source.js string.template punctuation.definition.template-expression, text.html.markdown markup.fenced_code.block, text.html.markdown markup.fenced_code.block punctuation.definition, text.html.markdown markup.inline.raw, text.html.markdown markup.inline.raw punctuation.definition.raw, text.html.markdown punctuation.definition.constant, text.html.markdown punctuation.definition.string, source.python meta.function.parameters variable.parameter.function.language.special.self, source.css.scss punctuation.definition.interpolation.begin.bracket.curly, source.css.scss punctuation.definition.interpolation.end.bracket.curly, source.perl punctuation.definition.variable | #81a1c1 | — |
| constant.numeric, token.debug-token, source.css constant.other.color.rgb-value | #b48ead | — |
| entity.name.class, entity.name.type.class, entity.name.type, entity.other.inherited-class, support.class, support.type.exception, source.diff meta.diff.range.context, source.diff meta.diff.header.from-file, entity.name.type.module.elixir, source.java storage.type, source.java storage.type.generic, source.java storage.type.primitive, source.js storage.type.class.jsdoc, source.js support.type.primitive, source.python support.type, source.ts support.class, source.ts support.type, source.ts entity.name.type, source.ts entity.name.class, source.tsx support.class, source.tsx support.type, source.tsx entity.name.type, source.tsx entity.name.class | #8fbcbb | — |
| entity.name.function, support.function, support.function.construct, source.css meta.property-value, source.java meta.method-call meta.method, source.js meta.object-literal.key, source.php meta.function-call, source.php meta.function-call.object, source.python meta.function-call.generic, source.ts meta.object-literal.key, source.tsx meta.object-literal.key, source.ts meta.object-literal.key entity.name.function, source.tsx meta.object-literal.key entity.name.function, source.java keyword.other.documentation.directive, source.java keyword.other.documentation.custom | #88c0d0 | — |
| invalid.illegal, markup.deleted, token.error-token, entity.name.exception | #bf616a | — |
| markup.inserted, string, text.html.markdown markup.quote, text.html.markdown constant.other.reference.link, text.html.markdown string.other.link.description, text.html.markdown string.other.link.title | #a3be8c | — |
| meta.preprocessor, source.c meta.preprocessor.include, source.c string.quoted.other.lt-gt.include, text.xml meta.tag.preprocessor entity.name.tag | #5e81ac | — |
| punctuation.definition.method-parameters, punctuation.definition.function-parameters, punctuation.definition.parameters, source.js string.quoted.template meta.method-call.with-arguments, text.html.basic constant.character.entity.html | #eceff4 | — |
| source.cpp keyword.control.directive.conditional, source.cpp punctuation.definition.directive, source.c keyword.control.directive.conditional, source.c punctuation.definition.directive | #81a1c1 | bold |
| source.css keyword.control.at-rule.media, source.css keyword.control.at-rule.media punctuation.definition.keyword, source.java storage.type.annotation, source.js punctuation.decorator, source.js meta.decorator variable.other.readwrite, source.js meta.decorator entity.name.function, source.properties entity.name.section.group-title.ini, source.python entity.name.function.decorator, source.python meta.function.decorator support.type, source.ts punctuation.decorator, source.ts meta.decorator variable.other.readwrite, source.ts meta.decorator entity.name.function, source.tsx punctuation.decorator, source.tsx meta.decorator variable.other.readwrite, source.tsx meta.decorator entity.name.function, variable, support.variable, token.info-token | #d08770 | — |
| variable.other.readwrite.module.elixir, constant.other.symbol.elixir | #d8dee9 | bold |
| text.html.markdown markup.underline.link | — | underline |
| source.css.scss variable.interpolation | #d8dee9 | italic |
| text.html.basic constant.other.inline-data, text.xml string.unquoted.cdata, text.xml string.unquoted.cdata punctuation.definition.string | #d08770 | italic |
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}!`;
}