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