rename spacers -> spacer

This commit is contained in:
Ray Elliott 2021-01-07 16:29:23 +00:00
parent 22a23118e8
commit 370921f23e
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ const postcssFunctions = {
const lightness = `var(${name}__l)`;
return `hsla(${hue}, ${saturation}, ${lightness}, ${alpha})`;
},
spacers(number = 1) {
spacer(number = 1) {
return `calc(var(--spacer-height, 1.5rem) * ${number})`;
},
};