-
Notifications
You must be signed in to change notification settings - Fork 918
Open
Description
What problem does this feature solve?
I try to import a file which has global styles to under scoped style. But they compiled scoped again.
Here is my code
.component-name {
@import "./global_styles";
}
So global_styles is again scoped. But what if I can add global styles with like this
.component-name {
@import :global("./global_styles");
}
This way is very useful when you try to manage child component's styles.
What does the proposed API look like?
.component-name {
@import :global("./global_styles");
}
Metadata
Metadata
Assignees
Labels
No labels