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

Alert组件Text相关的主题配置属性无效 #1495

Closed
zguiyang opened this issue Nov 1, 2021 · 4 comments · Fixed by #1501
Closed

Alert组件Text相关的主题配置属性无效 #1495

zguiyang opened this issue Nov 1, 2021 · 4 comments · Fixed by #1501
Assignees
Labels
bug Something isn't working

Comments

@zguiyang
Copy link

zguiyang commented Nov 1, 2021

TuSimple/naive-ui version (版本)

2.20.0

Vue version (Vue 版本)

3.2.7

Browser and its version (浏览器及其版本)

95.0.4638.54

System and its version (系统及其版本)

Macos 10.15.7

Node version (Node 版本)

14.18.1

Reappearance link (重现链接)

https://codesandbox.io/s/priceless-noether-pgduj?file=/src/App.vue

Reappearance steps (重现步骤)

Alert组件设置contentTextColorWarning、titleTextColorWarning 等文字颜色属性均未生效

Expected results (期望的结果)

期望在不同的状态下展示不同的字体颜色

Actual results (实际的结果)

设置相关的主题配置属性无效

Remarks (补充说明)

https://www.naiveui.com/zh-CN/os-theme/components/alert,此页面就可以复现此问题

@github-actions github-actions bot added the untriaged need to sort label Nov 1, 2021
@07akioni
Copy link
Collaborator

07akioni commented Nov 1, 2021

@Talljack

@Talljack
Copy link
Contributor

Talljack commented Nov 1, 2021

demo跑不起来

@07akioni
Copy link
Collaborator

07akioni commented Nov 1, 2021

demo跑步起来

配一下试试就知道了

@Volankey
Copy link
Collaborator

Volankey commented Nov 1, 2021

文字 color 均没有使用对应类型的 color ,而是 contentTextColor, titleTextColor

@Volankey Volankey added bug Something isn't working and removed untriaged need to sort labels Nov 1, 2021
@Talljack Talljack self-assigned this Nov 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants