Commit graph

5 commits

Author SHA1 Message Date
Sébastien Lorber
16e3002911
fix(theme): navbar mobile sidebar should allow clicking dropdown parent link (#11053)
* try to repro + initial fix

* Use HTML button

* extract useItemCollapsible()

* Split DropdownNavbarItem into Mobile/Desktop subcomponents

* Add aria labels to button

* cleanup prop types

* aria label

* add translations

* cleanup types

* Split DefaultNavbarItem into Mobile/Desktop subcomponents

* revert change

* type fix
2025-04-03 18:40:45 +02:00
Sébastien Lorber
7cf94c03a4
feat(theme): Allow resetting colorMode to System/OS value (#10987)
* make it work

* fix

* Try to fix accessibility issues

* add translations

* rename 'auto' to 'system'

* refactor: apply lint autofix

* rename 'auto' to 'system'

* remove title prop

* typo

* use shorter title

* refactor: apply lint autofix

* document useColorMode tradeoffs + data-attribute variables

---------

Co-authored-by: slorber <749374+slorber@users.noreply.github.com>
Co-authored-by: nasso
Co-authored-by: OzakIOne
2025-03-14 13:45:25 +01:00
ozaki
aa65f39d8c
fix(blog): authors count incorrectly rendered (#10431)
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
2024-08-23 14:07:49 +02:00
ozaki
95ab9f8ee4
feat(theme): show unlisted/draft banners in dev mode (#10376)
Co-authored-by: OzakIOne <OzakIOne@users.noreply.github.com>
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
2024-08-08 20:48:42 +02:00
Petar_mc
801964dc49
feat(theme-translations): Add Bulgarian default theme translations (bg) (#10111)
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2024-05-09 11:34:28 +02:00