File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change 7
7
$size : $icon-size ,
8
8
$style : $icon-style ,
9
9
$position : " before" ,
10
- $partial : false,
11
- $defaultFontProperties : true
10
+ $partial : false
12
11
) {
13
12
& ::#{$position } {
14
- @if $defaultFontProperties {
15
- --icon-font-family : " #{" icons-" + $size + " -" + $style } " ,
16
- " missing-icons" ;
17
- --icon-font-size : #{to-rem ($pxValue : $size )} ;
18
- }
19
-
20
13
@if $position == " before" {
21
14
margin-inline-end : var (--icon-margin-after , #{$icon-content-space } );
22
15
}
35
28
display : inline-block ;
36
29
/* ** icon - partial ***/
37
30
// * use !important to prevent issues with browser extensions that change fonts
38
- font-family : var (--icon-font-family ) !important ;
31
+ font-family : var (
32
+ --icon-font-family ,
33
+ " #{" icons-" + $size + " -" + $style } , missing-icons"
34
+ ) !important ;
39
35
40
- font-size : var (--icon-font-size );
36
+ font-size : var (--icon-font-size , #{ to-rem ( $pxValue : $size )} );
41
37
font-style : normal ;
42
38
font-variant : normal ;
43
39
You can’t perform that action at this time.
0 commit comments