rename spacers -> spacer
This commit is contained in:
parent
22a23118e8
commit
370921f23e
|
@ -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})`;
|
||||
},
|
||||
};
|
||||
|
|
Reference in New Issue