import chroma from "chroma-js";
import { colorRamp, createTheme } from "./common/base16";

const name = "rosé-pine-dawn";

const ramps = {
  neutral: chroma.scale([
    "#575279",
    "#797593",
    "#9893A5",
    "#B5AFB8",
    "#D3CCCC",
    "#F2E9E1",
    "#FFFAF3",
    "#FAF4ED",
  ]),
  red: colorRamp(chroma("#B4637A")),
  orange: colorRamp(chroma("#D7827E")),
  yellow: colorRamp(chroma("#EA9D34")),
  green: colorRamp(chroma("#679967")),
  cyan: colorRamp(chroma("#286983")),
  blue: colorRamp(chroma("#56949F")),
  violet: colorRamp(chroma("#907AA9")),
  magenta: colorRamp(chroma("#79549F")),
};

export const light = createTheme(`${name}`, true, ramps);
