Add chart color swatches based on css colors

This commit is contained in:
Michael Lange
2018-09-07 09:57:33 -07:00
parent e8c860b330
commit 5b927d3654

View File

@@ -85,4 +85,12 @@ $lost: $dark;
&.lost {
background: $lost;
}
@each $name, $pair in $colors {
$color: nth($pair, 1);
&.is-#{$name} {
background: $color;
}
}
}