1import chroma from "chroma-js";
2import { colorRamp, createColorScheme } from "./common/ramps";
3
4const name = "One";
5const author = "";
6const url = "";
7const license = {
8 type: "",
9 url: "",
10};
11
12export const dark = createColorScheme(`${name} Dark`, false, {
13 neutral: chroma
14 .scale([
15 "#282c34",
16 "#353b45",
17 "#3e4451",
18 "#545862",
19 "#565c64",
20 "#abb2bf",
21 "#b6bdca",
22 "#c8ccd4",
23 ])
24 .domain([0.05, 0.22, 0.25, 0.45, 0.62, 0.8, 0.9, 1]),
25
26 red: colorRamp(chroma("#e06c75")),
27 orange: colorRamp(chroma("#d19a66")),
28 yellow: colorRamp(chroma("#e5c07b")),
29 green: colorRamp(chroma("#98c379")),
30 cyan: colorRamp(chroma("#56b6c2")),
31 blue: colorRamp(chroma("#61afef")),
32 violet: colorRamp(chroma("#c678dd")),
33 magenta: colorRamp(chroma("#be5046")),
34});
35
36export const light = createColorScheme(`${name} Light`, true, {
37 neutral: chroma
38 .scale([
39 "#090a0b",
40 "#202227",
41 "#383a42",
42 "#696c77",
43 "#a0a1a7",
44 "#e5e5e6",
45 "#f0f0f1",
46 "#fafafa",
47 ])
48 .domain([0.05, 0.22, 0.25, 0.45, 0.62, 0.8, 0.9, 1]),
49
50 red: colorRamp(chroma("#ca1243")),
51 orange: colorRamp(chroma("#d75f00")),
52 yellow: colorRamp(chroma("#c18401")),
53 green: colorRamp(chroma("#50a14f")),
54 cyan: colorRamp(chroma("#0184bc")),
55 blue: colorRamp(chroma("#4078f2")),
56 violet: colorRamp(chroma("#a626a4")),
57 magenta: colorRamp(chroma("#986801")),
58});