Skip to content
New issue

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 变量针对组件进行精细化定制样式被默认组件覆盖的问题 #4958

Open
anyiblog opened this issue Jan 24, 2025 · 1 comment

Comments

@anyiblog
Copy link

tdesign-vue-next 版本

1.10.6

重现链接

No response

重现步骤

使用的vite5.1.0,我想要实现文档中的使用 less 变量 针对组件进行精细化定制。
通过按需引入了esm构建产物,在vite配置modifyVars时,自定义的组件变量被组件的默认值覆盖
请问在不加!important的情况下,如何才能自定义的样式不会被覆盖呢?

Image Image Image

期望结果

No response

实际结果

No response

框架版本

vue 3.5.13

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

Copy link
Contributor

👋 @anyiblog,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant