abruzzo.ts

 1import chroma from "chroma-js";
 2import { colorRamp, createColorScheme } from "./common/ramps";
 3
 4const name = "abruzzo";
 5
 6const ramps = {
 7  neutral: chroma
 8    .scale([
 9      "#1b0d05",
10      "#2c1e18",
11      "#654035",
12      "#9d5e4a",
13      "#b37354",
14      "#c1825a",
15      "#dda66e",
16      "#fbf3e2",
17    ])
18    .domain([0, 0.15, 0.35, 0.5, 0.6, 0.75, 0.85, 1]),
19  red: colorRamp(chroma("#e594c4")),
20  orange: colorRamp(chroma("#d9e87e")),
21  yellow: colorRamp(chroma("#fd9d83")),
22  green: colorRamp(chroma("#96adf7")),
23  cyan: colorRamp(chroma("#fc798f")),
24  blue: colorRamp(chroma("#BCD0F5")),
25  violet: colorRamp(chroma("#dac5eb")),
26  magenta: colorRamp(chroma("#c1a3ef")),
27};
28
29export const dark = createColorScheme(`${name}`, false, ramps);
30// export const light = createTheme(`${name}-light`, true, ramps);