summaryrefslogtreecommitdiff
path: root/source/js/script.js
AgeCommit message (Collapse)AuthorFilesLines
2022-06-02fix: correct logic135e21-10/+33
2022-06-01feat: add #btn-toggle-dark botton to toggle dark mode135e21-19/+136
- Switch dark theme to bulmaswatch/darkly, since bulma-prefers-dark highly relies on `@media: (prefers-color-scheme: dark)` tag - Add a playerman handler to toggle shikwasa theme[1] - Use localstorage to store user's preference[2] - Fix a typo: SystemDarkmodePrefrence => SystemDarkmodePreference [1]: Modified from https://github.com/jessuni/shikwasa/blob/main/pages/public/index.js#L208 [2]: Took inspiration from https://blog.skk.moe/post/hello-darkmode-my-old-friend
2021-05-11Add support for logo with dark mode and icon descriptionsDoge1-0/+11
2021-05-10Enhance autodark workingDoge1-3/+1
2021-05-09Fix darkmode bugDoge1-10/+15
2021-05-09Fix lazyload bugDoge1-2/+4
2021-05-08Combine js filesDoge1-0/+66