You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Icon inside an IconButton should have its properties changed when toggled to dark mode, according to '_dark' pseudo props defined in the IconButton default theme
Unlike other elements in the screen (including the bottom icon, that is a plain Icon), the top icon (IconButton) doesn't change its color. The icon color should change to 'muted.50', as coded in the IconButton default theme.
Note that if _dark={{ _icon: { color: 'muted.50' } }} in line 17 is uncommented, the code works as expected, but it should behave this way without this piece of code, as it is exactly what is coded in the IconButton default theme (variant 'unstyled' in the example, but the same issue occurs for the other variants).
NativeBase Version
3.4.28
Platform
Android
CRA
Expo
iOS
Next
Other Platform
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Description
The Icon inside an IconButton should have its properties changed when toggled to dark mode, according to '_dark' pseudo props defined in the IconButton default theme
CodeSandbox/Snack link
https://snack.expo.dev/@rogerlga/nativebase-iconbutton-issue
Steps to reproduce
Note that if
_dark={{ _icon: { color: 'muted.50' } }}
in line 17 is uncommented, the code works as expected, but it should behave this way without this piece of code, as it is exactly what is coded in the IconButton default theme (variant 'unstyled' in the example, but the same issue occurs for the other variants).NativeBase Version
3.4.28
Platform
Other Platform
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: