sandcastle.ts

 1import chroma from "chroma-js";
 2import { colorRamp, createTheme } from "./common/base16";
 3
 4const name = "sandcastle";
 5
 6const ramps = {
 7  neutral: chroma.scale([
 8    "#282c34",
 9    "#2c323b",
10    "#3e4451",
11    "#665c54",
12    "#928374",
13    "#a89984",
14    "#d5c4a1",
15    "#fdf4c1",
16  ]),
17  red: colorRamp(chroma("#B4637A")),
18  orange: colorRamp(chroma("#a07e3b")),
19  yellow: colorRamp(chroma("#a07e3b")),
20  green: colorRamp(chroma("#528b8b")),
21  cyan: colorRamp(chroma("#83a598")),
22  blue: colorRamp(chroma("#83a598")),
23  violet: colorRamp(chroma("#d75f5f")),
24  magenta: colorRamp(chroma("#a87322")),
25};
26
27export const dark = createTheme(`${name}`, false, ramps);