Skip to content

Stage 5: Theming maturity - #14

Merged
ntucker merged 2 commits into
mainfrom
stage-5-theming-maturity
Jul 26, 2026
Merged

Stage 5: Theming maturity#14
ntucker merged 2 commits into
mainfrom
stage-5-theming-maturity

Conversation

@ntucker

@ntucker ntucker commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add product-grade tenant branding in @reactive/silk-core: OKLCH generateScale, paired light/dark generatePairedPalette, and public checkThemeContrast / contrast helpers (with culori).
  • Split web theme-scope CSS vars into semanticVars vs customVars so named nests replace tenant semantics in portals while component hooks still inherit.
  • Freeze and document the public component CSS-variable surface (silkComponentVarMeta + Theming.mdx sync test); ship Ocean/Ember TenantGallery and ThemePlayground docs exit demos.

Test plan

  • yarn build && yarn typecheck && yarn test
  • yarn test:packed && yarn test:perf
  • yarn docs:build && yarn test:storybook
  • Spot-check Theme → TenantGallery (four panels) and Theme → ThemePlayground (seed/scheme controls + contrast readout)
  • Confirm Dialog/Select portal under outer tenant + inner colorScheme="dark" keeps --silk-button-* hooks without outer semantic surfaces

Made with Cursor

Add OKLCH palette generation with paired light/dark derivation, public contrast auditing, portal variable channels that preserve component hooks across named nests, and docs TenantGallery/ThemePlayground exit demos.

Co-authored-by: Cursor <cursoragent@cursor.com>
@changeset-bot

changeset-bot Bot commented Jul 26, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 3e3bcf6

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
@reactive/silk-core Minor
@reactive/silk Minor
@reactive/silk-docs Patch
@reactive/silk-native-spike Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Co-authored-by: Cursor <cursoragent@cursor.com>
@ntucker
ntucker merged commit e2aa5b9 into main Jul 26, 2026
3 checks 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.

1 participant