This repository has been archived by the owner on Apr 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 300
This repository has been archived by the owner on Apr 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 300
Dynamic classname in css file #337
Comments
For some reason so in your package.json change the
|
This was referenced May 9, 2021
Thank you! This did indeed work. Only problem is that now I can't use modules, so not the ideal solution, but I can make it work. I'm assuming there's no way to use both right? |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I am adding a scss file for my component
But after compiled in dist/index.css file the classname added inside my scss files get changed
SCSS :
.selected{
background-color: blue;
color: white;
}
.blured{
color: #ccc;
opacity: 0.5;
pointer-events: none;
}
.header{
width: 100px;
}
Index.css
._NBCalender__selected__2iz2b{
background-color: blue;
color: white;
}
._NBCalender__blured__2dYaJ{
color: #ccc;
opacity: 0.5;
pointer-events: none;
}
._NBCalender-style__selected__tbQ82 {
background-color: blue;
color: white; }
._NBCalender-style__blured__2f44- {
color: #ccc;
opacity: 0.5;
pointer-events: none; }
._NBCalender-style__header__3kezG {
width: 100px; }
Is there any way to fix this
The text was updated successfully, but these errors were encountered: