1import chroma from "chroma-js";
2import { colorRamp, createColorScheme } from "./common/ramps";
3
4const name = "Rosé Pine Moon";
5const author = "edunfelt";
6const url = "https://github.com/edunfelt/base16-rose-pine-scheme";
7const license = {
8 type: "MIT",
9 url: "https://github.com/edunfelt/base16-rose-pine-scheme/blob/main/rose-pine-moon.yaml",
10};
11
12const ramps = {
13 neutral: chroma
14 .scale([
15 "#232136",
16 "#2A273F",
17 "#393552",
18 "#3E3A53",
19 "#56526C",
20 "#6E6A86",
21 "#908CAA",
22 "#E0DEF4",
23 ])
24 .domain([0, 0.3, 0.55, 1]),
25 red: colorRamp(chroma("#EB6F92")),
26 orange: colorRamp(chroma("#EBBCBA")),
27 yellow: colorRamp(chroma("#F6C177")),
28 green: colorRamp(chroma("#8DBD8D")),
29 cyan: colorRamp(chroma("#409BBE")),
30 blue: colorRamp(chroma("#9CCFD8")),
31 violet: colorRamp(chroma("#C4A7E7")),
32 magenta: colorRamp(chroma("#AB6FE9")),
33};
34
35export const dark = createColorScheme(`${name}`, false, ramps);