mirror of
https://github.com/andrewgioia/keyrune.git
synced 2024-11-05 16:34:45 +00:00
28 lines
822 B
SCSS
28 lines
822 B
SCSS
|
// set symbol class
|
||
|
.#{$keyrune_prefix} {
|
||
|
display: $setsymbol_display;
|
||
|
font: $setsymbol_font;
|
||
|
font-size: $setsymbol_font_size;
|
||
|
line-height: $setsymbol_line_height;
|
||
|
text-rendering: $setsymbol_text_rendering;
|
||
|
transform: $setsymbol_transform;
|
||
|
speak: $setsymbol_speak;
|
||
|
text-transform: $setsymbol_text_transform;
|
||
|
vertical-align: $setsymbol_vertical_align;
|
||
|
// Better font rendering
|
||
|
-webkit-font-smoothing: $setsymbol_webkit_font_smoothing;
|
||
|
-moz-font-smoothing: $setsymbol_moz_font_smoothing;
|
||
|
|
||
|
// default symbol if the set does not exist yet, or setcode does not match
|
||
|
&:before {
|
||
|
content: $setsymbol_default_content;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// set symbol size modifier classes
|
||
|
@each $size in $symbol_sizes {
|
||
|
.#{$keyrune_prefix}.#{nth($size, 1)} {
|
||
|
font-size: #{nth($size, 2)}
|
||
|
}
|
||
|
}
|