Renovate bot | f591dcf | 2023-12-30 14:13:54 +0000 | [diff] [blame] | 1 | @import '../iconfont/mixins'; |
2 | |||||
3 | @function material-icons-content($codepoint) { | ||||
4 | @return unquote('"\\#{$codepoint}"'); | ||||
5 | } | ||||
6 | |||||
7 | @mixin material-icon($name, $pseudo: 'before') { | ||||
8 | $codepoint: map-get($material-icons-codepoints, $name); | ||||
9 | |||||
10 | &::#{$pseudo} { | ||||
11 | content: material-icons-content($codepoint); | ||||
12 | } | ||||
13 | } |