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    "#26233a",
 9    "#555169",
10    "#575279",
11    "#6e6a86",
12    "#9893a5",
13    "#f2e9de",
14    "#fffaf3",
15    "#faf4ed",
16  ]),
17  red: colorRamp(chroma("#1f1d2e")),
18  orange: colorRamp(chroma("#b4637a")),
19  yellow: colorRamp(chroma("#ea9d34")),
20  green: colorRamp(chroma("#d7827e")),
21  cyan: colorRamp(chroma("#286983")),
22  blue: colorRamp(chroma("#56949f")),
23  violet: colorRamp(chroma("#907aa9")),
24  magenta: colorRamp(chroma("#c5c3ce")),
25};
26
27export const light = createTheme(`${name}`, true, ramps);