postcss / postcss-custom-properties

Use Custom Properties in CSS
https://postcss.github.io/postcss-custom-properties
MIT License
595 stars 77 forks source link

Emojis in property name are not working ☹️ #237

Open raphaelthanner opened 3 years ago

raphaelthanner commented 3 years ago
:root {
     /** is working **/
    --checkbox-size: 2em;

     /** it does not work! **/
    --✅-size: 2em;
}
jtomaszewski commented 2 years ago

Out of curiosity, why would a variable name with emoji in itself be a good variable name?

Semigradsky commented 2 years ago

Nobody said this. Anyway by spec it is a correct custom property name.

Antonio-Laguna commented 2 years ago

Fixed as of 12.1.0