hippie-style/functions/_color.scss
Stephan b60dd80cd5 added current state from hippie main repo
commit state 175816
source/style/hippie
2019-11-12 20:18:02 +01:00

13 lines
316 B
SCSS

@function createColorMap($color, $percentage, $opacity) {
$map: (
base: $color,
light: lighten($color, $percentage),
dark: darken($color, $percentage),
trans: transparentize($color, $opacity)
);
@return $map;
}
@function basic_color($key: 'alpha') {
@return map-get($color_palette, $key);
}