Skip to content

Instantly share code, notes, and snippets.

@DrMabuse23
Created February 17, 2021 12:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DrMabuse23/a0830ed1e8c310321dee7546248486f9 to your computer and use it in GitHub Desktop.
Save DrMabuse23/a0830ed1e8c310321dee7546248486f9 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
$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);
.ion-dsp-imprint:before,
.ion-md-dsp-imprint:before,
.ion-md-dsp-imprint-outline:before {
content: "\e900";
}
{
"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