summaryrefslogtreecommitdiff
path: root/source/js
AgeCommit message (Collapse)AuthorFilesLines
2022-12-29revert: Revert "chore: load css & js locally..."135e22-2/+0
This reverts commit 45dba0654aa9c8ba210b8d5b80cdc388c408beef. Conflicts: layout/_partial/head.ejs layout/_partial/scripts.ejs
2022-06-03fix: correct logic135e23-30/+75
2022-06-03chore: load css & js locally...135e22-0/+2
... for better loading speed since jsDelivr sucks
2022-06-03Remove redundant TS config fileDoge Gui1-74/+0
2022-06-03feat: add #btn-toggle-dark botton to toggle dark mode135e23-42/+283
- 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 descriptionsDoge3-1/+25
2021-05-10Add compressed js and cssDoge1-0/+1
2021-05-10Enhance autodark workingDoge2-6/+2
2021-05-09Fix darkmode bugDoge2-19/+30
2021-05-09Fix lazyload bugDoge2-4/+8
2021-05-08Combine js filesDoge5-74/+137
2021-05-07Add darkmode supportDoge3-0/+147