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 https_url: "https://raw.githubusercontent.com/atelierbram/syntax-highlighting/master/LICENSE",
39 license_checksum: "6c2353bb9dd0b7b211364d98184ab482e54f40f611eda0c02974c3a1f9e6193c"
40 },
41 url: "https://atelierbram.github.io/syntax-highlighting/atelier-schemes/dune/"
42}