Last active
July 19, 2022 12:14
-
-
Save amrikarisma/4e41a0389e2ad43083e54c508943183f to your computer and use it in GitHub Desktop.
auto mix color on hover
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Shade a color: mix a color with black | |
// Example : shade-color($color__btn-primary, 10%) | |
@function shade-color($color, $weight) { | |
@return mix(black, $color, $weight); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment