diff --git a/src/_config/utils/clamp-generator.js b/src/_config/utils/clamp-generator.js index 0617e6b..26f7db8 100644 --- a/src/_config/utils/clamp-generator.js +++ b/src/_config/utils/clamp-generator.js @@ -18,7 +18,7 @@ export const clampGenerator = tokens => { return tokens.map(({name, min, max}) => { if (min === max) { - return `${min / rootSize}rem`; + return {name, value:`${min / rootSize}rem`}; } // Convert the min and max sizes to rems