monokai.ts

 1import chroma from "chroma-js";
 2import { colorRamp, createColorScheme } from "../common/ramps";
 3
 4const name = "Monokai";
 5const author = "Wimer Hazenberg (http://www.monokai.nl)";
 6const url = "https://base16.netlify.app/previews/base16-monokai.html";
 7const license = {
 8  type: "?",
 9  url: "?",
10};
11
12// `name-[light|dark]`, isLight, color ramps
13export const dark = createColorScheme(`${name}`, false, {
14  neutral: chroma.scale([
15    "#272822",
16    "#383830",
17    "#49483e",
18    "#75715e",
19    "#a59f85",
20    "#f8f8f2",
21    "#f5f4f1",
22    "#f9f8f5",
23  ]),
24  red: colorRamp(chroma("#f92672")),
25  orange: colorRamp(chroma("#fd971f")),
26  yellow: colorRamp(chroma("#f4bf75")),
27  green: colorRamp(chroma("#a6e22e")),
28  cyan: colorRamp(chroma("#a1efe4")),
29  blue: colorRamp(chroma("#66d9ef")),
30  violet: colorRamp(chroma("#ae81ff")),
31  magenta: colorRamp(chroma("#cc6633")),
32});