Cotes Chung
|
d4a6d640bd
|
perf: simplify mode toggle script (#1692)
Reduce conditional logic to speed up theme mode initialization and switching.
|
2024-04-21 00:39:12 +08:00 |
|
Cotes Chung
|
63c51384df
|
chore: remove comments from compressed HTML
|
2024-04-20 23:59:59 +08:00 |
|
Cotes Chung
|
9d97120197
|
perf(assets): reduce HTTP requests to CDN
|
2023-05-13 03:29:06 +08:00 |
|
Cotes Chung
|
b69d3d7edd
|
refactor(build): modularize JS code
- replace gulp with rollup
- remove JS output from repo
|
2023-03-15 21:51:37 +08:00 |
|
Cotes Chung
|
f8f4dd889e
|
Normalized attribute name in HTML
Add prefix `data-` for following attributes:
- `topbar-visible`
- `mode`
- `label-text`
- `title-succeed`
|
2022-01-13 00:23:08 +08:00 |
|
Cotes Chung
|
c02c9c6a04
|
Decouple theme-mode toggle & mermaid
|
2021-12-13 03:33:01 +08:00 |
|
Cotes Chung
|
55fce7574c
|
Refactor theme mode toggle
- Improve mode switching JS execution priority
- Drop deprecated Web API
|
2021-12-02 05:51:30 +08:00 |
|
Bhavy Khatri
|
707466b1df
|
Accessibility Bug Fix: Tab focus doesn't reach Dark mode toggle button (#453)
|
2021-12-01 00:23:22 +08:00 |
|
Cotes Chung
|
893db51ff0
|
Improve the copyrights of the assets
|
2021-01-26 20:24:47 +08:00 |
|
Cotes Chung
|
289ce1263d
|
Fix detection of mermaid objects
|
2020-12-11 02:20:18 +08:00 |
|
Cotes Chung
|
4d2f13c0d7
|
Integrate with mermaid-js
|
2020-12-10 05:00:01 +08:00 |
|
Cotes Chung
|
13aca77275
|
Change mode-toggle icon
|
2020-12-05 01:40:01 +08:00 |
|
Wei Wang
|
bf8996fb8b
|
Fix typo (#159)
|
2020-10-23 15:42:43 +08:00 |
|
Cotes Chung
|
8c21272048
|
Swap the mode toggle icon.
|
2020-04-23 22:11:50 +08:00 |
|
Cotes Chung
|
ad992db75f
|
Improved theme mode switching logic.
|
2020-04-04 01:03:00 +08:00 |
|
Cotes Chung
|
65040ddd90
|
Optimized the dark-mode toggle
|
2020-02-15 16:36:19 +08:00 |
|