Commit Graph

485 Commits

Author SHA1 Message Date
Nuno C.
c14887e992 Merge pull request #2456 from ZhenShuo2021/fix/a11y
🐛 Fix(a11y): multiple a11y issues
2025-09-15 23:04:54 +01:00
Nuno C.
e6cd7a9948 Merge pull request #2426 from ZhenShuo2021/fix/code-copy
🐛 Fix(code.js): filter line number on code copy
2025-09-15 23:03:55 +01:00
Nuno C.
d8add6e15f Merge pull request #2399 from ZhenShuo2021/feat/enable-tailwind-colors
 Feat(tailwind): enable default colors
2025-09-15 23:02:55 +01:00
Nuno C.
295ce738be Merge pull request #2393 from ZhenShuo2021/fix/rtl-layout-issues
🐛 Fix(rtl): multiple layout issues
2025-09-15 23:02:11 +01:00
Nuno C.
ed6fb66bbe Merge pull request #2391 from ZhenShuo2021/refactor/logical-properties
♻️ Refactor(CSS): use logical properties for language direction
2025-09-15 23:01:41 +01:00
Nuno C.
2ff69874c1 Merge pull request #2394 from ZhenShuo2021/fix/fetch-repo
🐛 Fix(fetch-repo): skip DOM updates for invalid remote data
2025-09-15 22:48:56 +01:00
dependabot[bot]
a66464e972 📦 Update packaged Mermaid 2025-09-10 05:02:17 +00:00
ZhenShuo Leo
ccc7fc8a98 feat(tailwind): enable default colors 2025-08-22 04:15:44 +08:00
ZhenShuo Leo
9bf7c1dc0b chore: remove lighthouse.html in exampleSite 2025-08-22 04:14:06 +08:00
ZhenShuo Leo
aa76e94538 fix(rtl): correct article-link title direction (#2023) 2025-08-22 03:34:02 +08:00
ZhenShuo Leo
2efd19e793 fix(rtl): homepage card layout broken on rtl site 2025-08-22 03:34:02 +08:00
ZhenShuo Leo
41f6b37e56 refactor(tailwind): use logical properties for language direction 2025-08-22 03:34:02 +08:00
ZhenShuo Leo
3150fb6631 fix(rtl): timeline shortcode broken on rtl site 2025-08-22 03:34:02 +08:00
ZhenShuo Leo
637c43a125 fix(rtl): cardViewScreenWidth broken on rtl site 2025-08-22 03:34:02 +08:00
ZhenShuo Leo
b005096833 fix(rtl): incorrect article-link badge padding 2025-08-22 03:34:02 +08:00
Nuno C.
710709d527 Merge pull request #2437 from nunocoracao/dependabot/npm_and_yarn/dev/mermaid-11.10.0
📌 Bump mermaid from 11.9.0 to 11.10.0
2025-08-21 14:39:25 +01:00
ZhenShuo Leo
0840169724 chore(code.js): add linenos comments 2025-08-21 06:00:26 +08:00
ZhenShuo Leo
9d0aecf41f refactor(code.js): simplify code
uses optional chaining
inlines short functions
2025-08-21 05:40:30 +08:00
dependabot[bot]
545b25e786 💄 Rebuild CSS 2025-08-20 07:34:33 +00:00
dependabot[bot]
2bdd3f1422 💄 Rebuild CSS 2025-08-20 07:11:04 +00:00
dependabot[bot]
a6cc41ce54 📦 Update packaged Mermaid 2025-08-20 07:11:02 +00:00
ZhenShuo Leo
65637ec3f0 fix(code.js): filter line number on code copy 2025-08-16 20:58:06 +08:00
ZhenShuo Leo
4b9062f4c1 style(blur): rename data-target-id to data-blur-id 2025-08-05 18:36:25 +08:00
ZhenShuo Leo
e78105429f fix(a11y): add underline links on article card 2025-08-05 18:36:24 +08:00
ZhenShuo Leo
344f7de0da fix(a11y): prevent disableImages FOUC 2025-08-05 18:23:16 +08:00
ZhenShuo Leo
ade00547b3 fix(a11y): disableImages not working when layoutBackgroundBlur is false 2025-08-05 18:23:16 +08:00
ZhenShuo Leo
10ffbca4c0 refactor(a11y): simply code 2025-08-05 17:39:59 +08:00
ZhenShuo Leo
6a4123f59f fix(fetch-repo): prevent DOM updates with invalid remote data 2025-08-03 17:09:24 +08:00
Nuno C.
9e6ffcc676 Merge pull request #2384 from ZhenShuo2021/style/footer-icon
💄 Style(footer): improve icon-only mobile menu
2025-08-03 01:44:53 +01:00
Nuno C.
cd1982264e Merge pull request #2379 from ZhenShuo2021/fix/forgejo-cors
🐛 Fix: forgejo CORS
2025-08-03 01:44:31 +01:00
Nuno C.
a3dd43e992 Merge pull request #2378 from ZhenShuo2021/feat/huggingface-card
 Feat: add huggingface shortcode
2025-08-03 01:44:17 +01:00
Nuno C.
47ad966c42 Merge pull request #2366 from ZhenShuo2021/feat/a11y-panel-zen
 Feat: add zen mode toggle in a11y panel
2025-08-03 01:39:19 +01:00
Nuno C.
e0052eb58c Merge pull request #2365 from ZhenShuo2021/feat/a11y-panel
 Feat: add setting panel for a11y
2025-08-03 01:37:56 +01:00
Nuno C.
4eb9d037e4 Merge pull request #2362 from ZhenShuo2021/feat/a11y-toggle
 Feat: support a11y toggle button
2025-08-03 01:37:40 +01:00
Nuno C.
fcd02369bb Merge pull request #2369 from nunocoracao/dependabot/npm_and_yarn/dev/mermaid-11.9.0
📌 Bump mermaid from 11.8.1 to 11.9.0
2025-08-03 01:32:12 +01:00
ZhenShuo Leo
904176c43c style(footer): use flex-row and overflow-x-auto when only has icons 2025-07-30 02:09:47 +08:00
ZhenShuo Leo
3ee9ed824f feat: add huggingface shortcode (#2376) 2025-07-29 04:52:21 +08:00
ZhenShuo Leo
c3f6f901a5 fix: forgejo CORS 2025-07-29 04:46:55 +08:00
dependabot[bot]
3865ba9e7d 💄 Rebuild CSS 2025-07-23 05:25:21 +00:00
dependabot[bot]
ffee736d78 📦 Update packaged Mermaid 2025-07-23 05:25:19 +00:00
ZhenShuo Leo
7f4e4dab40 fix(a11y): prevent zen mode toggle requiring double-click
Add state comparison in applyZenMode to only toggle when
current state differs from desired state
2025-07-23 04:25:22 +08:00
ZhenShuo Leo
352130c6a8 feat: add zen mode toggle into a11y panel 2025-07-23 04:00:56 +08:00
ZhenShuo Leo
b9bb959a48 fix(a11y): preserve user CSS font-size when a11y panel not configured
- Add "default" option to font size selector to respect user's original CSS
- Clear localStorage font setting when "default" is selected
- This prevent overriding user's custom font-size declarations on first load
2025-07-23 03:57:47 +08:00
ZhenShuo Leo
4351bb10fb refactor: remove onclick in a11y 2025-07-22 01:47:20 +08:00
ZhenShuo Leo
26637ee585 refactor: decoupling a11y and blur 2025-07-22 00:43:14 +08:00
ZhenShuo Leo
9f07989148 fix: a11y id confict between desktop and mobile 2025-07-22 00:09:57 +08:00
ZhenShuo Leo
5b376cc116 feat: add a11y panel 2025-07-21 23:58:48 +08:00
Served Smart
fef2b64ca9 🩹 Do not underline title if hovering taxonomies 2025-07-21 12:30:36 +02:00
Served Smart
8d9c93e7b8 🚑 Hotfix: Fix title not being hoverable 2025-07-21 12:24:31 +02:00
ZhenShuo Leo
dc778836f1 feat: hide image in a11y mode 2025-07-21 17:18:18 +08:00