nord.ts

 1import chroma from "chroma-js";
 2import { colorRamp, createColorScheme } from "../common/ramps";
 3
 4const name = "Nord";
 5const author = "arcticicestudio";
 6const url = "https://www.nordtheme.com/";
 7const license = {
 8  type: "MIT",
 9  url: "https://github.com/arcticicestudio/nord/blob/develop/LICENSE.md",
10};
11
12// `name-[light|dark]`, isLight, color ramps
13export const dark = createColorScheme(`${name}`, false, {
14  neutral: chroma.scale([
15    "#2E3440",
16    "#3B4252",
17    "#434C5E",
18    "#4C566A",
19    "#D8DEE9",
20    "#E5E9F0",
21    "#ECEFF4",
22    "#8FBCBB",
23  ]),
24  red: colorRamp(chroma("#88C0D0")),
25  orange: colorRamp(chroma("#81A1C1")),
26  yellow: colorRamp(chroma("#5E81AC")),
27  green: colorRamp(chroma("#BF616A")),
28  cyan: colorRamp(chroma("#D08770")),
29  blue: colorRamp(chroma("#EBCB8B")),
30  violet: colorRamp(chroma("#A3BE8C")),
31  magenta: colorRamp(chroma("#B48EAD")),
32});