1import chroma from "chroma-js";
2import { colorRamp, createColorScheme } from "./common/ramps";
3
4const name = "One Dark";
5const author = "simurai";
6const url = "https://github.com/atom/atom/tree/master/packages/one-dark-ui";
7const license = {
8 type: "MIT",
9 url: "https://github.com/atom/atom/blob/master/packages/one-dark-ui/LICENSE.md",
10};
11
12export const dark = createColorScheme(`${name}`, false, {
13 neutral: chroma
14 .scale([
15 "#282c34",
16 "#353b45",
17 "#3e4451",
18 "#545862",
19 "#565c64",
20 "#abb2bf",
21 "#b6bdca",
22 "#c8ccd4",
23 ])
24 .domain([0.05, 0.22, 0.25, 0.45, 0.62, 0.8, 0.9, 1]),
25
26 red: colorRamp(chroma("#e06c75")),
27 orange: colorRamp(chroma("#d19a66")),
28 yellow: colorRamp(chroma("#e5c07b")),
29 green: colorRamp(chroma("#98c379")),
30 cyan: colorRamp(chroma("#56b6c2")),
31 blue: colorRamp(chroma("#61afef")),
32 violet: colorRamp(chroma("#c678dd")),
33 magenta: colorRamp(chroma("#be5046")),
34});