1import chroma from "chroma-js";
2import { colorRamp, createTheme } from "./common/base16";
3
4const name = "rosé-pine";
5
6const ramps = {
7 neutral: chroma.scale([
8 "#191724",
9 "#1f1d2e",
10 "#26233a",
11 "#555169",
12 "#6e6a86",
13 "#e0def4",
14 "#f0f0f3",
15 "#c5c3ce",
16 ]),
17 red: colorRamp(chroma("#e2e1e7")),
18 orange: colorRamp(chroma("#eb6f92")),
19 yellow: colorRamp(chroma("#f6c177")),
20 green: colorRamp(chroma("#ebbcba")),
21 cyan: colorRamp(chroma("#31748f")),
22 blue: colorRamp(chroma("#0CA793")),
23 violet: colorRamp(chroma("#8A3FA6")),
24 magenta: colorRamp(chroma("#C74DED")),
25};
26
27export const dark = createTheme(`${name}`, false, ramps);