mirror of
https://github.com/OliveTin/OliveTin
synced 2025-12-18 12:05:32 +00:00
25 lines
540 B
JavaScript
25 lines
540 B
JavaScript
// NOTICE: This file is generated by Rollup. To modify it,
|
|
// please instead edit the ESM counterpart and rebuild with Rollup (npm run build).
|
|
'use strict';
|
|
|
|
/** @typedef {import('postcss').AtRule} AtRule */
|
|
|
|
/**
|
|
* @param {AtRule} atRule
|
|
* @param {string} params
|
|
* @returns {AtRule} The atRulearation that was passed in.
|
|
*/
|
|
function setAtRuleParams(atRule, params) {
|
|
const raws = atRule.raws;
|
|
|
|
if (raws.params) {
|
|
raws.params.raw = params;
|
|
} else {
|
|
atRule.params = params;
|
|
}
|
|
|
|
return atRule;
|
|
}
|
|
|
|
module.exports = setAtRuleParams;
|