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
828 stars 39 forks source link

CSS layers? #91

Open omerman opened 6 months ago

omerman commented 6 months 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 6 months 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 6 months 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 5 months ago

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

oliviertassinari commented 1 month ago

Related to #226