Bug: CSS class overwriting from svelte library #2083
-
Beta Was this translation helpful? Give feedback.
Answered by
saadeghi
Jul 2, 2023
Replies: 1 comment 2 replies
-
This package, adds a class name called You can add a prefix to all daisyUI class names to avoid that conflict: https://daisyui.com/docs/config/ Or you can completely remove the daisyUI |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
MuslemRahimi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This package, adds a class name called
range
when you setrange = {true}
This creates a conflict with a daisyUI class name
range
.It looks like this package doesn't provide a way to customize that class name and it also doesn't provide a prefix for the class names.
You can add a prefix to all daisyUI class names to avoid that conflict: https://daisyui.com/docs/config/
Or you can completely remove the daisyUI
range
class name using a PostCSS plugin if you don't wan't to use it elsewhere.