Skip to content

Commit 046917c

Browse files
committed
chore: WIP on the Roboto Flex font styling.
1 parent a7af0f0 commit 046917c

File tree

1 file changed

+14
-19
lines changed

1 file changed

+14
-19
lines changed

packages/webui/src/client/styles/counterComponents.scss

Lines changed: 14 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@
77
font-size: 7.5rem;
88
font-weight: 500;
99
line-height: 100%;
10-
font-feature-settings: 'liga' off;
10+
font-feature-settings: 'liga' off, 'tnum' on;
11+
font-variation-settings: 'GRAD' 0, 'XOPQ' 96, 'XTRA' 468, 'YOPQ' 79, 'YTAS' 750, 'YTDE' -203, 'YTFI' 738, 'YTLC' 514, 'YTUC' 712, 'opsz' 120, 'slnt' 0, 'wdth' 70, 'wght' 500;
1112
margin-bottom: 4px;
1213
}
1314

1415
.counter-component__over-under {
1516
color: black;
1617
text-align: right;
1718

18-
font-stretch: 57;
19-
font-variation-settings: 'GRAD' 0, 'XOPQ' 96, 'XTRA' 468, 'YOPQ' 79, 'YTAS' 750, 'YTDE' -203, 'YTFI' 738, 'YTLC' 548,
20-
'YTUC' 712, 'slnt' 0, 'opsz' 44;
19+
letter-spacing: 0.01em;
20+
font-variation-settings: 'GRAD' 0, 'XOPQ' 96, 'XTRA' 468, 'YOPQ' 79, 'YTAS' 750, 'YTDE' -203, 'YTFI' 738, 'YTLC' 514, 'YTUC' 712, 'opsz' 120, 'slnt' 0, 'wdth' 70, 'wght' 500;
2121

2222
.under {
2323
background-color: #ff0;
@@ -43,21 +43,17 @@
4343
padding-bottom: 0px;
4444
display: inline-block;
4545

46-
font-weight: 630;
47-
letter-spacing: -0.035em;
48-
font-feature-settings: 'liga' off;
49-
font-variation-settings: 'GRAD' 75, 'XOPQ' 82, 'XTRA' 387, 'YOPQ' 79, 'YTAS' 750, 'YTDE' -203, 'YTFI' 738, 'YTLC' 514, 'YTUC' 712, 'opsz' 14, 'slnt' 0, 'wdth' 25;
46+
font-variation-settings: 'GRAD' 100, 'wdth' 70, 'wght' 600;
5047
}
5148
}
5249

5350
.counter-component__planned-end {
54-
font-weight: 400;
51+
color: #ffffff;
5552
letter-spacing: 0%;
53+
text-align: right;
5654

57-
color: #ffffff;
58-
font-stretch: 70;
59-
font-variation-settings: 'GRAD' 0, 'XOPQ' 96, 'XTRA' 468, 'YOPQ' 79, 'YTAS' 750, 'YTDE' -203, 'YTFI' 738, 'YTLC' 548,
60-
'YTUC' 712, 'slnt' -7, 'opsz' 100, 'wdth' 80;
55+
letter-spacing: 0.01em;
56+
font-variation-settings: 'slnt' -7, 'wdth' 70, 'wght' 500;
6157
}
6258

6359
.counter-component__time-to-planned-end {
@@ -66,17 +62,16 @@
6662
text-align: right;
6763
margin-left: 1.2vw;
6864

69-
font-stretch: 57;
70-
font-variation-settings: 'GRAD' 0, 'XOPQ' 96, 'XTRA' 468, 'YOPQ' 79, 'YTAS' 750, 'YTDE' -203, 'YTFI' 738, 'YTLC' 548,
71-
'YTUC' 712, 'slnt' 0, 'opsz' 44;
65+
letter-spacing: 0.01em;
66+
font-variation-settings: 'GRAD' 0, 'XOPQ' 96, 'XTRA' 468, 'YOPQ' 79, 'YTAS' 750, 'YTDE' -203, 'YTFI' 738, 'YTLC' 514, 'YTUC' 712, 'opsz' 120, 'slnt' 0, 'wdth' 70, 'wght' 500;
7267
}
7368

7469
.counter-component__time-since-planned-end {
7570
color: #ff5218;
7671
text-align: right;
7772
margin-left: 1.2vw;
7873

79-
font-stretch: 57;
80-
font-variation-settings: 'GRAD' 0, 'XOPQ' 96, 'XTRA' 468, 'YOPQ' 79, 'YTAS' 750, 'YTDE' -203, 'YTFI' 738, 'YTLC' 548,
81-
'YTUC' 712, 'slnt' 0, 'opsz' 44;
74+
letter-spacing: 0.01em;
75+
font-variation-settings: 'GRAD' 100, 'XOPQ' 96, 'XTRA' 468, 'YOPQ' 79, 'YTAS' 750, 'YTDE' -203, 'YTFI' 738, 'YTLC' 514, 'YTUC' 712, 'opsz' 120, 'slnt' 0, 'wdth' 70, 'wght' 600;
76+
8277
}

0 commit comments

Comments
 (0)