Reduce redundancy of labels for theme setting
This commit is contained in:
parent
24e230e8b9
commit
d0702b7675
|
@ -1,9 +1,9 @@
|
||||||
import {darkColors, lightColors} from './colors'
|
import {darkColors, lightColors} from './colors'
|
||||||
|
|
||||||
export const themeOptions = [
|
export const themeOptions = [
|
||||||
{label: 'Follow system theme', value: 'system'},
|
{label: 'System', value: 'system'},
|
||||||
{label: 'Dark theme', value: 'dark'},
|
{label: 'Dark', value: 'dark'},
|
||||||
{label: 'Light theme', value: 'light'},
|
{label: 'Light', value: 'light'},
|
||||||
]
|
]
|
||||||
|
|
||||||
export const lightOptions = lightColors.map(color => ({
|
export const lightOptions = lightColors.map(color => ({
|
||||||
|
|
Loading…
Reference in New Issue
Block a user