rizaldy.club/quartz/components
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
..
pages docs + chore: cleanup custom sort ordering for folder + tag listings, add docs 2024-07-09 17:55:19 -07:00
scripts a11y(darkmode): use a button for the theme toggle (#1335) 2024-08-24 13:33:30 -07:00
styles a11y(darkmode): use a button for the theme toggle (#1335) 2024-08-24 13:33:30 -07:00
ArticleTitle.tsx chore(types): add additional hint for LSP support (#864) 2024-02-13 23:53:44 -05:00
Backlinks.tsx chore(types): add additional hint for LSP support (#864) 2024-02-13 23:53:44 -05:00
Body.tsx chore(types): add additional hint for LSP support (#864) 2024-02-13 23:53:44 -05:00
Breadcrumbs.tsx fix(breadcrumbs): calculate trailing slash for tag hierarchies (closes #873) 2024-02-17 11:12:35 -08:00
Comments.tsx refactor(comments): move script to files (#1308) 2024-08-05 15:17:11 -04:00
ContentMeta.tsx feat: separated content meta (#929) 2024-03-10 09:57:10 -07:00
Darkmode.tsx a11y(darkmode): use a button for the theme toggle (#1335) 2024-08-24 13:33:30 -07:00
Date.tsx chore(i18n): refactor and cleanup (#805) 2024-02-04 20:57:10 -08:00
DesktopOnly.tsx chore(types): add additional hint for LSP support (#864) 2024-02-13 23:53:44 -05:00
Explorer.tsx fix: unmemoize explorer on rebuild (closes #1077) 2024-08-08 19:17:20 -07:00
ExplorerNode.tsx fix: properly compute relative path for explorer (closes #1055, #1066) 2024-06-17 21:43:32 -07:00
Footer.tsx feat(layout): add afterBody 2024-07-09 19:09:31 -07:00
Graph.tsx feat(graph): focusOnHover (#954) 2024-03-04 15:09:20 -05:00
Head.tsx feat(perf:fast-rebuilds): Stop mutating resources param in ComponentResources emitter (#977) 2024-03-09 16:42:23 -08:00
Header.tsx chore(types): add additional hint for LSP support (#864) 2024-02-13 23:53:44 -05:00
index.ts feat: comments (giscus) 2024-07-20 23:05:45 -07:00
MobileOnly.tsx chore(types): add additional hint for LSP support (#864) 2024-02-13 23:53:44 -05:00
PageList.tsx fix: Add a wrapper element to dates in PageList. (#1345) 2024-08-24 10:13:55 -07:00
PageTitle.tsx fix: only one h1 on a page (closes #1269) 2024-08-05 19:18:48 -07:00
RecentNotes.tsx feat: ability to hide tags in the recent notes component (#1147) 2024-05-21 09:50:58 -07:00
renderPage.tsx feat(layout): add afterBody 2024-07-09 19:09:31 -07:00
Search.tsx feat(search): keyboard-accessible search button (#1331) 2024-08-09 18:46:50 -07:00
Spacer.tsx fix(div): update class name to remove weird space afterwards (#763) 2024-01-29 21:51:13 -08:00
TableOfContents.tsx fix: Link visibility in exampanded TOC while collapseByDefault is true (#1371) 2024-08-24 12:56:17 -07:00
TagList.tsx fix(tag): move hash to sass styling only (#930) 2024-03-06 20:25:39 -05:00
types.ts chore: passing additional buildCtx to componentData (#914) 2024-02-22 17:51:07 -08:00