Repository navigation
Align the marketing site with the app's design system - #161
Merged
vpetersson merged 1 commit intoOct 23, 2026
Merged
Conversation
Changes taken from sbomify/sbomify (tailwind.src.css, the component library and its agent guide): - Code blocks get the app's header band: the language and a Copy button. The button ships hidden and main.js reveals it only when the Clipboard API exists, so there is no dead control without JS. The figure wrapper keeps its exact class, so the Cloudflare email_off regexp in content.html still matches. - Shared tokens use the app's values: Navy 55 #6E7180 (the app's text-muted, 4.9:1 on white) becomes ink-subtle, and Mist Soft #EEF0F4 replaces the derived Mist 50 as the surface colour. - Eyebrows use ink-subtle like the app's eyebrow and the guide's grey labels. On Mist Soft that is 4.2:1, so eyebrows inside bg-surface, the chip variant and the TOC step up to Navy 80. - Buttons follow the app's robustness rules: a 44px minimum touch target (40px for btn-md on desktop), a label that never wraps, shrink-0 in flex rows, and a 0.98 press state. - html gets scrollbar-gutter: stable, as in the app, so the header does not shift sideways between short and long pages. - Copy per the app's conventions: "sbomify" is lowercase on the pricing FAQ, and the auth links read "Sign up / Sign in" and "Sign in". - CLAUDE.md records the shared tokens, the eyebrow rule and the code block hook. axe colour-contrast: 0 violations on 48 sampled pages. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: multica-agent <github@multica.ai>
vpetersson
approved these changes
Oct 23, 2026
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.
What
Brings the marketing site in line with the product's design system in sbomify/sbomify (
sbomify/assets/css/tailwind.src.css, the component library, and the agent guide's copy rules).Why
The two codebases describe the same brand but had drifted:
How
render-codeblock.htmladds a header band with the language and a Copy button. The button shipshidden, andmain.jsreveals it only whennavigator.clipboardexists, so there is no dead control without JavaScript. The<figure class="code-block">wrapper is unchanged, so the Cloudflareemail_offregexp incontent.htmlstill matches.#6E7180(the app'stext-muted, 4.9:1 on white) becomesink-subtle. Mist Soft#EEF0F4replaces the derived Mist 50 assurface.ink-subtle. On Mist Soft that measures 4.2:1, so eyebrows insidebg-surface, the chip variant and the TOC step up to Navy 80.btn-mdabovesm).white-space: nowrapandshrink-0so labels never wrap or get squeezed in a flex row.0.98press state, as in the app's button shell.scrollbar-gutter: stableonhtml, as in the app, so the header doesn't jump sideways between short and long pages.CLAUDE.mddocuments the shared tokens, the eyebrow rule and the code block hook.Verification
bun run build:css,hugo --minify --environment productionandbun run lint:markdownall pass./guides/python/: all 6 code blocks show a Copy button, and clicking it puts exactly the block's text on the clipboard.🤖 Generated with Claude Code