eswat2 / proto-tailwindcss-clrs

Generate Custom Colors in Tailwind CSS...
https://www.npmjs.com/package/proto-tailwindcss-clrs
ISC License
3 stars 0 forks source link

add option for default values #8

Closed eswat2 closed 3 years ago

eswat2 commented 3 years ago

should give an option to provide default values if the css vars are absent:

'ds1-primary': 'var(--ds1-primary, "#ff851b")'

[CSS var()](https://developer.mozilla.org/en-US/docs/Web/CSS/var()) -- moz://a

eswat2 commented 3 years ago

This will let me remove the root vars...

eswat2 commented 3 years ago

DONE