Repository navigation
Restyle demo UI to match the marketing site's Carbon design tokens - #19
Merged
Merged
Conversation
The demo web app (internal/api/ui.go) had its own hand-rolled palette — ~50 one-off hex values, a different blue, an unrelated amber accent — so clicking through from the polished kernelguard.net marketing page landed in what looked like a different, less-finished product. Introduce a :root token set matched to the marketing site's IBM Carbon values (#161616 / #262626 / #393939 / #4589ff / #3ddc97) and replace every one-off hex with a semantic token (--bg/--layer/--field/--border/--fg/--primary/--success/ --danger/--warning). Add focus/hover affordances. No structural/JS changes; purely the stylesheet, so the demo now reads as the same product as the site. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
Problem
The demo web app (
internal/api/ui.go) used its own hand-rolled palette — ~50 one-off hex values, a different blue (#1d5bd8vs the site's#4589ff), an unrelated amber accent — and inconsistent spacing. Clicking "Open the Technical Preview" from the polished kernelguard.net marketing page dropped users into what looked like a different, less-finished product. That mismatch is the main thing that read as "amateur."Fix
:roottoken set matched 1:1 to the marketing site's IBM Carbon values (#161616 / #262626 / #393939 / #4589ff / #3ddc97).--bg / --layer / --field / --border / --fg / --fg-muted / --fg-subtle / --primary / --success / --danger / --warning).Verify
go build ./cmd/bpfcompat,go test ./internal/api/,go vetall clean.Follow-ups (separate PRs, per the plan): reduce on-load density / progressive disclosure (#2), make the matrix the visual hero (#3).
🤖 Generated with Claude Code