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}
placeholder={{label: 'Select...'}}
placeholder={{}}
onValueChange={onChange}
items={items}
/>

View File

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