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 },
36 url: "https://github.com/gessig/base16-sandcastle-scheme",
37}