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
In multiple themes scenario with enableSystem=true, would be convenient to provide a custom them resolution logic. For example, one may have light, light-red, light-blue, dark, dark-red, dark-blue, a custom resolution will maintain same color, only change light ↔️ dark. This can currently be done by disabling enableSystem and implementing custom effect.
Suggested solution: allow optional prop resolveTheme, which is a function with argument is the current theme and resolved system theme.
The text was updated successfully, but these errors were encountered:
In multiple themes scenario with↔️ dark. This can currently be done by disabling
enableSystem=true
, would be convenient to provide a custom them resolution logic. For example, one may havelight, light-red, light-blue, dark, dark-red, dark-blue
, a custom resolution will maintain same color, only change lightenableSystem
and implementing custom effect.Suggested solution: allow optional prop
resolveTheme
, which is a function with argument is the current theme and resolved system theme.The text was updated successfully, but these errors were encountered: