1import chroma from "chroma-js";
2import { colorRamp, createColorScheme } from "./common/ramps";
3
4const name = "One Light";
5const author = "simurai";
6const url = "https://github.com/atom/atom/tree/master/packages/one-light-ui";
7const license = {
8 type: "MIT",
9 url: "https://github.com/atom/atom/blob/master/packages/one-light-ui/LICENSE.md",
10};
11
12export const light = createColorScheme(`${name}`, true, {
13 neutral: chroma.scale([
14 "#090a0b",
15 "#202227",
16 "#383a42",
17 "#696c77",
18 "#a0a1a7",
19 "#e5e5e6",
20 "#f0f0f1",
21 "#fafafa",
22 ])
23 .domain([0.05, 0.22, 0.25, 0.45, 0.62, 0.8, 0.9, 1]),
24
25 red: colorRamp(chroma("#ca1243")),
26 orange: colorRamp(chroma("#d75f00")),
27 yellow: colorRamp(chroma("#c18401")),
28 green: colorRamp(chroma("#50a14f")),
29 cyan: colorRamp(chroma("#0184bc")),
30 blue: colorRamp(chroma("#4078f2")),
31 violet: colorRamp(chroma("#a626a4")),
32 magenta: colorRamp(chroma("#986801")),
33});