rizaldy.club/quartz/components/styles
Andrew 4c9e860150
a11y(darkmode): use a button for the theme toggle (#1335)
* Use a `<button>` for theme toggle

* docs: Adds back Xinyang's cs garden to showcase (#1323)

adding back my garden which was deleted from the cleanup showcase

* feat(toc,explorer): add accessibility for toggle (#1327)

* Restore focus highlight on explorer toggle button.

Remove `unset: all` declaration causing `outline`
property to be unset. This allows the default
browser focus highlight to be shown.

* Fix semantics of expandable sections (explorer, toc).

This adds the appropriate aria attributes for the [disclosure pattern](https://www.w3.org/WAI/ARIA/apg/patterns/disclosure/examples/disclosure-image-description/#javascriptandcsssourcecode) and uses `visibility: hidden` to remove the hidden elements from the focus order without disrupting the animations. Further work is needed on the tree view nodes.

* Run prettier for SCSS files.

* feat: custom global latex macros (closes #1325)

* chore: ts fixes

* docs: recommend at least node 20 in gh

* fix: unmemoize explorer on rebuild (closes #1077)

* fix: pass buildId to worker

* Fix theme button DOM hierarchy and styles

* Restore functionality of theme button

* `aria-label` on theme svgs so their accessible labels are included in button content

---------

Co-authored-by: Xinyang Yu <47915643+xy-241@users.noreply.github.com>
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2024-08-24 13:33:30 -07:00
..
backlinks.scss base path refactor, more docs 2023-07-13 00:19:35 -07:00
breadcrumbs.scss feat: implement breadcrumb component (#508) 2023-09-29 10:26:15 +02:00
clipboard.scss deps: bump everything (closes #635) (#636) 2023-12-18 09:48:40 -08:00
contentMeta.scss feat: separated content meta (#929) 2024-03-10 09:57:10 -07:00
darkmode.scss a11y(darkmode): use a button for the theme toggle (#1335) 2024-08-24 13:33:30 -07:00
explorer.scss feat(toc,explorer): add accessibility for toggle (#1327) 2024-08-08 18:07:47 -07:00
footer.scss docs + various polish 2023-07-09 19:32:24 -07:00
graph.scss architecture, fix vendor prefixing 2023-08-07 17:34:38 -07:00
legacyToc.scss run prettier 2023-07-22 17:27:41 -07:00
listPage.scss fix: Add a wrapper element to dates in PageList. (#1345) 2024-08-24 10:13:55 -07:00
popover.scss feat(popover): add support for PDF (#913) 2024-02-22 22:16:40 -05:00
recentNotes.scss recent notes css fixes 2023-08-20 14:05:37 -07:00
search.scss feat(search): keyboard-accessible search button (#1331) 2024-08-09 18:46:50 -07:00
toc.scss feat(toc,explorer): add accessibility for toggle (#1327) 2024-08-08 18:07:47 -07:00