Skip to content

Commit 3f26c87

Browse files
olzzonhummelstrand
andcommitted
wip: additionalPreviewContent css fonts
Co-authored-by: Jonas Hummelstrand <[email protected]>
1 parent 0fd2a0d commit 3f26c87

File tree

1 file changed

+17
-13
lines changed

1 file changed

+17
-13
lines changed

packages/webui/src/client/ui/PreviewPopUp/PreviewPopUp.scss

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,24 @@
2424
visibility: none;
2525
}
2626

27+
font-family: Roboto Flex;
28+
2729
font-style: normal;
2830
font-weight: 500;
29-
font-size: 16px;
31+
font-size: 15px;
3032
line-height: 110%;
3133
/* identical to box height, or 15px */
3234
letter-spacing: 0.01em;
33-
font-feature-settings: 'liga' off;
34-
35+
font-feature-settings:
36+
'tnum' on,
37+
'lnum' off,
38+
'liga' off;
3539
color: #ffffff;
3640
font-stretch: 25;
3741
font-variation-settings:
3842
'GRAD' 0,
3943
'opsz' 15,
40-
'slnt' 9,
44+
'slnt' 0,
4145
'XOPQ' 96,
4246
'XTRA' 468,
4347
'YOPQ' 79,
@@ -57,14 +61,13 @@
5761
padding: 5px;
5862
padding-left: 2%;
5963
padding-right: 2%;
60-
font-style: italic;
6164
font-weight: 300;
6265
font-size: 16px;
6366
line-height: 120%;
6467
letter-spacing: 0.03em;
6568
font-feature-settings:
66-
'pnum' on,
67-
'lnum' on,
69+
'tnum' on,
70+
'lnum' off,
6871
'liga' off;
6972

7073
color: #ffffff;
@@ -137,22 +140,23 @@
137140
line-height: 100%;
138141
/* identical to box height, or 15px */
139142
letter-spacing: 0.01em;
140-
font-feature-settings: 'liga' off;
141-
143+
font-feature-settings:
144+
'tnum' on,
145+
'lnum' off,
146+
'liga' off;
142147
color: #ffffff;
143-
font-stretch: 25;
144148
font-variation-settings:
145-
'opsz' 20,
146149
'GRAD' 0,
147-
'slnt' 0,
148150
'XOPQ' 96,
149151
'XTRA' 468,
150152
'YOPQ' 79,
151153
'YTAS' 750,
152154
'YTDE' -203,
153155
'YTFI' 738,
154156
'YTLC' 548,
155-
'YTUC' 712;
157+
'YTUC' 712,
158+
'opsz' 20,
159+
'slnt' 0;
156160
}
157161
}
158162
}

0 commit comments

Comments
 (0)