dracula.ts

 1import chroma from "chroma-js";
 2import { colorRamp, createColorScheme } from "../common/ramps";
 3
 4const name = "Dracula";
 5const author = "Base16 port by Mike Barkmin (http://github.com/mikebarkmin)";
 6const url = "http://github.com/dracula"
 7
 8// `name-[light|dark]`, isLight, color ramps
 9export const dark = createColorScheme(`${name}`, false, {
10  neutral: chroma
11    .scale([
12      "#282936",
13      "#3a3c4e",
14      "#4d4f68",
15      "#626483",
16      "#62d6e8",
17      "#e9e9f4",
18      "#f1f2f8",
19      "#f7f7fb",
20    ]),
21  red: colorRamp(chroma("#ea51b2")),
22  orange: colorRamp(chroma("#b45bcf")),
23  yellow: colorRamp(chroma("#ebff87")),
24  green: colorRamp(chroma("#00f769")),
25  cyan: colorRamp(chroma("#a1efe4")),
26  blue: colorRamp(chroma("#62d6e8")),
27  violet: colorRamp(chroma("#b45bcf")),
28  magenta: colorRamp(chroma("#00f769")),
29});