



























Clerk's appearance variables object now supports CSS custom properties (CSS variables), making it easier to integrate with your existing design system and enable dynamic theming without JavaScript configuration changes.
You can now use CSS variables directly in your appearance configuration:
Reference these variables in your Clerk configuration:
With CSS variables, your theme changes automatically based on user preferences, system settings, or any other CSS-driven logic:
No need to swap Clerk themes or update JavaScript configuration - the components automatically pick up the new colors.
This enhancement makes it seamless to integrate Clerk with existing design systems:
To learn more about support for CSS variables, check out the documentation.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。