Closed WillSmithTE closed 2 months ago
Similarly, if we could import Text from react-native-paper
here we'd keep the theme
This is also the case for the dialog portion. The backgroundColor is set to white
and is not inheriting the app theme.
const styles = StyleSheet.create({
container: {
width: '100%',
marginBottom: 10,
},
dialog: {
backgroundColor: 'white', <-----
borderRadius: 5,
},
...
Temp fix is setting the dialogStyle={{backgroundColor: colorScheme === "dark" ? "YOUR_DARK_COLOR" : "YOUR_LIGHT_COLOR"}}
prop on your <PaperSelect />
component.
will fix it in next update
@himrocks33 Please fix this in your merge request also
I thought this package would use PaperProvider theme by default, and while technically it does, it also overrides styles meaning the theme is ignored.
E.g. I use
MD3DarkTheme
for dark mode, but the styling for the TextInput is overridden because it uses its own styles.here
Is this intentional? Would you accept a PR to change it?
Same for the dialog background color