Merge pull request #24 from moogblob/master
Better handling of icons not in registry
This commit is contained in:
commit
70257e8f60
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user