Last active
December 27, 2019 09:35
-
-
Save pointofpresence/d65eebccdbdef56b5bf9560e3570ccd0 to your computer and use it in GitHub Desktop.
sass color to css variable
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
@function color($color-name) { | |
@return var(--color-#{$color-name}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment