You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
432 B
TypeScript
20 lines
432 B
TypeScript
import {darkColors, lightColors} from './colors'
|
|
|
|
export const themeOptions = [
|
|
{label: 'System', value: 'system'},
|
|
{label: 'Dark', value: 'dark'},
|
|
{label: 'Light', value: 'light'},
|
|
]
|
|
|
|
export const lightOptions = lightColors.map(color => ({
|
|
label: color.name,
|
|
value: color.hex,
|
|
color: color.hex,
|
|
}))
|
|
|
|
export const darkOptions = darkColors.map(color => ({
|
|
label: color.name,
|
|
value: color.hex,
|
|
color: color.hex,
|
|
}))
|