1import chroma from "chroma-js";
2import { colorRamp, createColorScheme } from "./common/ramps";
3
4const name = "Summercamp";
5const author = "zoefiri";
6const url = "https://github.com/zoefiri/base16-sc";
7const license = {
8 type: "MIT",
9 url: "https://github.com/zoefiri/base16-sc/blob/master/summercamp.yaml",
10};
11
12const ramps = {
13 neutral: chroma
14 .scale([
15 "#1c1810",
16 "#2a261c",
17 "#3a3527",
18 "#3a3527",
19 "#5f5b45",
20 "#736e55",
21 "#bab696",
22 "#f8f5de",
23 ])
24 .domain([0, 0.2, 0.38, 0.4, 0.65, 0.7, 0.85, 1]),
25 red: colorRamp(chroma("#e35142")),
26 orange: colorRamp(chroma("#fba11b")),
27 yellow: colorRamp(chroma("#f2ff27")),
28 green: colorRamp(chroma("#5ceb5a")),
29 cyan: colorRamp(chroma("#5aebbc")),
30 blue: colorRamp(chroma("#489bf0")),
31 violet: colorRamp(chroma("#FF8080")),
32 magenta: colorRamp(chroma("#F69BE7")),
33};
34
35export const dark = createColorScheme(`${name}`, false, ramps);