Added experimental themes flag

This commit is contained in:
Mikayla Maki
2022-09-08 15:47:27 -07:00
parent d881320345
commit 2b4db9b16e
12 changed files with 87 additions and 27 deletions
@@ -0,0 +1,28 @@
import chroma from "chroma-js";
import { colorRamp, createTheme } from "../common/base16";
const name = "cave-experiments";
const ramps = {
neutral: chroma.scale([
"#555555",
"#555555",
"#555555",
"#555555",
"#555555",
"#555555",
"#555555",
"#555555",
]),
red: colorRamp(chroma("#555555")),
orange: colorRamp(chroma("#555555")),
yellow: colorRamp(chroma("#555555")),
green: colorRamp(chroma("#555555")),
cyan: colorRamp(chroma("#555555")),
blue: colorRamp(chroma("#555555")),
violet: colorRamp(chroma("#555555")),
magenta: colorRamp(chroma("#555555")),
};
export const dark = createTheme(`${name}-dark`, false, ramps);
export const light = createTheme(`${name}-light`, true, ramps);