UNPKG

315 BJavaScriptView Raw
1// tooling
2import getReplacedString from './get-replaced-string';
3
4// transform at-rules
5export default function transformAtrule(atrule, result, opts) {
6 // update the atrule params with its variables replaced by their corresponding values
7 atrule.params = getReplacedString(atrule.params, atrule, result, opts);
8}