legacy-paperclip
legacy-paperclip copied to clipboard
have some way to pull out css variables exported at the root level
<style>
:root {
--color-background-red: red;
}
</style>
import { vars } from "./styles.pc";
vars["--color-background-red"];
Considerations
- nested style selectors changing var colors