thysultan / stylis

light – weight css preprocessor
https://stylis.js.org
MIT License
1.71k stars 82 forks source link

CSS variables should not be prefixed #301

Closed siriwatknp closed 1 year ago

siriwatknp commented 1 year ago

Current behavior:

Some specific variable such as --CircularProgress-animation is prefixed with --webkit. This looks like a bug to me because this variable is not prefixed --Circle-animation.

To reproduce:

  1. Open this Code Sandbox
  2. Inspect the box
  3. You will see this: Screen Shot 2565-09-08 at 17 17 23

Expected behavior:

The CSS variable should not be prefixed.

Environment information:

Andarist commented 1 year ago

The PR with a fix can be found here: https://github.com/thysultan/stylis/pull/302