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