sulphurpool.ts

 1import chroma from "chroma-js";
 2import { colorRamp, createTheme } from "./common/base16";
 3
 4const name = "sulphurpool";
 5
 6const ramps = {
 7  neutral: chroma.scale(["#202746", "#293256", "#5e6687", "#6b7394", "#898ea4", "#979db4", "#dfe2f1", "#f5f7ff"]),
 8  red: colorRamp(chroma("#c94922")),
 9  orange: colorRamp(chroma("#c76b29")),
10  yellow: colorRamp(chroma("#c08b30")),
11  green: colorRamp(chroma("#ac9739")),
12  cyan: colorRamp(chroma("#22a2c9")),
13  blue: colorRamp(chroma("#3d8fd1")),
14  violet: colorRamp(chroma("#6679cc")),
15  magenta: colorRamp(chroma("#9c637a")),
16}
17
18export const dark = createTheme(`${name}-dark`, false, ramps);
19export const light = createTheme(`${name}-light`, true, ramps);