Open
Description
Hi there!
We are trying to theme our CSS modules. It would be a huge benefit if we could do something like this:
:import("../fancy-theme/colors.css || ../base-theme/colors.css") { ... }
This would allow us to have a specific and a base theme and fallback to the base theme's file if we don't override it in the other one. The import file path with the ||
could be generated by our theming plugin (https://github.com/andywer/postcss-theme).
We could implement it ourselves and open a PR.
But do you actually like the concept?
Quick feedback would be highly appreciated :)
Thanks in advance!
Metadata
Metadata
Assignees
Labels
No labels