Is there a way to use a global class in CSS Modules and SCSS effectively?
According to my interpretation of the CSS Module's documentation on Composing from global class names, the suggested approach is:
:global {
.bar {
color: purple;
}
}
.my-icon {
composes: bar from global;
}
However, when I try this method, I encounter the error message:
referenced class name "bar" in composes not found
Can someone guide me on how to correctly compose from a global class in this scenario?