Created
February 17, 2021 12:32
-
-
Save DrMabuse23/a0830ed1e8c310321dee7546248486f9 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
$dsp-md-imprint: "e900"; | |
@function unicode($str){ | |
@return unquote("\"")+unquote(str-insert($str, "\\", 1))+unquote("\"") | |
} | |
@mixin makeIcon($arg, $val , $os: null) { | |
// @debug $os; | |
// @debug $arg; | |
// @debug $val; | |
@if($os) { | |
.ion-#{$arg}:before, | |
.ion-#{$os}-#{$arg}:before , | |
.ion-#{$os}-#{$arg}-outline:before { | |
content: unicode($val); | |
} | |
} @else { | |
.ion-#{$arg}:before, | |
.ion-#{$arg}-outline:before, | |
.ion-md-#{$arg}:before, | |
.ion-md-#{$arg}-outline:before, | |
.ion-ios-#{$arg}:before, | |
.ion-ios-#{$arg}-outline:before { | |
content: unicode($val); | |
} | |
} | |
} | |
@include makeIcon(dsp-imprint, $dsp-md-imprint, md); |
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
.ion-dsp-imprint:before, | |
.ion-md-dsp-imprint:before, | |
.ion-md-dsp-imprint-outline:before { | |
content: "\e900"; | |
} |
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.26.11", | |
"extensions": {}, | |
"syntax": "SCSS", | |
"outputStyle": "expanded" | |
}, | |
"autoprefixer": false | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment