Add clanker banner, dark mode toggle, and Geist font#200
Merged
Conversation
added 5 commits
May 1, 2026 18:33
Each /reference/<widget>/ page now shows a "Feeding an LLM?" banner near the top that links to the matching .md endpoint, so users notice the markdown version exists without having to hunt through the gallery.
- Drop the page emoji and the green arrow color; the pill is now monochrome with a transparent background and floats right of the H1 so the page title isn't pushed down. - Restore the sun/moon palette toggle so users can switch between the default and slate schemes (extra.css already had the dark overrides).
Picked via the ui-picker A/B between PT Sans, Inter, DM Sans, and Geist. Geist's Swiss-precision sans pairs naturally with its monospace sibling so headings, body, and code all feel like the same family.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.mdendpoint, so users notice the LLM-friendly markdown version exists.extra.cssalready had the dark-mode overrides.Test plan
make docsbuilds clean.make docs-serveand visit a reference page (e.g./reference/slider2d/): the clanker pill floats top-right of the H1 and the linked.mdreturns 200.[project.theme.font]).