Fix semantic contrast and Storybook Canvas themes - #618
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@coderabbitai review |
✅ Action performedReview finished.
|
|
LGTM — no blockers found in an independent review of the exact stacked range Evidence:
Same-account approval fallback: leaving this top-level LGTM/no-blockers comment instead of an approval review. |
d6316c1
into
codex/ui-form-overlay-primitives
What changed
dark:*utilities follow the apps'.darkclass contractindex.json, runs light and dark against opposite OS preferences, exercises Dialog, Sheet, DropdownMenu, Popover, Select, and Tooltip states, and verifies Docs isolationContrast ratios
Validation
@repo/ui: 25 tests passed; typecheck, build, check, and lint passedprefers-color-scheme: darkblockslat checkpassedgit diff --checkpassedKnown environment blockers
.alchemy/local/wrangler.jsoncfiles are absent in this fresh worktree. No Alchemy deployment state was generated.mainSummary by cubic
Fixes semantic contrast and Storybook Canvas theming so components meet WCAG AA and portalled overlays inherit the selected theme without affecting Docs.
Bug Fixes
dark:*to the app.darkclass (not the OS preference).html/body; Docs chrome stays isolated.New Features
index.json, runs light/dark with opposite OS prefs, exercises Dialog, Sheet, DropdownMenu, Popover, Select, and Tooltip, and verifies Docs isolation.test:storybook-contrastscript.@axe-core/playwrightfor contrast checks.Written for commit b76ab29. Summary will update on new commits.