Skip to content

Restore distinct default and outline card surfaces - #2845

Merged
calebporzio merged 1 commit into
mainfrom
codex/card-outline-variant
Sep 28, 2026
Merged

calebporzio merged 1 commit into
mainfrom
codex/card-outline-variant

Conversation

@calebporzio

Copy link
Copy Markdown
Contributor

Restore the intended Card surface names: default has a light-mode shadow and dark-mode elevation, while outline is transparent with a border and no shadow. Remove the Card ghost variant and update the scoped panel selectors to use default and outline. Explicit variant="default" matches the omitted prop.

Validation: new browser regressions failed against the merged implementation, then all 12 Card tests passed in both Chromium and WebKit against this change. The real docs page also passed at 375px and 1200px in light and dark mode after rebuilding its assets.

@calebporzio
calebporzio merged commit ee9ad7f into main Sep 28, 2026
1 check passed
@calebporzio
calebporzio deleted the codex/card-outline-variant branch September 28, 2026 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant