mui / pigment-css

Pigment CSS is a zero-runtime CSS-in-JS library that extracts the colocated styles to their own CSS files at build time.
MIT License
389 stars 18 forks source link

CSS layers? #91

Open omerman opened 1 month ago

omerman commented 1 month ago

Summary

Basically I want to be able to port the css onto a layer so that I can determined the order of the css that will be applied

Examples

No response

Motivation

No response

Search keywords: layers, css layers, prepend

brijeshb42 commented 3 weeks ago

Could you explain the exact use case you are looking for ? Is it for global layers, or component/utils specific layers ? You might also be interested in this.

omerman commented 3 weeks ago

Im using scss and tailwind and would like to make the pigment output be under a css layer, will that be supported in the future?

omerman commented 1 week ago

I see this now: #140, So I guess layers will be included in next versions? :)