Nord Light
Publisher: huytdThemes in package: 2
Nord Light color theme
Nord Light color theme
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, string.comment | #6A737D | — |
| constant, entity.name.constant, variable.other.constant, variable.language | #0c60a5 | — |
| entity, entity.name | #6F42C1 | — |
| variable.parameter.function | #24292E | — |
| entity.name.tag | #22863A | — |
| keyword | #D73A49 | — |
| storage.modifier.package, storage.modifier.import, storage.type.java | #24292E | — |
| string, punctuation.definition.string, string punctuation.section.embedded source | #032F62 | — |
| support | #0c60a5 | — |
| meta.property-name | #6F42C1 | — |
| variable | #E36209 | — |
| invalid.broken | #B31D28 | italic |
| invalid.deprecated | #B31D28 | italic |
| invalid.illegal | #B31D28 | italic |
| invalid.unimplemented | #B31D28 | italic |
| carriage-return | #FAFBFC | italic underline |
| message.error | #B31D28 | — |
| string source | #24292E | — |
| source.regexp, string.regexp | #032F62 | — |
| string.regexp.character-class, string.regexp constant.character.escape, string.regexp source.ruby.embedded, string.regexp string.regexp.arbitrary-repitition | #032F62 | — |
| string.regexp constant.character.escape | #22863A | bold |
| support.constant | #0c60a5 | — |
| support.variable | #6F42C1 | — |
| meta.module-reference | #0c60a5 | — |
| punctuation.definition.list.begin.markdown | #E36209 | — |
| markup.heading, markup.heading entity.name | #6F42C1 | bold |
| markup.quote | #22863A | — |
| markup.italic | #24292E | italic |
| markup.bold | #24292E | bold |
| markup.raw | #6F42C1 | — |
| markup.deleted, meta.diff.header.from-file, punctuation.definition.deleted | #B31D28 | — |
| markup.inserted, meta.diff.header.to-file, punctuation.definition.inserted | #22863A | — |
| markup.changed, punctuation.definition.changed | #E36209 | — |
| markup.ignored, markup.untracked | #F6F8FA | — |
| meta.diff.range | #6F42C1 | bold |
| meta.diff.header | #6F42C1 | — |
| meta.separator | #6F42C1 | bold |
| meta.output | #6F42C1 | — |
| brackethighlighter.tag, brackethighlighter.curly, brackethighlighter.round, brackethighlighter.square, brackethighlighter.angle, brackethighlighter.quote | #586069 | — |
| brackethighlighter.unmatched | #B31D28 | — |
| constant.other.reference.link, string.other.link | #032F62 | underline |
| variable.parameter.function | #3B4252 | — |
| comment, punctuation.definition.comment | #748599 | — |
| punctuation.definition.string, punctuation.definition.variable, punctuation.definition.string, punctuation.definition.parameters, punctuation.definition.string, punctuation.definition.array | #0D7579 | — |
| none | #3B4252 | — |
| keyword.operator | #CB5C69 | — |
| keyword, keyword.control | #0D7579 | — |
| variable | #3B4252 | — |
| entity.name.function, meta.require, support.function.any-method | #0D7579 | — |
| meta.class, support.class, entity.name.class, entity.name.type.class | #0D7579 | — |
| keyword.other.special-method | #0D7579 | — |
| storage, storage.type | #0c60a5 | — |
| support.function | #0c60a5 | — |
| string, constant.other.symbol, entity.other.inherited-class | #509546 | — |
| constant.numeric | #3B4252 | — |
| constant | #3B4252 | — |
| entity.name.tag | #0D7579 | — |
| entity.other.attribute-name | #0D7579 | — |
| meta.selector | #3B4252 | — |
| markup.heading punctuation.definition.heading, entity.name.section | #3B4252 | |
| keyword.other.unit | #3B4252 | — |
| markup.raw.inline | #509546 | — |
| string.other.link | #CB5C69 | — |
| meta.link | #FF9B39 | — |
| markup.list | #CB5C69 | — |
| markup.quote | #FF9B39 | — |
| meta.separator | #3B42527 | — |
| markup.inserted | #509546 | — |
| markup.deleted | #CB5C69 | — |
| markup.changed | #A769BD | — |
| string.regexp | #0D7579 | — |
| constant.character.escape | #27C0B2 | — |
| punctuation.section.embedded, variable.interpolation | #3B42527 | — |
| invalid.illegal | #CD3131 | — |
| entity, entity.name | #509546 | — |
| comment, comment.block, comment.block.documentation, comment.line, constant, constant.character, constant.character.escape, constant.numeric, constant.numeric.integer, constant.numeric.float, constant.numeric.hex, constant.numeric.octal, constant.other, constant.regexp, constant.rgb-value, emphasis, entity, entity.name, entity.name.class, entity.name.function, entity.name.method, entity.name.section, entity.name.selector, entity.name.tag, entity.name.type, entity.other, entity.other.attribute-name, entity.other.inherited-class, invalid, invalid.deprecated, invalid.illegal, keyword, keyword.control, keyword.operator, keyword.operator.new, keyword.operator.assignment, keyword.operator.arithmetic, keyword.operator.logical, keyword.other, markup, markup.bold, markup.changed, markup.deleted, markup.heading, markup.inline.raw, markup.inserted, markup.italic, markup.list, markup.list.numbered, markup.list.unnumbered, markup.other, markup.quote, markup.raw, markup.underline, markup.underline.link, meta, meta.block, meta.cast, meta.class, meta.function, meta.function-call, meta.preprocessor, meta.return-type, meta.selector, meta.tag, meta.type.annotation, meta.type, punctuation.definition.string.begin, punctuation.definition.string.end, punctuation.separator, punctuation.separator.continuation, punctuation.terminator, storage, storage.modifier, storage.type, string, string.interpolated, string.other, string.quoted, string.quoted.double, string.quoted.other, string.quoted.single, string.quoted.triple, string.regexp, string.unquoted, strong, support, support.class, support.constant, support.function, support.other, support.type, support.type.property-name, support.variable, variable, variable.language, variable.name, variable.other, variable.other.readwrite, variable.parameter | — | |
| token.info-token | #316BCD | — |
| token.warn-token | #CD9731 | — |
| token.error-token | #CD3131 | — |
| token.debug-token | #800080 | — |
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}!`;
}