From 1133e71b1627bdc7ac64653458988a0713f6cdb0 Mon Sep 17 00:00:00 2001 From: ray Date: Tue, 5 Jan 2021 11:39:25 +0000 Subject: [PATCH] update --- mixins.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mixins.js b/mixins.js index 7fd3d28..a95e9a0 100644 --- a/mixins.js +++ b/mixins.js @@ -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; }