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