@@ -12,7 +12,7 @@ import {
1212 PickerOption ,
1313} from "./PickerCommon" ;
1414import PickerInputContainer from "./PickerInputContainer" ;
15- import { withTheme } from "@draftbit/theme" ;
15+ import { ReadTheme , withTheme } from "@draftbit/theme" ;
1616import { IconSlot } from "../../interfaces/Icon" ;
1717
1818/**
@@ -26,7 +26,7 @@ interface PortalPickerContentProps extends IconSlot {
2626 placeholder ?: string ;
2727 onValueChange ?: ( value : string | number ) => void ;
2828 onClose : ( ) => void ;
29- theme : any ;
29+ theme : ReadTheme ;
3030 autoDismissKeyboard ?: boolean ;
3131}
3232
@@ -58,7 +58,12 @@ const PortalPickerContent: React.FC<PortalPickerContentProps> = ({
5858 } , [ autoDismissKeyboard ] ) ;
5959
6060 return (
61- < SafeAreaView style = { styles . iosPickerContent } >
61+ < SafeAreaView
62+ style = { [
63+ styles . iosPickerContent ,
64+ { backgroundColor : theme . colors . background . base } ,
65+ ] }
66+ >
6267 < Button
6368 Icon = { Icon }
6469 onPress = { onClose }
@@ -77,7 +82,10 @@ const PortalPickerContent: React.FC<PortalPickerContentProps> = ({
7782 onValueChange ?.( "" ) ;
7883 }
7984 } }
80- style = { styles . iosNativePicker }
85+ style = { [
86+ styles . iosNativePicker ,
87+ { backgroundColor : theme . colors . background . base } ,
88+ ] }
8189 onBlur = { onClose }
8290 >
8391 { options . map ( ( option ) => (
@@ -86,6 +94,7 @@ const PortalPickerContent: React.FC<PortalPickerContentProps> = ({
8694 label = { option . label . toString ( ) }
8795 value = { option . value }
8896 key = { option . value }
97+ color = { theme . colors . text . strong }
8998 />
9099 ) ) }
91100 </ NativePickerComponent >
0 commit comments