UNPKG

postcss-advanced-variables-mod

Version:

Use Sass-like variables, conditionals, and iterators in CSS

9 lines (7 loc) 300 B
// tooling import getReplacedString from './get-replaced-string'; // transform generic at-rules export default function transformAtrule(rule, opts) { // update the at-rule params with its variables replaced by their corresponding values rule.params = getReplacedString(rule.params, rule, opts); }