Njord
Publisher: mefechoelThemes in package: 2
A dark theme based on Nord Deep
A dark theme based on Nord Deep
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 | — | italic |
| strong | — | bold |
| comment | #78849b | italic |
| constant.character | #EBCB8B | — |
| constant.character.escape | #EBCB8B | — |
| constant.language | #81A1C1 | — |
| constant.numeric | #BF616A | — |
| constant.regexp | #EBCB8B | — |
| entity.name.class, entity.name.type.class | #8FBCBB | — |
| entity.name.function | #88C0D0 | — |
| entity.name.tag | #81A1C1 | — |
| entity.other.attribute-name | #8FBCBB | — |
| entity.other.inherited-class | #8FBCBB | bold |
| invalid.deprecated | #D8DEE9 | — |
| invalid.illegal | #D8DEE9 | — |
| keyword | #81A1C1 | italic |
| keyword.operator | #81A1C1 | italic |
| keyword.other.new | #81A1C1 | italic |
| markup.bold | — | bold |
| markup.changed | #EBCB8B | — |
| markup.deleted | #BF616A | — |
| markup.inserted | #A3BE8C | — |
| meta.preprocessor | #5E81AC | — |
| punctuation | #78849b | — |
| punctuation.definition.method-parameters, punctuation.definition.function-parameters, punctuation.definition.parameters | #78849b | — |
| punctuation.definition.tag | #81A1C1 | — |
| punctuation.definition.comment, punctuation.end.definition.comment, punctuation.start.definition.comment | #78849b | — |
| punctuation.section | #ECEFF4 | — |
| punctuation.section.embedded.begin, punctuation.section.embedded.end | #81A1C1 | — |
| punctuation.terminator | #81A1C1 | — |
| punctuation.definition.variable | #81A1C1 | — |
| storage | #81A1C1 | italic |
| string | #A3BE8C | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #A3BE8C | — |
| string.regexp | #EBCB8B | — |
| support.class | #8FBCBB | — |
| support.constant | #81A1C1 | — |
| support.function | #88C0D0 | — |
| support.function.construct | #81A1C1 | — |
| support.type | #8FBCBB | — |
| support.type.exception | #8FBCBB | — |
| token.debug-token | #b48ead | — |
| token.error-token | #bf616a | — |
| token.info-token | #88c0d0 | — |
| token.warn-token | #ebcb8b | — |
| variable.other | #D8DEE9 | — |
| source.elixir variable.other | #8FBCBB | — |
| variable.language | #81A1C1 | — |
| variable.parameter | #D8DEE9 | — |
| punctuation.separator.pointer-access.c | #81A1C1 | — |
| source.c meta.preprocessor.include, source.c string.quoted.other.lt-gt.include | #8FBCBB | — |
| source.cpp keyword.control.directive.conditional, source.cpp punctuation.definition.directive, source.c keyword.control.directive.conditional, source.c punctuation.definition.directive | #5E81AC | bold |
| source.css constant.other.color.rgb-value | #B48EAD | — |
| source.css meta.property-value | #88C0D0 | — |
| source.css keyword.control.at-rule.media, source.css keyword.control.at-rule.media punctuation.definition.keyword | #D08770 | — |
| source.css punctuation.definition.keyword | #81A1C1 | — |
| source.css support.type.property-name | #D8DEE9 | — |
| source.diff meta.diff.range.context | #8FBCBB | — |
| source.diff meta.diff.header.from-file | #8FBCBB | — |
| source.diff punctuation.definition.from-file | #8FBCBB | — |
| source.diff punctuation.definition.range | #8FBCBB | — |
| source.diff punctuation.definition.separator | #81A1C1 | — |
| source.go constant.other.placeholder.go | #EBCB8B | — |
| source.java comment.block.documentation.javadoc punctuation.definition.entity.html | #81A1C1 | — |
| source.java constant.other | #D8DEE9 | — |
| source.java keyword.other.documentation | #8FBCBB | — |
| source.java keyword.other.documentation.author.javadoc | #8FBCBB | — |
| source.java keyword.other.documentation.directive, source.java keyword.other.documentation.custom | #8FBCBB | — |
| source.java keyword.other.documentation.see.javadoc | #8FBCBB | — |
| source.java meta.method-call meta.method | #88C0D0 | — |
| source.java meta.tag.template.link.javadoc, source.java string.other.link.title.javadoc | #8FBCBB | — |
| source.java meta.tag.template.value.javadoc | #88C0D0 | — |
| source.java punctuation.definition.keyword.javadoc | #8FBCBB | — |
| source.java punctuation.definition.tag.begin.javadoc, source.java punctuation.definition.tag.end.javadoc | #616e887e | — |
| source.java storage.modifier.import | #8FBCBB | — |
| source.java storage.modifier.package | #8FBCBB | — |
| source.java storage.type | #8FBCBB | — |
| source.java storage.type.annotation | #D08770 | — |
| source.java storage.type.generic | #8FBCBB | — |
| source.java storage.type.primitive | #81A1C1 | — |
| source.js punctuation.decorator, source.js meta.decorator variable.other.readwrite, source.js meta.decorator entity.name.function | #D08770 | — |
| source.js meta.object-literal.key, source.ts meta.object-literal.key, source.tsx meta.object-literal.key | #D8DEE9 | — |
| source.js meta.object-literal.key entity.name.function, source.ts meta.object-literal.key entity.name.function, source.tsx meta.object-literal.key entity.name.function | #88C0D0 | — |
| source.js storage.type.class.jsdoc | #8FBCBB | — |
| 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 | #81A1C1 | — |
| source.js string.quoted.template meta.method-call.with-arguments | #ECEFF4 | — |
| source.js string.template meta.template.expression support.variable.property, source.js string.template meta.template.expression variable.other.object | #D8DEE9 | — |
| source.js support.type.primitive | #81A1C1 | — |
| source.js variable.other.object | #D8DEE9 | — |
| source.js variable.other.readwrite.alias | #8FBCBB | — |
| text.html.basic constant.character.entity.html | #EBCB8B | — |
| text.html.basic constant.other.inline-data | #D08770 | italic |
| text.html.basic meta.tag.sgml.doctype | #5E81AC | — |
| text.html.basic punctuation.definition.entity | #81A1C1 | — |
| source.properties entity.name.section.group-title.ini | #88C0D0 | — |
| source.properties punctuation.separator.key-value.ini | #81A1C1 | — |
| text.html.markdown markup.fenced_code.block, text.html.markdown markup.fenced_code.block punctuation.definition | #8FBCBB | — |
| markup.heading | #88C0D0 | — |
| text.html.markdown markup.inline.raw, text.html.markdown markup.inline.raw punctuation.definition.raw | #8FBCBB | — |
| text.html.markdown markup.italic | — | italic |
| text.html.markdown markup.underline.link | — | underline |
| text.html.markdown beginning.punctuation.definition.list | #81A1C1 | — |
| text.html.markdown beginning.punctuation.definition.quote | #8FBCBB | — |
| text.html.markdown markup.quote | #616e887e | — |
| text.html.markdown punctuation.definition.heading | #81A1C1 | — |
| text.html.markdown punctuation.definition.constant, text.html.markdown punctuation.definition.string | #81A1C1 | — |
| text.html.markdown constant.other.reference.link, text.html.markdown string.other.link.description, text.html.markdown string.other.link.title | #88C0D0 | — |
| source.perl punctuation.definition.variable | #D8DEE9 | — |
| source.php meta.function-call, source.php meta.function-call.object | #88C0D0 | — |
| source.python entity.name.function.decorator, source.python meta.function.decorator support.type | #D08770 | — |
| source.python meta.function-call.generic | #88C0D0 | — |
| source.python support.type | #88C0D0 | — |
| source.python variable.parameter.function.language | #D8DEE9 | — |
| source.python meta.function.parameters variable.parameter.function.language.special.self | #81A1C1 | — |
| source.css.scss punctuation.definition.interpolation.begin.bracket.curly, source.css.scss punctuation.definition.interpolation.end.bracket.curly | #81A1C1 | — |
| source.css.scss variable.interpolation | #D8DEE9 | italic |
| 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 | #D08770 | — |
| 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 | — |
| 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 | #8FBCBB | — |
| source.ts support.variable, source.tsx support.variable | #D8DEE9 | — |
| text.xml entity.name.tag.namespace | #8FBCBB | — |
| text.xml keyword.other.doctype | #5E81AC | — |
| text.xml meta.tag.preprocessor entity.name.tag | #5E81AC | — |
| text.xml string.unquoted.cdata, text.xml string.unquoted.cdata punctuation.definition.string | #D08770 | italic |
| source.yaml entity.name.tag | #8FBCBB | — |
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}!`;
}