meshviewer/assets/icons/_icon-mixin.scss
2016-07-12 21:18:13 +02:00

8 lines
124 B
SCSS

@mixin icon($name, $code, $prefix: 'ion-') {
.#{$prefix}#{$name} {
&::before {
content: '#{$code}';
}
}
}