Commit Graph

11 Commits

Author SHA1 Message Date
ZhenShuo Leo
4b9062f4c1 style(blur): rename data-target-id to data-blur-id 2025-08-05 18:36:25 +08:00
ZhenShuo Leo
344f7de0da fix(a11y): prevent disableImages FOUC 2025-08-05 18:23:16 +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
ZhenShuo Leo
dc778836f1 feat: hide image in a11y mode 2025-07-21 17:18:18 +08:00
ZhenShuo Leo
edbace7be0 feat: support a11y disable blur 2025-07-21 17:18:18 +08:00
Served Smart
1e9458802a ♻️ Refactor: Use IIFE for background-blur and simplify code
This improves readability and removes an unnecessary function declaration by using IIFE.

This is inspired by https://github.com/nunocoracao/blowfish/pull/2262 . If both are merged, this would enhance consistency
2025-06-27 19:19:28 +02:00
Nuno Coração
f2e224a042 pretty run 2025-06-17 23:17:26 +01:00
Served Smart
9cb0db3e08 🎨 structure: Use more explicit naming in setBackgroundBlur() 2025-06-12 13:58:59 +02:00
Served Smart
37ab1055e7 ♻️ refactor: Move similar javascript inline code out of line
- Move variables oid, oid_likes out of line
- Move background-blur out of line
- Move fetch-repo code out of line
2025-06-12 13:58:59 +02:00