atelier-sulphurpool.ts

 1import chroma from "chroma-js"
 2import { Meta } from "./common/colorScheme"
 3import { colorRamp, createColorScheme } from "./common/ramps"
 4
 5const name = "Atelier Sulphurpool"
 6
 7const ramps = {
 8    neutral: chroma
 9        .scale([
10            "#202746",
11            "#293256",
12            "#5e6687",
13            "#6b7394",
14            "#898ea4",
15            "#979db4",
16            "#dfe2f1",
17            "#f5f7ff",
18        ])
19        .domain([0, 0.2, 0.38, 0.45, 0.65, 0.7, 0.85, 1]),
20    red: colorRamp(chroma("#c94922")),
21    orange: colorRamp(chroma("#c76b29")),
22    yellow: colorRamp(chroma("#c08b30")),
23    green: colorRamp(chroma("#ac9739")),
24    cyan: colorRamp(chroma("#22a2c9")),
25    blue: colorRamp(chroma("#3d8fd1")),
26    violet: colorRamp(chroma("#6679cc")),
27    magenta: colorRamp(chroma("#9c637a")),
28}
29
30export const dark = createColorScheme(`${name} Dark`, false, ramps)
31export const light = createColorScheme(`${name} Light`, true, ramps)
32
33export const meta: Meta = {
34    name,
35    author: "atelierbram",
36    license: {
37        SPDX: "MIT",
38        license_text: {
39            https_url: "https://atelierbram.mit-license.org/license.txt",
40            license_checksum:
41                "f95ce526ef4e7eecf7a832bba0e3451cc1000f9ce63eb01ed6f64f8109f5d0a5",
42        }
43    },
44    url: "https://atelierbram.github.io/syntax-highlighting/atelier-schemes/sulphurpool/",
45}