Fix colors of selects in settings

This commit is contained in:
Brandon Presley 2022-11-16 14:46:45 +13:00
parent ae842e0ad7
commit 261f1c8bf0
2 changed files with 5 additions and 4 deletions

View File

@ -21,7 +21,7 @@ export default function Select({
}, },
}} }}
value={value} value={value}
placeholder={{label: 'Select...'}} placeholder={{}}
onValueChange={onChange} onValueChange={onChange}
items={items} items={items}
/> />

View File

@ -232,9 +232,9 @@ export default function SettingsPage() {
value={theme} value={theme}
onChange={changeTheme} onChange={changeTheme}
items={[ items={[
{label: 'Follow system theme', value: 'system'}, {label: 'Follow system theme', value: 'system', color},
{label: 'Dark theme', value: 'dark'}, {label: 'Dark theme', value: 'dark', color},
{label: 'Light theme', value: 'light'}, {label: 'Light theme', value: 'light', color},
]} ]}
/> />
)} )}
@ -256,6 +256,7 @@ export default function SettingsPage() {
items={formatOptions.map(option => ({ items={formatOptions.map(option => ({
label: format(today, option), label: format(today, option),
value: option, value: option,
color,
}))} }))}
/> />
)} )}