GoogleChromeLabs / postcss-jit-props

A CSS custom property helper based on PostCSS. Supply a pool of variables and this plugin will add them to the stylesheet as they are used.
https://stackblitz.com/edit/jit-open-props?file=postcss.config.js
Apache License 2.0
210 stars 9 forks source link

Support spaces inside parens #6

Closed kucrut closed 2 years ago

kucrut commented 2 years ago

Examples:

var( --pink )
var( --red, #f00 )
var( --red, var( --pink ), hotpink)
@media ( --dark )

Fixes #4