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
themeOverrides和主题编辑器可以添加或修改select的border样式 因为同样为输入组件的input是支持border的 并且select组件中也有用来配置border的元素
可以在themeOverrides和主题编辑器中添加或修改select的border样式
The text was updated successfully, but these errors were encountered:
可以改的,Select 组件复用了内部组件 InternalSelection,所以改的话需要通过 peers,参考文档 使用 peers 主题变量
<script lang="ts"> import { NConfigProvider, GlobalThemeOverrides } from 'naive-ui' const themeOverrides: GlobalThemeOverrides = { Select: { peers: { InternalSelection: { border: '1px solid red' } } } } </script> <template> <n-config-provider :theme-overrides="themeOverrides"> <my-app /> </n-config-provider> </template>
Sorry, something went wrong.
明白了,感谢🙏
No branches or pull requests
This function solves the problem (这个功能解决的问题)
themeOverrides和主题编辑器可以添加或修改select的border样式
因为同样为输入组件的input是支持border的
并且select组件中也有用来配置border的元素
Expected API (期望的 API)
可以在themeOverrides和主题编辑器中添加或修改select的border样式
The text was updated successfully, but these errors were encountered: