Copybara bot | be50d49 | 2023-11-30 00:16:42 +0100 | [diff] [blame^] | 1 | @import '../iconfont/variables'; |
| 2 | @import '../iconfont/mixins'; |
| 3 | |
| 4 | $material-icons-css-prefix: 'mi' !default; |
| 5 | $material-icons-css-search: '_' !default; |
| 6 | $material-icons-css-replace: '-' !default; |
| 7 | |
| 8 | .#{$material-icons-css-prefix} { |
| 9 | @include material-icons(); |
| 10 | } |
| 11 | |
| 12 | @each $name, $codepoint in $material-icons-codepoints { |
| 13 | $class-name: material-icons-str-replace( |
| 14 | $name, |
| 15 | $material-icons-css-search, |
| 16 | $material-icons-css-replace |
| 17 | ); |
| 18 | |
| 19 | .#{$material-icons-css-prefix}-#{$class-name} { |
| 20 | @include material-icon($name); |
| 21 | } |
| 22 | } |