rename function

This commit is contained in:
Ray Elliott 2021-02-17 17:46:49 +02:00
parent 30f18de039
commit 210fb8bc0a
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
const postcssFunctions = { const postcssFunctions = {
// takes the custom property defined by defineColor or defineColorAlpha, along // takes the custom property defined by a color defining mixin, along
// with an alpha value and returns the derived css hsla() function. // with an alpha value and returns the derived css hsla() function.
toHSLA(name, alpha) { alpha(name, alpha) {
const hue = `var(${name}__h)`; const hue = `var(${name}__h)`;
const saturation = `var(${name}__s)`; const saturation = `var(${name}__s)`;
const lightness = `var(${name}__l)`; const lightness = `var(${name}__l)`;