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
Is your feature request related to a problem? Please describe.
Yes, since the user's preferred color mode is stored in localStorage, it can be modified manually with a theme which does not exist, rather than falling back to one which does.
Describe the solution you'd like
I believe it would be helpful if there could be an array whitelist for allowed themes/color modes in the module's configuration, and when the parsed preference is not any of them, the library can reset the user's preference to the configured fallback.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Yes, since the user's preferred color mode is stored in localStorage, it can be modified manually with a theme which does not exist, rather than falling back to one which does.
Describe the solution you'd like
I believe it would be helpful if there could be an array whitelist for allowed themes/color modes in the module's configuration, and when the parsed preference is not any of them, the library can reset the user's preference to the configured fallback.
The text was updated successfully, but these errors were encountered: