Massive/options.ts

20 lines
448 B
TypeScript
Raw Normal View History

import { darkColors, lightColors } from "./colors";
2022-12-01 02:45:18 +00:00
export const themeOptions = [
{ label: "System", value: "system" },
{ label: "Dark", value: "dark" },
{ label: "Light", value: "light" },
];
2022-12-01 02:45:18 +00:00
2023-06-27 03:16:59 +00:00
export const lightOptions = lightColors.map((color) => ({
2022-12-01 02:45:18 +00:00
label: color.name,
value: color.hex,
color: color.hex,
}));
2022-12-01 02:45:18 +00:00
2023-06-27 03:16:59 +00:00
export const darkOptions = darkColors.map((color) => ({
2022-12-01 02:45:18 +00:00
label: color.name,
value: color.hex,
color: color.hex,
}));