File "_functions.scss"

Full Path: /home/krishnamexports/public_html/panel/vendors/iconfonts/mdi/scss/_functions.scss
File size: 512 bytes
MIME-type: text/plain; charset=us-ascii
Charset: utf-8

@function char($character-code) {
    @if function-exists("selector-append") {
        @return unquote("\"\\#{$character-code}\"");
    }

    @if "\\#{'x'}" == "\\x" {
        @return str-slice("\x", 1, 1) + $character-code;
    }
    @else {
        @return #{"\"\\"}#{$character-code + "\""};
    }
}

@function mdi($name) {
    @if map-has-key($mdi-icons, $name) == false {
        @warn "Icon #{$name} not found.";
        @return "";
    }
    @return char(map-get($mdi-icons, $name));
}