Sha256: 08c7e7168a99da5e61d60890e03c7e05616e6eee34001c7c3c1278fd833ca4f4
Contents?: true
Size: 496 Bytes
Versions: 5
Compression:
Stored size: 496 Bytes
Contents
@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)); }
Version data entries
5 entries across 5 versions & 1 rubygems