master-co / css

The CSS Language and Framework
https://css.master.co
MIT License
1.82k stars 41 forks source link

🐞 Value in config.variables is not recognized when it is zero #335

Closed 0Miles closed 7 months ago

0Miles commented 8 months ago

Description

When the variable value set in master.config.ts is 0, it will become an invalid value.

Reproduction

  1. Set a variable to zero in master.config.ts image

  2. Use the variable

    <div class="w:50 h:50 box-shadow:0|0|$(button-shadow-blur)|2|black"></div>

    The variable will have an invalid value image

System Informations

No response