Skip to content

Bug: CSS class overwriting from svelte library #2083

Closed Answered by saadeghi
MuslemRahimi asked this question in Q&A
Discussion options

You must be logged in to vote

This package, adds a class name called range when you set range = {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.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@MuslemRahimi
Comment options

@saadeghi
Comment options

Answer selected by MuslemRahimi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants