diff options
| author | Aditya Telange <21258296+adityatelange@users.noreply.github.com> | 2020-11-26 09:10:24 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-26 09:10:24 +0530 |
| commit | b301d60f032879af25dc9c5747c868db9bf7cc6c (patch) | |
| tree | 2ef191791a732cd5c1bdb2faf70a88e497b3676a /layouts/_default | |
| parent | 678b5d82fc5ddccfdcc7433328a380473c6807dd (diff) | |
theme-switch: Improve theme switch logic (#86)
- removes unnecessary local-storage item removal
- less inline script on build
- assumes `defaultTheme as auto when value is not `dark` or `light`
- should work according to table at docs
Diffstat (limited to 'layouts/_default')
0 files changed, 0 insertions, 0 deletions
