cave-experiments.ts

 1import chroma from "chroma-js";
 2import { colorRamp, createTheme } from "../common/base16";
 3
 4const name = "cave-experiments";
 5
 6const ramps = {
 7  neutral: chroma.scale([
 8    "#555555",
 9    "#555555",
10    "#555555",
11    "#555555",
12    "#555555",
13    "#555555",
14    "#555555",
15    "#555555",
16  ]),
17  red: colorRamp(chroma("#555555")),
18  orange: colorRamp(chroma("#555555")),
19  yellow: colorRamp(chroma("#555555")),
20  green: colorRamp(chroma("#555555")),
21  cyan: colorRamp(chroma("#555555")),
22  blue: colorRamp(chroma("#555555")),
23  violet: colorRamp(chroma("#555555")),
24  magenta: colorRamp(chroma("#555555")),
25};
26
27export const dark = createTheme(`${name}-dark`, false, ramps);
28export const light = createTheme(`${name}-light`, true, ramps);