| 123456789101112131415161718192021 |
- @use './hsl-functions' as hsl;
- @function color-yiq($color, $dark: $yiq-text-dark, $light: $yiq-text-light) {
- @return hsl.contrast($color);
- }
- @function lighten($color, $degrees) {
- @return hsl.lighten($color, $degrees);
- }
- @function darken($color, $degrees) {
- @return hsl.darken($color, $degrees);
- }
- @function mix($color1, $color2, $degrees) {
- @return $color1;
- }
- @function rgba($color, $degrees) {
- @return hsl.alpha($color, $degrees);
- }
|