Skip to content

v1.0.19

Latest
Compare
Choose a tag to compare
@Isaac-Flath Isaac-Flath released this 15 Apr 22:48
· 6 commits to main since this release

New Features

  • Add accordion component (#94), thanks to @MichlF

  • 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.

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!