Skip to content

Commit d1fa7d7

Browse files
committed
refactor: running prettier
1 parent 5273fc0 commit d1fa7d7

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

source/_patterns/00-base/icons/_icons.helpers.scss

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
}
1616

1717
&::#{$position} {
18-
--icon-font-family: "#{"icons-" + $size + "-" + $style}",
19-
"missing-icons" !important;
18+
--icon-font-family:
19+
"#{"icons-" + $size + "-" + $style}", "missing-icons" !important;
2020

2121
font-size: var(
2222
--icon-font-size-#{$position},
@@ -106,8 +106,8 @@
106106
// Icon meta data mixin
107107
@mixin iconMeta($size: $icon-size, $style: $icon-style, $position: "before") {
108108
&::#{$position} {
109-
--icon-font-family: "#{"icons-" + $size + "-" + $style}",
110-
"missing-icons" !important;
109+
--icon-font-family:
110+
"#{"icons-" + $size + "-" + $style}", "missing-icons" !important;
111111
--icon-font-size: #{to-rem($pxValue: $size)};
112112
}
113113
}

source/_patterns/00-base/icons/enterprise/_icons.custom-properties.scss

+8-4
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
&[data-icon],
99
&[data-icon-before] {
1010
&::before {
11-
--icon-font-family: "#{"icons-" + $icon-size + "-" + $icon-domain + "-" + $icon-style}",
11+
--icon-font-family:
12+
"#{"icons-" + $icon-size + "-" + $icon-domain + "-" + $icon-style}",
1213
"missing-icons" !important;
1314
--icon-font-size: #{to-rem($pxValue: $icon-size)};
1415
}
@@ -17,7 +18,8 @@
1718
[data-icon-variant-after="#{$icon-size}-#{$icon-domain}-#{$icon-style}"] {
1819
&[data-icon-after] {
1920
&::after {
20-
--icon-font-family: "#{"icons-" + $icon-size + $icon-domain + "-" + "-" + $icon-style}",
21+
--icon-font-family:
22+
"#{"icons-" + $icon-size + $icon-domain + "-" + "-" + $icon-style}",
2123
"missing-icons" !important;
2224
--icon-font-size: #{to-rem($pxValue: $icon-size)};
2325
}
@@ -30,7 +32,8 @@
3032
&[data-icon],
3133
&[data-icon-before] {
3234
&::before {
33-
--icon-font-family: "#{"icons-" + $icon-domain + "-" + $icon-style}",
35+
--icon-font-family:
36+
"#{"icons-" + $icon-domain + "-" + $icon-style}",
3437
"missing-icons" !important;
3538
--icon-font-size: #{to-rem($pxValue: 16)};
3639
}
@@ -39,7 +42,8 @@
3942
[data-icon-variant-after="#{$icon-domain}-#{$icon-style}"] {
4043
&[data-icon-after] {
4144
&::after {
42-
--icon-font-family: "#{"icons-" + $icon-domain + "-" + $icon-style}",
45+
--icon-font-family:
46+
"#{"icons-" + $icon-domain + "-" + $icon-style}",
4347
"missing-icons" !important;
4448
--icon-font-size: #{to-rem($pxValue: 16)};
4549
}

0 commit comments

Comments
 (0)