1import chroma from "chroma-js";
2import { Meta } from "./common/colorScheme";
3import { colorRamp, createColorScheme } from "./common/ramps";
4
5const name = "Rosé Pine Dawn";
6
7const ramps = {
8 neutral: chroma
9 .scale([
10 "#575279",
11 "#797593",
12 "#9893A5",
13 "#B5AFB8",
14 "#D3CCCC",
15 "#F2E9E1",
16 "#FFFAF3",
17 "#FAF4ED",
18 ])
19 .domain([0, 0.35, 0.45, 0.65, 0.7, 0.8, 0.9, 1]),
20 red: colorRamp(chroma("#B4637A")),
21 orange: colorRamp(chroma("#D7827E")),
22 yellow: colorRamp(chroma("#EA9D34")),
23 green: colorRamp(chroma("#679967")),
24 cyan: colorRamp(chroma("#286983")),
25 blue: colorRamp(chroma("#56949F")),
26 violet: colorRamp(chroma("#907AA9")),
27 magenta: colorRamp(chroma("#79549F")),
28};
29
30export const light = createColorScheme(`${name}`, true, ramps);
31
32export const meta: Meta = {
33 name,
34 author: "edunfelt",
35 license: {
36 SPDX: "MIT",
37 https_url: "https://raw.githubusercontent.com/edunfelt/base16-rose-pine-scheme/main/LICENSE",
38 license_checksum: "6ca1b9da8c78c8441c5aa43d024a4e4a7bf59d1ecca1480196e94fda0f91ee4a"
39 },
40 url: "https://github.com/edunfelt/base16-rose-pine-scheme"
41}