You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support @importlist-of-media-queries syntax. Currently the plugin ignores and strips the media query from the output, making runtime-conditional import impossible without additional plugins.
Feature Use Case
@import"./dark.css" (prefers-color-scheme: dark);
Currently the plugin outputs the content of dark.css file without any media query condition, so the CSS is applied unconditionally at runtime:
/* content of dark.css */
A better output would be:
@media (prefers-color-scheme: dark) {
/* content of dark.css */
}