andromeda.ts

 1import chroma from "chroma-js";
 2import { colorRamp, createColorScheme } from "./common/ramps";
 3
 4const name = "andromeda";
 5
 6const ramps = {
 7  neutral: chroma
 8    .scale([
 9      "#1E2025",
10      "#23262E",
11      "#292E38",
12      "#2E323C",
13      "#ACA8AE",
14      "#CBC9CF",
15      "#E1DDE4",
16      "#F7F7F8",
17    ])
18    .domain([0, 0.15, 0.25, 0.35, 0.7, 0.8, 0.9, 1]),
19  red: colorRamp(chroma("#F92672")),
20  orange: colorRamp(chroma("#F39C12")),
21  yellow: colorRamp(chroma("#FFE66D")),
22  green: colorRamp(chroma("#96E072")),
23  cyan: colorRamp(chroma("#00E8C6")),
24  blue: colorRamp(chroma("#0CA793")),
25  violet: colorRamp(chroma("#8A3FA6")),
26  magenta: colorRamp(chroma("#C74DED")),
27};
28
29export const dark = createColorScheme(`${name}`, false, ramps);