Release v1.0.5 #61
edwinvakayil
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Overview
This release adds
lib/registry-theme.tsto the registry flow and moves registry theme tokens out ofglobals.css.Registry components that rely on shared theme variables now ship with their own local theme helper, which makes installs more portable and predictable across projects.
What changed
lib/registry-theme.tsregistryThemeinstead of relying on app-levelglobals.csslib/registry-theme.tswhen requiredWhy this matters
Before this change, some installed registry components depended on theme values defined in
globals.css.Now:
npx shadcn@latest add @iconiq/<component>behave more reliably across different appsInstallation behavior
When a component needs registry theme tokens, the generated install now also includes:
lib/registry-theme.tsSo imports like:
are satisfied automatically after install.
Notes
Internal improvements
lib/registry-theme.tsThis discussion was created from the release Release v1.0.5.
All reactions