You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Utilizing CSS custom properties provides a more easy approach for theming ant components and addresses the issue of flickering that may occur when loading or refreshing a page using dynamic theme switching.
Expected outcomes include:
Switch to dark/default theme via CSS custom properties by applying either the .dark/.default CSS class to the root element,
utilizing the color palette through var(--ant-prefix-primary-1) across the application without reliance on LESS variable.
What does the proposed API look like?
Transferring all color operation functions such as fading and darkening from component-specific style files (e.g., table/style/index.less) to the root theme files like dark.less and variable.less would address this problem.
I'm having a similar issue: #3611
I can't override these less variables since they're used as parameters to less color operation functions.
What problem does this feature solve?
Utilizing CSS custom properties provides a more easy approach for theming ant components and addresses the issue of flickering that may occur when loading or refreshing a page using dynamic theme switching.
Expected outcomes include:
What does the proposed API look like?
Transferring all color operation functions such as fading and darkening from component-specific style files (e.g., table/style/index.less) to the root theme files like dark.less and variable.less would address this problem.
I'm having a similar issue: #3611
I can't override these less variables since they're used as parameters to less color operation functions.
note: I'm using dark theme values for these variables.
prof of concept:
angular-ng-zorro-css-theme
The text was updated successfully, but these errors were encountered: