New Features
-
Fix theme logic (#93), thanks to @curtis-allan
- Tiny PR to address theme loading issues. Currently when changing the theme via the modal, it saves to localStorage correctly but both the
default
theme and the localStorage preference are added to the html tag. This is causing conflicts where certain themes are overriding others.
- Tiny PR to address theme loading issues. Currently when changing the theme via the modal, it saves to localStorage correctly but both the
Removing the additional htmlElement.classList.add("uk-theme-{color}");
snippet ensures the theme matches the option set in storage, or uses to the default if none is set. This is how it's documented in FrankenUI, so I'm guessing it was added on purpose - let me know the functionality you were aiming for and we can try to find another solution!