Add HSLA colors with Sass map fallbacks

This commit is contained in:
Jeremy Thomas
2020-08-27 14:01:04 +02:00
parent cfa4b562b3
commit 85cdc54826
6 changed files with 64 additions and 14 deletions

7
sass/themes/basic.sass Normal file
View File

@@ -0,0 +1,7 @@
\:root
--black: #{$black}
--black-70: rgba(0, 0, 0, 0.7)
--white: #{$white}
// +registerCSSVarColor('primary', ($primary, $primary-invert, $primary-light, $primary-dark))
@each $name, $components in $colors
+registerCSSVarColor($name, $components)