update
This commit is contained in:
parent
42607e30c8
commit
1133e71b16
|
@ -9,9 +9,9 @@ function defineColor(mixin, name, hex) {
|
|||
obj[name] = hex;
|
||||
// need to convert hue to string otherwise postcss (is it postcss?) appends
|
||||
// 'px' to the property's value.
|
||||
obj[`${name}-h`] = hue.toString();
|
||||
obj[`${name}-s`] = `${sat}%`;
|
||||
obj[`${name}-l`] = `${light}%`;
|
||||
obj[`${name}__h`] = hue.toString();
|
||||
obj[`${name}__s`] = `${sat}%`;
|
||||
obj[`${name}__l`] = `${light}%`;
|
||||
return obj;
|
||||
}
|
||||
|
||||
|
|
Reference in New Issue