Merge pull request #24 from moogblob/master

Better handling of icons not in registry
This commit is contained in:
Austin Andrews 2016-10-15 11:43:33 -05:00 committed by GitHub
commit 70257e8f60

View File

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