rose-pine-dawn.ts

 1import {
 2    chroma,
 3    colorRamp,
 4    ThemeAppearance,
 5    ThemeLicenseType,
 6    ThemeConfig,
 7} from "../../common"
 8
 9export const theme: ThemeConfig = {
10    name: "Rosé Pine Dawn",
11    author: "edunfelt",
12    appearance: ThemeAppearance.Light,
13    licenseType: ThemeLicenseType.MIT,
14    licenseUrl: "https://github.com/edunfelt/base16-rose-pine-scheme",
15    licenseFile: `${__dirname}/LICENSE`,
16    inputColor: {
17        neutral: chroma
18            .scale([
19                "#575279",
20                "#797593",
21                "#9893A5",
22                "#B5AFB8",
23                "#D3CCCC",
24                "#F2E9E1",
25                "#FFFAF3",
26                "#FAF4ED",
27            ])
28            .domain([0, 0.35, 0.45, 0.65, 0.7, 0.8, 0.9, 1]),
29        red: colorRamp(chroma("#B4637A")),
30        orange: colorRamp(chroma("#D7827E")),
31        yellow: colorRamp(chroma("#EA9D34")),
32        green: colorRamp(chroma("#679967")),
33        cyan: colorRamp(chroma("#286983")),
34        blue: colorRamp(chroma("#56949F")),
35        violet: colorRamp(chroma("#907AA9")),
36        magenta: colorRamp(chroma("#79549F")),
37    },
38    override: { syntax: {} },
39}