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

[CSS] class 权重过低,被 tailwindcss3 Preflight 样式覆盖 #1808

Closed
Innei opened this issue Dec 10, 2021 · 2 comments · Fixed by #1820
Closed

[CSS] class 权重过低,被 tailwindcss3 Preflight 样式覆盖 #1808

Innei opened this issue Dec 10, 2021 · 2 comments · Fixed by #1820
Assignees
Labels
bug Something isn't working

Comments

@Innei
Copy link
Contributor

Innei commented Dec 10, 2021

TuSimple/naive-ui version (版本)

2.21.5

Vue version (Vue 版本)

3.2.24

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

Chrome 96.0.4664.55

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

macOS12

Node version (Node 版本)

Reappearance link (重现链接)

https://github.com/Innei/tailwindcss3-naive-ui-reproduction

Reappearance steps (重现步骤)

启动此项目,观察按钮的背景颜色被覆盖

Expected results (期望的结果)

颜色不被覆盖

Actual results (实际的结果)

颜色被覆盖

Remarks (补充说明)

image
image

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

07akioni commented Dec 10, 2021

从根源上来讲应该逐渐添加一些 css var 的前缀了

@07akioni
Copy link
Collaborator

07akioni commented Dec 10, 2021

这个我们按组件慢慢加吧,先把 button 解决

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.

3 participants