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

Selector什么时候更新主题定制呢 #77

Open
YuGer26 opened this issue Oct 21, 2024 · 1 comment
Open

Selector什么时候更新主题定制呢 #77

YuGer26 opened this issue Oct 21, 2024 · 1 comment

Comments

@YuGer26
Copy link

YuGer26 commented Oct 21, 2024

我看已经有list了只是空白,希望能定制确认按钮背景色,搜索按钮背景色和选项右侧勾选标记颜色

@onlyling
Copy link
Contributor

这个组件比较难支持,它使用了多个基础组件组合起来的,意味着这个组件有多个 theme 对象配置。

如果 Selector 向外暴露一个 theme,需要在内部挑选出对应的变量给不同的组件。

如果每个组件都向外暴露一个 theme,就有点难受。

最开始想参考 antd 的主题嵌套,部分 API 组件也不适用。

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

2 participants