diff --git a/playbook/app/pb_kits/playbook/pb_icon_circle/_icon_circle.scss b/playbook/app/pb_kits/playbook/pb_icon_circle/_icon_circle.scss index 660e29a369..8de3d48ab3 100644 --- a/playbook/app/pb_kits/playbook/pb_icon_circle/_icon_circle.scss +++ b/playbook/app/pb_kits/playbook/pb_icon_circle/_icon_circle.scss @@ -14,16 +14,6 @@ $pb_icon_circle_sizes: ( "xl": 100px, ); -@mixin svg_size($name, $match, $adjust) { - @if $name == $match { - $svg_xy: $adjust; - & > svg { - width: #{$svg_xy}; - height: #{$svg_xy}; - } - } -} - [class^=pb_icon_circle_kit] { display: flex; justify-content: center; @@ -57,13 +47,11 @@ $pb_icon_circle_sizes: ( border-radius: $size/2; background: $silver; color: $text_lt_light; - font-size: $size * 0.38; + font-size: if($name == "xxs", $size - 6px, $size * 0.38); line-height: $size; flex-shrink: 0; flex-grow: 0; flex-basis: $size; - - @include svg_size($name, "xxs", $size - 6px); } }