Last active
March 4, 2022 14:34
-
-
Save zastrow/7f817a4a519b7d2b3514f49ec7efc690 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains hidden or 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
> 1% | |
last 2 versions |
This file contains hidden or 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
// ---- | |
// libsass (v3.5.4) | |
// ---- | |
// Grayscale | |
@function gray($level) { | |
@if $level == 0 { | |
@return white; | |
} | |
@else if $level == 100 { | |
@return black; | |
} | |
@else { | |
@return darken(white, $level * 1%);; | |
} | |
} | |
.example-1 { | |
color: gray(0); | |
} | |
.example-2 { | |
color: gray(44); | |
} | |
.example-3 { | |
color: gray(100); | |
} |
This file contains hidden or 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
.example-1 { | |
color: white; | |
} | |
.example-2 { | |
color: #8f8f8f; | |
} | |
.example-3 { | |
color: black; | |
} |
This file contains hidden or 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
{ | |
"sass": { | |
"compiler": "dart-sass/1.32.12", | |
"extensions": { | |
"libsass": "3.5.4" | |
}, | |
"syntax": "SCSS", | |
"outputStyle": "expanded" | |
}, | |
"autoprefixer": false | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment