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

'@unocss/reset/tailwind.css' Causes the Element-Plus button to have no color #1254

Closed
k983551019 opened this issue Jul 13, 2022 · 4 comments
Closed

Comments

@k983551019
Copy link

button, [type='button'], [type='reset'], [type='submit'] {
-webkit-appearance: button;
background-color: transparent;
background-image: none;
}
image

image

@k983551019 k983551019 changed the title '@unocss/reset/tailwind.css' 会导致element-plus button 无色 '@unocss/reset/tailwind.css' Causes the Element-Plus button to have no color Jul 13, 2022
@antfu
Copy link
Member

antfu commented Jul 14, 2022

You don't need the reset when using with component lib

@antfu antfu closed this as completed Jul 14, 2022
@antfu antfu closed this as not planned Won't fix, can't repro, duplicate, stale Jul 14, 2022
@lainbo
Copy link

lainbo commented Jul 26, 2022

In "main.js/ts" move import '@unocss/reset/tailwind.css' to the top of import App from './App.vue' or to the top of the entire "main.js/ts", which may work

@JessicaSachs
Copy link

@antfu without the reset, rings, active state, etc don't work. Is it possible to have a scoped reset?

@zyyv
Copy link
Member

zyyv commented Feb 17, 2023

@antfu without the reset, rings, active state, etc don't work. Is it possible to have a scoped reset?

Related to #2127, we will soon have in #2128. You can review or comment at #2128.

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

5 participants