In the manual light/dark mode, preferably now uses localStorage to remember user’s preference.
Changes
Automatic and manual switching cannot be activated at the same time anymore.
It is almost impossible to deliver a seamless experience without involving the server-side. So, you need to choose whether you like to give your users a manual toggle, or let your website adapts to their system preference.
preferably 0.2.0
New
Ability to add a custom analytics script using canalytics parameter.
Ability to add a light/dark toggle button using toggle parameter.
Improved
Reduced the overall size of the package
preferably 0.1.0
This is the initial release of the preferably template!