simplify date picker theme (#6926)

This commit is contained in:
Samuel Newman
2024-12-03 23:57:26 +00:00
committed by GitHub
parent 0c71f8196f
commit df3b43bb64
@@ -56,7 +56,7 @@ export function DateField({
modal
open
timeZoneOffsetInMinutes={0}
theme={t.name === 'light' ? 'light' : 'dark'}
theme={t.scheme}
buttonColor={t.name === 'light' ? '#000000' : '#ffffff'}
date={new Date(value)}
onConfirm={onChangeInternal}