Skip to content

Commit 01da25a

Browse files
committed
Fix(web): Declare font-family for Tag so it doesn't rely on inheritance
1 parent 22047be commit 01da25a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

packages/web/src/components/Tag/_Tag.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
.lmc-Tag {
55
display: inline-block;
66
padding: theme.$padding-y theme.$padding-x;
7+
font-family: theme.$font-family;
8+
font-weight: theme.$font-weight;
79
font-size: theme.$font-size;
810
text-align: center;
911
line-height: theme.$line-height;

packages/web/src/components/Tag/_theme.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
$padding-x: tokens.$space-4;
44
$padding-y: tokens.$space-4;
5+
$font-family: tokens.$font-family-default;
6+
$font-weight: tokens.$font-weight-regular;
57
$font-size: tokens.$font-size-3;
68
$line-height: tokens.$line-height-small;
79
$border-radius: tokens.$radius-1;

0 commit comments

Comments
 (0)