Skip to content
This repository has been archived by the owner on Oct 14, 2022. It is now read-only.

Theme variant setting via footer drop-down, stored in localStorage

Compare
Choose a tag to compare
@scooterpsu scooterpsu released this 26 Mar 18:24
· 63 commits to master since this release

Now theme variants are pulled from themeVariants array, which if any exist populate a drop-down in the footer.

Switching via the drop-down switches the theme immediately, and stores the value in local storage for next time.

If no variant is set initially, it will look for themeVariant in settings.js and if not found default to white.