Repository navigation
feat(ui): put the white cards on a light-gray page and darken the sidebar a step - #1205
Merged
Merged
Conversation
…ebar a step The page ground was white like the cards on it, so they didn't stand out. It's now #fafaf9, the ground of the Visibility v2 mockup, and the sidebar one step darker (oklch 0.967 → 0.945, its active item 0.93 → 0.91) so the page still reads lighter than the menu. What should stay white now says so: dialogs, sheets and the active tab use the card color instead of the page's, and the Action Center tables (and the Actions table's sticky menu column) get a white card ground instead of showing the page through. The dark theme is unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Collaborator
Author
|
@gkhngyk Small light-theme change the product owner picked from a local preview: the page ground becomes #fafaf9 (the Visibility v2 mockup's) and the sidebar a step darker, so the white cards stand out. Dialogs, sheets, the active tab and the Action Center tables use the card color so they stay white. Dark theme unchanged, no logic changes. |
gkhngyk
approved these changes
Oct 19, 2026
This was referenced Oct 19, 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.
Summary
The page ground was white, like the cards on it, so the cards didn't stand out. This puts them on a light-gray page and darkens the sidebar a step to keep it apart. Light theme only; the dark theme is unchanged.
--backgroundchanges fromoklch(1 0 0)tooklch(0.985 0.001 106.4)(#fafaf9), the ground of the Visibility v2 mockup.--sidebarchanges from0.967to0.945, and--sidebar-accent(active/hover item) from0.93to0.91. The page still reads lighter than the menu, and the active item still shows.ui/dialog.tsxandui/sheet.tsx:bg-background→bg-card.ui/tabs.tsx: the active tab,data-active:bg-background→data-active:bg-card. The dark override is unchanged.action/signal/history/kpi-table.tsx): the wrapper getsbg-card. Before, these tables had no ground of their own and would have shown the gray page through.bg-card, with its hover mix based on--card, so it doesn't look cut off from the table.The product owner picked these values from a local preview.
Related issue
None.
Type of change
feat— New featurefix— Bug fixchore— Maintenance / dependenciesdocs— Documentation onlyrefactor— Code change that neither fixes a bug nor adds a featuretest— Adding or updating testsHow to test
Checklist
feature/,fix/,chore/,docs/) — see CONTRIBUTING.mdyarn lintpasses (run fromweb/) — 0 errors, the 6 existing warningsyarn typecheckpasses (run fromweb/)yarn format:checkpasses (run fromweb/)Also run:
yarn test(198 files, 1666 tests) andyarn build(placeholder env fromci.yml). Checked in the browser in light and dark, at 1440 and 1024 px.🤖 Generated with Claude Code