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