We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
请将less变量替换为var 变量
The text was updated successfully, but these errors were encountered:
👋 @lelouch-xue,感谢给 TDesign 提出了 issue。 请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。
Sorry, something went wrong.
是指哪里?
以途中的button为例,将@btn-height-s 等 变为--btn-height-s 作为一个var是不是更好一些呢,我看现在主流的框架都变成var了, 浏览器兼容除了ie都支持的很好了
了解了,但是1.0的版本暂时不会做这种变动了,因为有一些使用方已经基于less来覆盖样式,这种改动影响比较大; 现在其实也可以基于全局变量也是可以支持组件级别的覆盖的,利用就近原则进行单个组件的二次覆盖;
.t-button { --td-brand-color: xx }
No branches or pull requests
这个功能解决了什么问题
请将less变量替换为var 变量
你建议的方案是什么
请将less变量替换为var 变量
The text was updated successfully, but these errors were encountered: