Repository navigation
Align docs with the Reflex marketing design - #7549
Conversation
Merging this PR will not alter performance
|
[Medium impact] The PR appears safe to merge; no actionable new issues were found. SummaryUpdates the docs site to the marketing design with Inter/Geist typography, warm colors, and an opal announcement banner.
Reviews (6) · Last reviewed commit: "Merge branch 'main' into codex/docs-mark..." · Reviewed by Greptile |
Review fixes: - Reuse section_heading for the Enterprise, Cloud, Self-Hosting, and Other overview sections instead of repeating its heading markup. The sections now take their heading spacing from the helper's bottom margin rather than a flex gap; the rendered layout is unchanged. - Add Returns sections to the docstrings of the docs announcement banner, the docs navbar helpers (github_button, logo, navigation_menu, docs_navbar), and the overview call to action. Narrow-screen fixes carried over from the in-progress mobile layout work: - Start wide examples at the left edge of their scroll container: demo and generated API previews use safe centering, and the API preview scrolls horizontally instead of overflowing the reading column. - Let long headings such as API identifiers wrap inside the reading column instead of widening the page. - Cover the API preview with a unit test and both behaviors at 320px and 390px with preview browser tests.
- Previous/next links share a two-column grid instead of flex items beside a spacer, which left each link a third of the column. A lone next link stays in the right column, and the pager is labelled as adjacent-page navigation. - The docs footer's theme and social controls wrap on narrow screens, so every social link stays reachable. - Sidebar links that are not the current page darken on hover again, in the sidebar and the mobile drawer. Their grey rule outranked the hover rule; its :not() conditions now sit in :where() so they add no specificity. The pager test builds its page from placeholder content so it does not re-run demo code that earlier tests already executed, and the footer test uses the file's existing typing pattern so it passes pyright.
There was a problem hiding this comment.
All reported issues were addressed across 53 files
Reply with feedback, questions, or to request a fix.
View guided diff | Turn on auto-fix | Re-trigger cubic
The documentation site still used the older visual system across its navigation, landing pages, article controls, and component catalogs. This brings those surfaces into the current Reflex marketing style with Inter/Geist typography, warm neutral colors, the opal announcement banner, and compact, consistent controls.
Changes
reflex-site-shared, local font assets with licenses, and support for dark mode and reduced motion.Validation
test_published_seo.pyexcluded because this is a local change).git diff --checkpassed for the changed files.Browser coverage is representative rather than an automated run of every documentation route. This PR is a draft for visual review.