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.
The #546 triggered a lot of discussion about data privacy and also it is the responsibility of the Flowbite component to handle user preference. And honestly, I think that it doesn't belong to the component since it can be restricted by a particular set or rules and laws that we are not aware of.
Describe the solution you'd like
Remove the user preference support from Flowbite component.
Describe alternatives you've considered
None
Additional context
None
The text was updated successfully, but these errors were encountered:
Fixes bug with dark = false not working. Removed usePreferences because of potential legal issues
due to GDPR
BREAKING CHANGE: ThemeProps no longer includes usePreferences
fixthemesberg#565, fixthemesberg#581
* fix(flowbite themeprops): fix bug with user preferences overriding dark = false
Found an issue where userpreferences when set to true overrides dark = false in theme props which is
a confusing developer experience
fix#581
* fix(theme): removed usePreferences
Fixes bug with dark = false not working. Removed usePreferences because of potential legal issues
due to GDPR
BREAKING CHANGE: ThemeProps no longer includes usePreferences
fix#565, fix#581
* refactor(theme): refactor useThemeMode
Refactored useThemeMode to fetch context state
* refactor(theme): improve readability
improve readability and fix merge conflicts. Update documentation for ThemePage
#565
* refactor(theme): remove === check for false to set light mode
Since we're no longer using localStorage no need to hard check for false
Is your feature request related to a problem? Please describe.
The #546 triggered a lot of discussion about data privacy and also it is the responsibility of the Flowbite component to handle user preference. And honestly, I think that it doesn't belong to the component since it can be restricted by a particular set or rules and laws that we are not aware of.
Describe the solution you'd like
Remove the user preference support from
Flowbite
component.Describe alternatives you've considered
None
Additional context
None
The text was updated successfully, but these errors were encountered: