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
400 stars 19 forks source link

[nextjs] using `!important` does not work #34

Closed siriwatknp closed 2 months ago

siriwatknp commented 2 months ago

Steps to reproduce

See https://github.com/mui/material-ui/actions/runs/8794041697/job/24132847084?pr=42001 from https://github.com/mui/material-ui/pull/42001

Current behavior

Build errors on components that contain !important in the style.

image

Expected behavior

The build should pass.

Context

No response

Your environment

npx @mui/envinfo ``` Don't forget to mention which browser you used. Output from `npx @mui/envinfo` goes here. ```

Search keywords: important