jairaja / bw-pool-ui

0 stars 0 forks source link

Dark and Light theme #20

Closed jairaja closed 8 months ago

jairaja commented 1 year ago

https://docs.expo.dev/develop/user-interface/color-themes/

can be saved as preference: dark theme, light theme, system default

option can be given in Settings page along with default filters, sorting etc.

jairaja commented 8 months ago

https://reactnavigation.org/docs/themes/

Setup themes in all components: function MyButton() { const { colors } = useTheme();

return ( <TouchableOpacity style={{ backgroundColor: colors.card }}> <Text style={{ color: colors.text }}>Button! ); }