rose-pine-dawn.ts

 1import chroma from "chroma-js";
 2import { colorRamp, createTheme } from "./common/base16";
 3
 4const name = "rosé-pine-dawn";
 5
 6const ramps = {
 7  neutral: chroma.scale([
 8    "#575279",
 9    "#797593",
10    "#9893A5",
11    "#B5AFB8",
12    "#D3CCCC",
13    "#F2E9E1",
14    "#FFFAF3",
15    "#FAF4ED",
16  ]),
17  red: colorRamp(chroma("#B4637A")),
18  orange: colorRamp(chroma("#D7827E")),
19  yellow: colorRamp(chroma("#EA9D34")),
20  green: colorRamp(chroma("#679967")),
21  cyan: colorRamp(chroma("#286983")),
22  blue: colorRamp(chroma("#56949F")),
23  violet: colorRamp(chroma("#907AA9")),
24  magenta: colorRamp(chroma("#79549F")),
25};
26
27export const light = createTheme(`${name}`, true, ramps);