mirror of
https://github.com/p-stream/p-stream.git
synced 2026-05-07 01:49:57 +00:00
add all the colors
This commit is contained in:
parent
51e30c978a
commit
7c9f3c7564
1 changed files with 6 additions and 18 deletions
|
|
@ -1,27 +1,15 @@
|
|||
import merge from "lodash.merge";
|
||||
import { createTheme } from "./types";
|
||||
import { defaultTheme } from "./default";
|
||||
import classic from "./list/classic";
|
||||
import blue from "./list/blue";
|
||||
import red from "./list/red";
|
||||
import teal from "./list/teal";
|
||||
import green from "./list/green";
|
||||
import pink from "./list/pink";
|
||||
import autumn from "./list/autumn";
|
||||
import frost from "./list/frost";
|
||||
import grape from "./list/grape";
|
||||
import { colorToRgbString } from "../src/utils/color";
|
||||
import { allThemes } from "./all";
|
||||
|
||||
const availableThemes = [
|
||||
{ id: "classic", theme: classic },
|
||||
{ id: "blue", theme: blue },
|
||||
{ id: "red", theme: red },
|
||||
{ id: "teal", theme: teal },
|
||||
{ id: "green", theme: green },
|
||||
{ id: "pink", theme: pink },
|
||||
{ id: "autumn", theme: autumn },
|
||||
{ id: "frost", theme: frost },
|
||||
{ id: "grape", theme: grape },
|
||||
{ id: "default", theme: defaultTheme },
|
||||
...allThemes.map((t) => ({
|
||||
id: t.name,
|
||||
theme: { extend: t.extend },
|
||||
})),
|
||||
];
|
||||
|
||||
function cssVarName(path: string) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue