Massive/options.ts

20 lines
444 B
TypeScript
Raw Normal View History

2023-06-27 03:16:59 +00:00
import { darkColors, lightColors } from './colors'
2022-12-01 02:45:18 +00:00
export const themeOptions = [
2023-06-27 03:16:59 +00:00
{ 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,
}))
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,
}))