1import chroma from "chroma-js";
2import { colorRamp, createTheme } from "./common/base16";
3
4const name = "cave";
5
6const ramps = {
7 neutral: chroma.scale([
8 "#19171c",
9 "#26232a",
10 "#585260",
11 "#655f6d",
12 "#7e7887",
13 "#8b8792",
14 "#e2dfe7",
15 "#efecf4",
16 ]),
17 red: colorRamp(chroma("#be4678")),
18 orange: colorRamp(chroma("#aa573c")),
19 yellow: colorRamp(chroma("#a06e3b")),
20 green: colorRamp(chroma("#2a9292")),
21 cyan: colorRamp(chroma("#398bc6")),
22 blue: colorRamp(chroma("#576ddb")),
23 violet: colorRamp(chroma("#955ae7")),
24 magenta: colorRamp(chroma("#bf40bf")),
25};
26
27export const dark = createTheme(`${name}-dark`, false, ramps);
28export const light = createTheme(`${name}-light`, true, ramps);