Skip to content

fix(theme): lower native element specificity - #16

Merged
maxigimenez merged 1 commit into
mainfrom
fix/issue-10-theme-specificity
Sep 2, 2026
Merged

maxigimenez merged 1 commit into
mainfrom
fix/issue-10-theme-specificity

Conversation

@maxigimenez

Copy link
Copy Markdown
Owner

Closes #10

What changed

  • wraps native typography and link defaults in :where() so consumer classes win predictably
  • adds a Storybook regression example and automated selector coverage
  • documents the low-specificity contract

Evidence

Consumer overrides in Ember

Computed in Storybook: heading 11px JetBrains Mono in success green; link uses muted text with underline.

Verification

  • pnpm check
  • 25 tests passed
  • 22 public exports verified
  • Storybook production build passed

@maxigimenez
maxigimenez merged commit 34bf2e3 into main Sep 2, 2026
1 check passed
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.

Bare element selectors silently out-specify consumer classes

1 participant