Z-index pixel unit
KatsanKat opened this issue · 1 comments
Hello !
I noticed from the playground theme that the zIndex values are written in pixel unit :
pinceau/playground/theme/tokens.config.ts
Lines 248 to 270 in 28a05cf
Since the mdn doc specified that z-index only supports integers,
is there a particular reason you choosed to define it with px or is it a mistake ?
Hello ! I noticed from the playground theme that the zIndex values are written in pixel unit :
pinceau/playground/theme/tokens.config.ts
Lines 248 to 270 in 28a05cf
Since the mdn doc specified that z-index only supports integers, is there a particular reason you choosed to define it with px or is it a mistake ?
This should be a copy-paste error. I noticed that the value of z-index is the same as the value of space, so it was likely copied by mistake. I made a PR for this. https://github.com/Tahul/pinceau/pull/69/files