Skip to content

Apply theme-driven token derivation to every CardContainer#5474

Open
burieberry wants to merge 1 commit into
mainfrom
cs-12055-themed-card-container-default
Open

Apply theme-driven token derivation to every CardContainer#5474
burieberry wants to merge 1 commit into
mainfrom
cs-12055-themed-card-container-default

Conversation

@burieberry

Copy link
Copy Markdown
Contributor

theme.css ships the full semantic token contract with defaults that resolve to the legacy --boxel-* values, so the token derivation that was gated behind @isThemed now applies to every CardContainer — the rules move from .boxel-card-container--themed to .boxel-card-container. Themed cards differ only in the knob values their scoped theme stylesheet provides.

  • @isThemed remains as a deprecated, marker-class-only arg (still stamps the --themed class) so existing callers are unaffected.
  • Section-heading and subheading fallbacks (font-weight 500, line-height md/base) are aligned with the legacy defaults in variables.css, so unthemed cards render value-identical to before.

theme.css now ships the full semantic token contract with defaults, so
the --boxel-* derivation that was gated behind @isThemed applies to all
containers; themed cards differ only in the knob values their scoped
stylesheet provides. @isThemed remains as a marker-class-only arg.

Adjust the section-heading and subheading fallbacks (weight 500,
line-height md/base) to match the legacy defaults in variables.css so
unthemed cards render value-identically.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@burieberry burieberry marked this pull request as ready for review July 10, 2026 22:07

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: aa6e783056

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/boxel-ui/addon/src/components/card-container/index.gts
@github-actions

github-actions Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Preview deployments

Host Test Results

    1 files      1 suites   2h 58m 42s ⏱️
3 346 tests 3 329 ✅ 14 💤 2 ❌ 1 🔥
3 365 runs  3 347 ✅ 14 💤 3 ❌ 1 🔥

Results for commit aa6e783.

For more details on these errors, see this check.

Realm Server Test Results

    1 files      1 suites   11m 28s ⏱️
1 814 tests 1 814 ✅ 0 💤 0 ❌
1 893 runs  1 893 ✅ 0 💤 0 ❌

Results for commit aa6e783.

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