sandcastle.ts

 1import {
 2    chroma,
 3    color_ramp,
 4    ThemeAppearance,
 5    ThemeLicenseType,
 6    ThemeConfig,
 7} from "../../common"
 8
 9export const theme: ThemeConfig = {
10    name: "Sandcastle",
11    author: "gessig",
12    appearance: ThemeAppearance.Dark,
13    license_type: ThemeLicenseType.MIT,
14    license_url: "https://github.com/gessig/base16-sandcastle-scheme",
15    license_file: `${__dirname}/LICENSE`,
16    input_color: {
17        neutral: chroma.scale([
18            "#282c34",
19            "#2c323b",
20            "#3e4451",
21            "#665c54",
22            "#928374",
23            "#a89984",
24            "#d5c4a1",
25            "#fdf4c1",
26        ]),
27        red: color_ramp(chroma("#B4637A")),
28        orange: color_ramp(chroma("#a07e3b")),
29        yellow: color_ramp(chroma("#a07e3b")),
30        green: color_ramp(chroma("#83a598")),
31        cyan: color_ramp(chroma("#83a598")),
32        blue: color_ramp(chroma("#528b8b")),
33        violet: color_ramp(chroma("#d75f5f")),
34        magenta: color_ramp(chroma("#a87322")),
35    },
36    override: { syntax: {} },
37}