Open
Description
It would be helpful for some edge cases of components to be able to interpolate or build up the class name to create some more specific rules:
@value alert from 'alert.css';
.link {
/* link styling */
}
alert .link {
/* some link styling that is specific to alerts */
}
postcss-simple-vars
has this.
I know it's slightly against the principal of modules but rather than have some snowflake AlertLink
component that you have to know to use when being put inside an alert, it would be great if the small number of cases could be handled in CSS.