Skip to content

Commit e8d6b91

Browse files
committed
StatsValue: Use fluid space scale
1 parent 473359e commit e8d6b91

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

app/components/stats-value.module.css

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,26 @@
66
}
77

88
.value {
9-
font-size: 30px;
9+
font-size: var(--space-m-l);
1010
font-weight: bold;
11-
line-height: 30px;
11+
line-height: 1em;
1212
}
1313

1414
.label {
1515
grid-column: 1;
1616
grid-row: 2;
1717
color: #76838a;
18-
font-size: 16px;
18+
font-size: var(--space-s);
1919
font-weight: normal;
20-
line-height: 27px;
20+
line-height: 1.6;
2121
}
2222

2323
.icon {
2424
grid-column: 2;
2525
grid-row: 1 / 3;
26-
width: 40px;
27-
height: 40px;
28-
margin-left: 16px;
29-
margin-top: 4px;
26+
width: var(--space-l-xl);
27+
height: var(--space-l-xl);
28+
margin-left: var(--space-s);
29+
margin-top: var(--space-3xs);
3030
color: #76838a;
3131
}

0 commit comments

Comments
 (0)