Update docs-nav Get Started button to match pulumi.com#10937
Update docs-nav Get Started button to match pulumi.com#10937alexleventer wants to merge 2 commits into
Conversation
- Switch button from .get-started-header-button to .btn .btn-primary so it renders consistently with the live pulumi.com/docs top nav, and point it at https://app.pulumi.com/signup (the conversion target used on pulumi.com). - Update brand violet from #805ac3 to #5a30c5 to match pulumi.com's --color-violet-primary. Updated $brand-violet, --color-violet-600, and the remaining hardcoded #805ac3 references used as the violet endpoint of brand gradients (_header.scss hover state, _docs-top-nav.scss, _pulumi-up.scss btn-primary hover) and the docs-main active-link bullet. Left the multi-stop brand rainbow gradients alone since #805ac3 there is one stop in a fixed sequence, not a violet-600 reference. - Switch the .btn / @Utility btn default colors from blue-600 to violet-600 (with violet-500 hover/active) so .btn alone renders in brand violet on registry pages, matching pulumi.com. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Registry Review — PR #10937Thanks for the detailed PR description — it makes the rationale for the global Issues1. Orphaned CSS in
|
|
Your site preview for commit a570ee3 is ready! 🎉 http://registry--origin-pr-10937-a570ee3b.s3-website.us-west-2.amazonaws.com/registry. |
After switching docs-top-nav.html's button to .btn .btn-primary, the .get-started-header-button selectors in _docs-top-nav.scss no longer match anything in the rendered DOM (this file is scoped under nav.actually-docs). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
Your site preview for commit 502a8e1 is ready! 🎉 http://registry--origin-pr-10937-502a8e1c.s3-website.us-west-2.amazonaws.com/registry. |
CamSoper
left a comment
There was a problem hiding this comment.
@alexleventer Sorry I missed this!
This needs one more thing: It doesn't respond when you mouseover like the main docs site.
|
Actually you may want to hold off on this, it appears @jeffmerrick is already working on it |
|
Ah yep, @alexleventer I have a new docs nav going here: pulumi/docs#19133 that I'll pull over to registry and guides (along with all the other type, color, icon, etc. updates). |
|
Site previews for this pull request have been removed. ✨ |
Summary
Brings the Pulumi Registry docs top-nav Get Started button in line with the live
pulumi.com/docsbutton — class, color, and destination..get-started-header-buttonto.btn .btn-primary(matches the markup pulumi.com/docs renders) and point it athttps://app.pulumi.com/signupinstead of/docs/get-started/.--color-violet-primary: #5a30c5(a deeper, more saturated violet); this repo had#805ac3. Updated$brand-violet,--color-violet-600(the Tailwind v4 tokenbg-violet-600resolves to), and the violet endpoints of brand gradients in_header.scss,_docs-top-nav.scss, and_pulumi-up.scss, plus the active-link bullet in_docs-main.scss. The multi-stop brand-rainbow gradients (_about.scss,_pricing.scss, etc.) were left alone —#805ac3there is one stop in a fixed designed sequence, not a "violet-600" reference..btndefault: switched the.btnrule in_buttons.scssand the higher-priority@utility btninmain.scssfromblue-600→violet-600(withviolet-500hover/active). Both definitions had to change because@utility btnlives in Tailwind'sutilitieslayer and overrides the_buttons.scsscomponents-layer rule..get-started-header-buttonrules in_docs-top-nav.scss(lines 36, 52–68) — they were scoped undernav.actually-docsand no longer matched anything after the markup switch.Scope
This PR is intentionally limited to the docs top-nav (
docs-top-nav.html/nav.actually-docs). The regular top-nav (top-nav.html, used on the registry index and package pages) still uses the legacy.get-started-header-buttonclass and links to/docs/get-started/. Bringing the registry-side nav in line with pulumi.com is a separate visual change that warrants its own review and QA pass; tracking as a follow-up.Test plan
make build-assetsproduces a fresh bundle (verified locally — new hashbundle-registry.67d9a125.css).make serveand load a docs/registry page; confirm the Get Started button in the top nav is now violet (#5a30c5), not blue.https://app.pulumi.com/signup..btn(e.g./docs/continuous-delivery,get-started-steppershortcodes) to confirm they render in violet without regressions.bg-violet-600directly (any badges, marketing CTAs) to confirm the brand-color shift looks intentional rather than off.🤖 Generated with Claude Code