atelier-heath.ts

 1import chroma from "chroma-js"
 2import { colorRamp, createColorScheme } from "../common/ramps"
 3
 4const name = "Atelier Heath"
 5const author = "atelierbram"
 6const url =
 7    "https://atelierbram.github.io/syntax-highlighting/atelier-schemes/heath/"
 8const license = {
 9    type: "MIT",
10    url: "https://github.com/atelierbram/syntax-highlighting/blob/master/LICENSE",
11}
12
13// `name-[light|dark]`, isLight, color ramps
14export const dark = createColorScheme(`${name} Dark`, false, {
15    neutral: chroma.scale([
16        "#1b181b",
17        "#292329",
18        "#695d69",
19        "#776977",
20        "#9e8f9e",
21        "#ab9bab",
22        "#d8cad8",
23        "#f7f3f7",
24    ]),
25    red: colorRamp(chroma("#ca402b")),
26    orange: colorRamp(chroma("#a65926")),
27    yellow: colorRamp(chroma("#bb8a35")),
28    green: colorRamp(chroma("#918b3b")),
29    cyan: colorRamp(chroma("#159393")),
30    blue: colorRamp(chroma("#516aec")),
31    violet: colorRamp(chroma("#7b59c0")),
32    magenta: colorRamp(chroma("#cc33cc")),
33})
34
35export const light = createColorScheme(`${name} Light`, true, {
36    neutral: chroma.scale([
37        "#161b1d",
38        "#1f292e",
39        "#516d7b",
40        "#5a7b8c",
41        "#7195a8",
42        "#7ea2b4",
43        "#c1e4f6",
44        "#ebf8ff",
45    ]),
46    red: colorRamp(chroma("#d22d72")),
47    orange: colorRamp(chroma("#935c25")),
48    yellow: colorRamp(chroma("#8a8a0f")),
49    green: colorRamp(chroma("#568c3b")),
50    cyan: colorRamp(chroma("#2d8f6f")),
51    blue: colorRamp(chroma("#257fad")),
52    violet: colorRamp(chroma("#6b6bb8")),
53    magenta: colorRamp(chroma("#b72dd2")),
54})