@clerk/types
4.101.20 · 27 Feb 2026MIT3.2M / weekRepositoryHomepagenpmAtom feed
Deprecated by its maintainers: This package is no longer supported. Please import types from @clerk/shared/types instead. See the upgrade guide for more info: https://clerk.com/docs/guides/development/upgrading/upgrade-guides/core-3What to use instead
Your version
4.101.29 is the newest release of 4.x.
npm marks 4.66.0 as deprecated: This package is no longer supported. Please import types from @clerk/shared/types instead. See the upgrade guide for more info: clerk.com/docs/guides/development/upgrading/upg…
In short
3 new
Release note
Minor Changes
Expose Clerk CSS variables as an option for theming Clerk's components. This change introduces CSS custom properties that allow developers to customize Clerk's appearance using standard CSS variables, providing a more flexible theming approach.
:root { --clerk-color-primary: #6d47ff; --clerk-color-primary-foreground: #ffffff; }
Deprecated variables
| Deprecated | New | | ------------------------------ | ------------------------ | | `colorText` | `colorForeground` | | `colorTextOnPrimaryBackground` | `colorPrimaryForeground` | | `colorTextSecondary` | `colorMutedForeground` | | `spacingUnit` | `spacing` | | `colorInputText` | `colorInputForeground` | | `colorInputBackground` | `colorInput` | Deprecated variables will continue to work but will be removed in the next major version.
New variables
- `colorRing` - The color of the ring when an interactive element is focused. - `colorMuted` - The background color for elements of lower importance, eg: a muted background. - `colorShadow` - The base shadow color used in the components. - `colorBorder` - The base border color used in the components. - `colorModalBackdrop` - The background color of the modal backdrop.
Display past due subscriptions properly.
Extract
SubscriptionDetails, into its own internal component, out of existing (also internal)PlanDetailscomponent.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.