1import chroma from "chroma-js";
2import { Meta } from "./common/colorScheme";
3import { colorRamp, createColorScheme } from "./common/ramps";
4
5const name = "Sandcastle";
6
7const ramps = {
8 neutral: chroma.scale([
9 "#282c34",
10 "#2c323b",
11 "#3e4451",
12 "#665c54",
13 "#928374",
14 "#a89984",
15 "#d5c4a1",
16 "#fdf4c1",
17 ]),
18 red: colorRamp(chroma("#B4637A")),
19 orange: colorRamp(chroma("#a07e3b")),
20 yellow: colorRamp(chroma("#a07e3b")),
21 green: colorRamp(chroma("#83a598")),
22 cyan: colorRamp(chroma("#83a598")),
23 blue: colorRamp(chroma("#528b8b")),
24 violet: colorRamp(chroma("#d75f5f")),
25 magenta: colorRamp(chroma("#a87322")),
26};
27
28export const dark = createColorScheme(`${name}`, false, ramps);
29
30export const meta: Meta = {
31 name,
32 author: "gessig",
33 license: {
34 SPDX: "MIT",
35 https_url: "https://raw.githubusercontent.com/gessig/base16-sandcastle-scheme/master/LICENSE",
36 license_checksum: "8399d44b4d935b60be9fee0a76d7cc9a817b4f3f11574c9d6d1e8fd57e72ffdc"
37 },
38 url: "https://github.com/gessig/base16-sandcastle-scheme"
39}
40