Last 12 weeks · 0 commits
1 of 6 standards met
In this version of css theme toggler app I've resolved these problems: Initial class is now being added to the body programmatically. In the _Fireship's_ version after page reload you could notice that body deriving preffered theme from the local storage and adding it to the already exsisiting one which is hardcoded light theme (so, if preferred theme was dark then after the page reload you will see . In initial version of this app if you choose solarized theme — acquires _normalize_ property. But when page is reloaded it loses its value although the theme is still solarized. Now it will keep it. Dropdown was accessible via page inspector and dev tools even when it was hidden. I've changed its property so now it is truly unreachable when hidden. Removed unnecessary property because its implicitly has necessary value.
Repository: fireship-io/226-css-theme-toggler. Description: Episode 226 - Build a CSS Theme Toggler from Scratch Stars: 145, Forks: 48. Primary language: HTML. Languages: HTML (44.1%), CSS (40.9%), JavaScript (15.1%). Open PRs: 1, open issues: 4. Last activity: 1y ago. Community health: 25%. Top contributors: codediodeio.