atelier-seaside.ts

 1import chroma from "chroma-js"
 2import { colorRamp, createColorScheme } from "../common/ramps"
 3
 4const name = "Atelier Seaside"
 5const author = "atelierbram"
 6const url =
 7    "https://atelierbram.github.io/syntax-highlighting/atelier-schemes/seaside/"
 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        "#131513",
16        "#242924",
17        "#5e6e5e",
18        "#687d68",
19        "#809980",
20        "#8ca68c",
21        "#cfe8cf",
22        "#f4fbf4",
23    ]),
24    red: colorRamp(chroma("#e6193c")),
25    orange: colorRamp(chroma("#87711d")),
26    yellow: colorRamp(chroma("#98981b")),
27    green: colorRamp(chroma("#29a329")),
28    cyan: colorRamp(chroma("#1999b3")),
29    blue: colorRamp(chroma("#3d62f5")),
30    violet: colorRamp(chroma("#ad2bee")),
31    magenta: colorRamp(chroma("#e619c3")),
32}
33
34export const dark = createColorScheme(`${name} Dark`, false, ramps)
35export const light = createColorScheme(`${name} Light`, true, ramps)