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
I would expect that Less variables values like @black to be resolved using the import of default.less and suscequent imports in that file. But this is not the case. It seems that @black is simply treated as a string value.
Is there a way to resolve those variables before sending it to modifyVars ?
If it's not possible, it would be nice to have antd-theme to output the theme with all values resolved to css, #000 instead of @black, etc.
Thank you
The text was updated successfully, but these errors were encountered:
I got an error
Variable @black is undefined
when using withcraco-antd
in create-react-app project.craco.config.js
antd.customize.less
I would expect that Less variables values like
@black
to be resolved using the import ofdefault.less
and suscequent imports in that file. But this is not the case. It seems that@black
is simply treated as a string value.Is there a way to resolve those variables before sending it to
modifyVars
?If it's not possible, it would be nice to have
antd-theme
to output the theme with all values resolved to css,#000
instead of@black
, etc.Thank you
The text was updated successfully, but these errors were encountered: