1import chroma from "chroma-js"
2import { colorRamp, createColorScheme } from "../common/ramps"
3
4const name = "Atelier Dune"
5const author = "atelierbram"
6const url =
7 "https://atelierbram.github.io/syntax-highlighting/atelier-schemes/dune/"
8const license = {
9 type: "MIT",
10 url: "https://github.com/atelierbram/syntax-highlighting/blob/master/LICENSE",
11}
12
13const ramps = {
14 neutral: chroma.scale([
15 "#20201d",
16 "#292824",
17 "#6e6b5e",
18 "#7d7a68",
19 "#999580",
20 "#a6a28c",
21 "#e8e4cf",
22 "#fefbec",
23 ]),
24 red: colorRamp(chroma("#d73737")),
25 orange: colorRamp(chroma("#b65611")),
26 yellow: colorRamp(chroma("#ae9513")),
27 green: colorRamp(chroma("#60ac39")),
28 cyan: colorRamp(chroma("#1fad83")),
29 blue: colorRamp(chroma("#6684e1")),
30 violet: colorRamp(chroma("#b854d4")),
31 magenta: colorRamp(chroma("#d43552")),
32}
33
34export const dark = createColorScheme(`${name} Dark`, false, ramps)
35export const light = createColorScheme(`${name} Light`, true, ramps)