OneNord
Publisher: s1e2b3i4Themes in package: 1
OneNord is a clean and vibrant theme that combines the Nord and Atom One Dark color palettes.
OneNord is a clean and vibrant theme that combines the Nord and Atom One Dark color palettes.
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 |
|---|---|---|
| — | #C0D0E0 | — |
| storage.type | #B589D3 | — |
| emphasis | — | italic |
| strong | — | bold |
| comment | #6C7A96 | — |
| constant.character | #D08F70 | — |
| constant.character.escape | #88C0D0 | — |
| constant.language | #B589D3 | — |
| constant.numeric | #D08F70 | — |
| constant.regexp | #88C0D0 | — |
| entity.name.function | #81A1C1 | — |
| entity.name.tag | #B589D3 | — |
| entity.name.function.decorator, source.python meta.function.decorator support.type | #EBCB8B | — |
| entity.other.attribute-name | #D08F70 | — |
| entity.other.inherited-class | #8FBCBB | bold |
| invalid.deprecated | #D8DEE9 | — |
| invalid.illegal | #D8DEE9 | — |
| keyword | #B589D3 | — |
| keyword.operator | #B589D3 | — |
| keyword.operator.arithmetic, keyword.operator.assignment | #5E81AC | — |
| keyword.control.flow | #B589D3 | — |
| keyword.other.new | #B589D3 | — |
| markup.bold | — | bold |
| markup.changed | #D08F70 | — |
| markup.deleted | #B84F59 | — |
| markup.inserted | #A3BE8C | — |
| meta.preprocessor | #5E81AC | — |
| meta.fstring | #D08F70 | — |
| meta.indexed-name | #D08F70 | — |
| meta.function-call | #81A1C1 | — |
| punctuation | #5E81AC | — |
| punctuation.definition.tag | #5E81AC | — |
| punctuation.definition.string | #91C187 | — |
| punctuation.definition.comment, punctuation.end.definition.comment, punctuation.start.definition.comment | #616e88 | — |
| punctuation.separator | #5E81AC | — |
| punctuation.section | #5E81AC | — |
| punctuation.section.embedded.begin, punctuation.section.embedded.end | #81A1C1 | — |
| punctuation.terminator | #81A1C1 | — |
| punctuation.definition.variable | #81A1C1 | — |
| storage | #B589D3 | — |
| string | #91C187 | — |
| string.regexp | #88C0D0 | — |
| support.constant | #81A1C1 | — |
| support.function | #81A1C1 | — |
| support.function.construct | #81A1C1 | — |
| support.function.builtin | #88C0D0 | — |
| support.type | #8FBCBB | — |
| support.type.exception | #8FBCBB | — |
| token.debug-token | #B48EAD | — |
| token.error-token | #B84F59 | — |
| token.info-token | #88C0D0 | — |
| token.warn-token | #D08F70 | — |
| variable.other | #C0D0E0 | — |
| variable.parameter | #D08F70 | — |
| 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, source.css punctuation.definition.constant | #88C0D0 | — |
| 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 keyword.other.unit | #91C187 | — |
| source.css punctuation.definition.keyword | #B589D3 | — |
| source.css punctuation.terminator | #5E81AC | — |
| source.css support.type.property-name | #D8DEE9 | — |
| source.css support.constant.property-value | #91C187 | — |
| source.css entity.other.attribute-name.pseudo-class | #81A1C1 | — |
| source.css entity.other.attribute-name.pseudo-class punctuation.definition.entity, source.css entity.other.attribute-name.class punctuation.definition.entity | #5E81AC | — |
| source.css entity.name.tag, source.css entity.other.attribute-name.id, source.css punctuation.definition.entity | #D57780 | — |
| source.css entity.other.attribute-name.class | #88C0D0 | — |
| source.css variable.argument | #D08F70 | — |
| 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 | — |
| entity.name.type.module.elixir | #8FBCBB | — |
| variable.other.readwrite.module.elixir | #D8DEE9 | bold |
| constant.other.symbol.elixir | #D8DEE9 | bold |
| variable.other.constant.elixir | #8FBCBB | — |
| source.go constant.other.placeholder.go | #D08F70 | — |
| 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 | #616e88 | — |
| 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 | #88C0D0 | — |
| source.js storage.type.class.jsdoc | #8FBCBB | — |
| source.js storage.type.function | #5E81AC | — |
| 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.language.this, source.js variable.language.super, source.jsx variable.language.this, source.jsx variable.language.super | #B589D3 | — |
| source.js variable.other.readwrite.alias | #D0AD88 | — |
| source.js meta.embedded.line meta.brace.square, source.js meta.embedded.line meta.brace.round, source.js string.quoted.template meta.brace.square, source.js string.quoted.template meta.brace.round | #ECEFF4 | — |
| text.html.basic constant.character.entity.html | #D08F70 | — |
| text.html.basic constant.other.inline-data | #D08770 | italic |
| text.html.basic meta.tag.sgml.doctype | #5E81AC | — |
| text.html.basic punctuation.definition.entity | #81A1C1 | — |
| text.html.derivative variable.other.property.js | #D57780 | — |
| 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 | #616e88 | — |
| text.html.markdown constant.character.math.tex | #81A1C1 | — |
| text.html.markdown punctuation.definition.math.begin, text.html.markdown punctuation.definition.math.end | #5E81AC | — |
| text.html.markdown punctuation.definition.function.math.tex | #88C0D0 | — |
| text.html.markdown punctuation.math.operator.latex | #81A1C1 | — |
| 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 punctuation.definition.decorator | #EBCB8B | — |
| source.python support.type | #88C0D0 | — |
| source.python meta.function.parameters variable.parameter.function.language.special.self | #81A1C1 | — |
| source.python support.function.builtin | #81A1C1 | — |
| source.python punctuation.separator.annotation.result | #D8DEE9 | — |
| source.python keyword.operator.comparison | #5E81AC | — |
| source.pip-requirements entity.name.class | #B589D3 | — |
| source.pip-requirements keyword.operator | #D8DEE9 | — |
| source.pip-requirements constant.numeric | #91C187 | — |
| #B84F59 | — | |
| source.rust entity.name.type | #EBCB8B | — |
| source.rust meta.macro entity.name.function | #D57780 | — |
| source.rust meta.attribute, source.rust meta.attribute punctuation, source.rust meta.attribute keyword.operator | #5E81AC | — |
| source.rust entity.name.type.trait | — | bold |
| source.rust punctuation.definition.interpolation | #88C0D0 | — |
| source.ruby entity.other.inherited-class | #EBCB8B | — |
| source.ruby keyword.other.special-method, source.ruby meta.function.method.with-arguments constant.other.symbol.hashkey.parameter.function punctuation.definition.constant, source.ruby meta.function.method.with-arguments punctuation.separator.other | #81A1C1 | — |
| source.ruby variable.other.readwrite.class, source.ruby variable.other.readwrite.instance, source.ruby punctuation.definition.variable, source.ruby variable.other.readwrite.instance, source.ruby variable.other.readwrite.global | #B84F59 | — |
| source.ruby keyword.operator.assignment, source.ruby punctuation.separator.key-value, source.ruby keyword.operator.arithmetic, source.ruby keyword.operator.comparison, source.ruby keyword.operator.other, source.ruby punctuation.separator.other, source.ruby keyword.operator.assignment.augmented | #B589D3 | — |
| source.ruby constant.language.symbol, source.ruby punctuation.definition.constant, source.ruby constant.language.symbol.hashkey, source.ruby punctuation.definition.constant.hashkey | #88C0D0 | — |
| 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 meta.object-literal.key, source.tsx meta.object-literal.key | #D8DEE9 | — |
| source.ts meta.object-literal.key entity.name.function, source.tsx meta.object-literal.key entity.name.function | #88C0D0 | — |
| 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 | — |
| source.ts meta.embedded.line meta.brace.square, source.ts meta.embedded.line meta.brace.round, source.tsx meta.embedded.line meta.brace.square, source.tsx meta.embedded.line meta.brace.round | #ECEFF4 | — |
| source.ts variable.language.this, source.ts variable.language.super, source.tsx variable.language.this, source.tsx variable.language.super | #B589D3 | — |
| 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 | #B589D3 | — |
| source.yaml constant.language | #91C187 | — |
| comment.rainbow4 | #D57780 | — |
| constant.numeric.rainbow7 | #D0AD88 | — |
| entity.name.type.rainbow8 | #8FBCBB | — |
| markup.bold.rainbow9 | #EBCB8B | none |
| invalid.rainbow10 | #A3BE8C | — |
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}!`;
}