ayu-mirage.ts

 1import chroma from "chroma-js"
 2import { colorRamp, createColorScheme } from "../common/ramps"
 3
 4const name = "Ayu"
 5const author = "Konstantin Pschera <me@kons.ch>"
 6const url = "https://github.com/ayu-theme/ayu-colors"
 7const license = {
 8    type: "MIT",
 9    url: "https://github.com/ayu-theme/ayu-colors/blob/master/license",
10}
11
12export const dark = createColorScheme(`${name} Mirage`, false, {
13    neutral: chroma.scale([
14        "#171B24",
15        "#1F2430",
16        "#242936",
17        "#707A8C",
18        "#8A9199",
19        "#CCCAC2",
20        "#D9D7CE",
21        "#F3F4F5",
22    ]),
23    red: colorRamp(chroma("#F28779")),
24    orange: colorRamp(chroma("#FFAD66")),
25    yellow: colorRamp(chroma("#FFD173")),
26    green: colorRamp(chroma("#D5FF80")),
27    cyan: colorRamp(chroma("#95E6CB")),
28    blue: colorRamp(chroma("#5CCFE6")),
29    violet: colorRamp(chroma("#D4BFFF")),
30    magenta: colorRamp(chroma("#F29E74")),
31})