rename function
This commit is contained in:
parent
30f18de039
commit
210fb8bc0a
|
@ -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)`;
|
||||||
|
|
Reference in New Issue