@bonniernews/dn-design-system-web 3.0.0-alpha.84 → 3.0.0-alpha.86

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,23 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## 3.0.0-alpha.86 (2023-06-07)
7
+
8
+ **Note:** Version bump only for package @bonniernews/dn-design-system-web
9
+
10
+
11
+
12
+
13
+
14
+ ## [3.0.0-alpha.85](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@3.0.0-alpha.84...@bonniernews/dn-design-system-web@3.0.0-alpha.85) (2023-06-05)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * **web:** gubbe alltid bredvid rubbe ([#863](https://github.com/BonnierNews/dn-design-system/issues/863)) ([59b6842](https://github.com/BonnierNews/dn-design-system/commit/59b68425f4e914f5859ca946b5250030bde2c018))
20
+
21
+
22
+
6
23
  ## [3.0.0-alpha.84](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@3.0.0-alpha.83...@bonniernews/dn-design-system-web@3.0.0-alpha.84) (2023-06-05)
7
24
 
8
25
 
@@ -62,27 +62,30 @@
62
62
  {% endif %}
63
63
 
64
64
  <div class="{{ componentClassName + '__content'}}">
65
- {% if params.vignette %}
66
- <div class="ds-teaser__vignette">{{ params.vignette }}</div>
67
- {% endif %}
68
- <h2 class="ds-teaser__title">
69
- {% if params.highlight %}
70
- <span class="{{ componentClassName + '__highlight'}}">{{ params.highlight }}</span>
65
+ <div class="ds-teaser__content-inner">
66
+ {% if params.vignette %}
67
+ <div class="ds-teaser__vignette">{{ params.vignette }}</div>
71
68
  {% endif %}
72
- {{ params.title }}
73
- </h2>
74
-
75
- {% if params.text and params.areaType !== "right" %}
76
- <p class="{{ componentClassName + '__text' }}">
77
- {{ getDotOrGrade({ flashing: params.isFlashingDot, grade: params.grade }) }}
78
- {% if params.sticker %}
79
- <span class="ds-teaser__sticker">
80
- {{ params.sticker }}
81
- </span>
69
+ <h2 class="ds-teaser__title">
70
+ {% if params.highlight %}
71
+ <span class="{{ componentClassName + '__highlight'}}">{{ params.highlight }}</span>
82
72
  {% endif %}
83
- {{ params.text}}
84
- </p>
85
- {% endif %}
73
+ {{ params.title }}
74
+ </h2>
75
+
76
+ {% if params.text and params.areaType !== "right" %}
77
+ <p class="{{ componentClassName + '__text' }}">
78
+ {{ getDotOrGrade({ flashing: params.isFlashingDot, grade: params.grade }) }}
79
+ {% if params.sticker %}
80
+ <span class="ds-teaser__sticker">
81
+ {{ params.sticker }}
82
+ </span>
83
+ {% endif %}
84
+ {{ params.text }}
85
+ </p>
86
+ {% endif %}
87
+ </div>
88
+
86
89
  {% if params.bylineHtml %}
87
90
  <div class="{{ componentClassName + '__byline'}}">
88
91
  {{ params.bylineHtml | safe }}
@@ -2,7 +2,8 @@
2
2
  @use "../../assets/teaser/teaser.scss" as *;
3
3
 
4
4
  .ds-teaser.ds-teaser--large {
5
- display: block;
5
+ display: flex;
6
+ flex-direction: column;
6
7
  position: relative;
7
8
 
8
9
  .ds-teaser__media {
@@ -12,10 +13,8 @@
12
13
  }
13
14
 
14
15
  .ds-teaser__content {
15
- flex: 1;
16
- display: grid;
17
- grid-auto-rows: auto;
18
- grid-template-columns: 1fr auto;
16
+ display: flex;
17
+ flex-direction: row;
19
18
  @include ds-spacing-layout($ds-sl-teaser-vertical $ds-sl-teaser-horizontal);
20
19
 
21
20
  // Special case for large teaser, should be replaced with dynamic spacing layout token when available
@@ -25,6 +24,12 @@
25
24
  @include ds-mq-smallest-breakpoint(tablet) {
26
25
  padding-bottom: ds-spacing-component($ds-sc-x4);
27
26
  }
27
+
28
+ .ds-teaser__content-inner {
29
+ display: flex;
30
+ flex-direction: column;
31
+ flex: 1;
32
+ }
28
33
  }
29
34
 
30
35
  &:focus-visible {
@@ -35,13 +40,7 @@
35
40
  }
36
41
  }
37
42
 
38
- .ds-teaser__vignette {
39
- grid-column: 1;
40
- }
41
-
42
43
  .ds-teaser__title {
43
- grid-row: 1;
44
- grid-column: 1 / span 1;
45
44
  @include ds-typography($ds-typography-expressive-heading04bold);
46
45
  }
47
46
 
@@ -51,35 +50,10 @@
51
50
  }
52
51
  }
53
52
 
54
- .ds-teaser__vignette + .ds-teaser__title {
55
- grid-row: 2;
56
- }
57
-
58
- .ds-teaser__text {
59
- grid-row: 3;
60
- }
61
-
62
53
  &.ds-teaser--large-big-italic {
63
54
  .ds-teaser__title {
64
55
  @include ds-typography($ds-typography-expressive-heading04italicregular);
65
56
  }
66
-
67
- @include ds-mq-largest-breakpoint(mobile) {
68
- .ds-teaser__title {
69
- grid-column-end: span 2;
70
- }
71
-
72
- .ds-teaser__byline {
73
- grid-row: 3;
74
- margin-top: ds-spacing-component($ds-sc-x2);
75
- }
76
- }
77
-
78
- @include ds-mq-smallest-breakpoint(tablet) {
79
- .ds-teaser__title {
80
- grid-column-end: span 1;
81
- }
82
- }
83
57
  }
84
58
 
85
59
  &.ds-teaser--large-italic {
@@ -95,11 +69,10 @@
95
69
  }
96
70
 
97
71
  .ds-teaser__byline {
98
- grid-column: 2;
99
- grid-row: 1 / span 3;
100
72
  overflow: hidden;
101
73
  position: relative;
102
74
  margin-left: ds-spacing-component($ds-sc-x4);
75
+
103
76
  // margin-bottom needs to be the negative value of padding-bottom on .ds-teaser__content
104
77
  @include ds-mq-only-breakpoint(mobile) {
105
78
  margin-bottom: ds-spacing-component($ds-sc-x3, "px", true);
@@ -112,9 +85,9 @@
112
85
  position: absolute;
113
86
  top: 0;
114
87
  right: 0;
115
- @include ds-spacing-layout($ds-sl-teaser-vertical, bottom, "px", true);
88
+ bottom: 0;
116
89
  width: 100%;
117
- min-width: 104px;
90
+ min-width: 96px;
118
91
  margin: 0;
119
92
 
120
93
  > .picture__img {
@@ -125,15 +98,16 @@
125
98
  }
126
99
 
127
100
  @include ds-mq-largest-breakpoint(mobile) {
128
- width: 104px;
129
- min-height: 85px;
101
+ width: 96px;
102
+ min-height: 96px;
130
103
  margin-left: ds-spacing-component($ds-sc-x2);
131
104
  }
132
105
 
133
106
  @include ds-mq-smallest-breakpoint(tablet) {
134
- width: 156px;
107
+ width: 144px;
135
108
  // En bylinebild bör va lika hög som en "grekisk byst" - man ska se lite skjortkrage!
136
109
  min-height: 110px;
110
+ margin-left: ds-spacing-component($ds-sc-x4);
137
111
  }
138
112
  }
139
113
 
@@ -156,8 +130,8 @@
156
130
  }
157
131
 
158
132
  .ds-teaser__byline {
159
- width: 104px;
160
- min-height: 85px;
133
+ width: 96px;
134
+ min-height: 96px;
161
135
  margin-left: ds-spacing-component($ds-sc-x2);
162
136
  }
163
137
  }
@@ -7,6 +7,7 @@
7
7
  @use "utilities.scss" as *;
8
8
  @use '../variables/typographyTokensScreenSmall.scss' as *;
9
9
  @use '../variables/typographyTokensScreenLarge.scss' as *;
10
+ @use '../variables/typographyTokensScreenExtraLarge.scss' as *;
10
11
  @forward '../variables/typographyTokensList.scss';
11
12
  @forward '../variables/decorations.scss';
12
13
 
@@ -71,6 +72,10 @@ $dsSerifWeights: (
71
72
  @mixin ds-typography($component, $forcePx: false) {
72
73
  $tmpMap: map.get($typographyTokensScreenSmall, $component);
73
74
  $tmpMapScreenLarge: map.get($typographyTokensScreenLarge, $component);
75
+ $tmpMapScreenExtraLarge: map.get(
76
+ $typographyTokensScreenExtraLarge,
77
+ $component
78
+ );
74
79
 
75
80
  @if $tmpMap {
76
81
  @include ds-mq-largest-breakpoint(mobile) {
@@ -82,7 +87,7 @@ $dsSerifWeights: (
82
87
  }
83
88
 
84
89
  @if $tmpMapScreenLarge {
85
- @include ds-mq-smallest-breakpoint(tablet) {
90
+ @include ds-mq-only-breakpoint(tablet) {
86
91
  @include _ds-normalize-letter-spacing($tmpMapScreenLarge);
87
92
  @each $key in map-keys($tmpMapScreenLarge) {
88
93
  @include _ds-typography-get-property(
@@ -93,6 +98,19 @@ $dsSerifWeights: (
93
98
  }
94
99
  }
95
100
  }
101
+
102
+ @if $tmpMapScreenExtraLarge {
103
+ @include ds-mq-smallest-breakpoint(desktop) {
104
+ @include _ds-normalize-letter-spacing($tmpMapScreenExtraLarge);
105
+ @each $key in map-keys($tmpMapScreenExtraLarge) {
106
+ @include _ds-typography-get-property(
107
+ $tmpMapScreenExtraLarge,
108
+ $key,
109
+ $forcePx
110
+ );
111
+ }
112
+ }
113
+ }
96
114
  }
97
115
 
98
116
  @mixin ds-typography-without-mq($component, $screen: false, $forcePx: false) {
@@ -100,8 +118,10 @@ $dsSerifWeights: (
100
118
 
101
119
  @if $screen == mobile {
102
120
  $tmpMap: map.get($typographyTokensScreenSmall, $component);
103
- } @else if $screen == tablet or $screen == desktop {
121
+ } @else if $screen == tablet {
104
122
  $tmpMap: map.get($typographyTokensScreenLarge, $component);
123
+ } @else if $screen == desktop {
124
+ $tmpMap: map.get($typographyTokensScreenExtraLarge, $component);
105
125
  }
106
126
 
107
127
  @if $tmpMap {
@@ -0,0 +1,571 @@
1
+ $typographyTokensScreenExtraLarge: (
2
+ expressive-heading04regular: (
3
+ fontFamily: "DN Serif",
4
+ fontWeight: Regular,
5
+ fontSize: 56,
6
+ lineHeight: 60
7
+ ),
8
+ expressive-heading04semibold: (
9
+ fontFamily: "DN Serif",
10
+ fontWeight: SemiBold,
11
+ fontSize: 56,
12
+ lineHeight: 60
13
+ ),
14
+ expressive-heading04bold: (
15
+ fontFamily: "DN Serif",
16
+ fontWeight: Bold,
17
+ fontSize: 56,
18
+ lineHeight: 60
19
+ ),
20
+ expressive-heading04italicregular: (
21
+ fontSize: 56,
22
+ lineHeight: 60,
23
+ fontWeight: Regular,
24
+ fontFamily: "DN Serif Italic",
25
+ fontStyle: italic
26
+ ),
27
+ expressive-heading04italicsemibold: (
28
+ fontSize: 56,
29
+ lineHeight: 60,
30
+ fontWeight: SemiBold,
31
+ fontFamily: "DN Serif Italic",
32
+ fontStyle: italic
33
+ ),
34
+ expressive-heading04italicbold: (
35
+ fontSize: 56,
36
+ lineHeight: 60,
37
+ fontWeight: Bold,
38
+ fontFamily: "DN Serif Italic",
39
+ fontStyle: italic
40
+ ),
41
+ expressive-heading05regular: (
42
+ fontFamily: "DN Serif",
43
+ fontWeight: Regular,
44
+ lineHeight: 88,
45
+ fontSize: 80
46
+ ),
47
+ expressive-heading05semibold: (
48
+ fontFamily: "DN Serif",
49
+ fontWeight: SemiBold,
50
+ lineHeight: 88,
51
+ fontSize: 80
52
+ ),
53
+ expressive-heading05bold: (
54
+ fontFamily: "DN Serif",
55
+ fontWeight: Bold,
56
+ lineHeight: 88,
57
+ fontSize: 80
58
+ ),
59
+ expressive-heading05italicregular: (
60
+ fontFamily: "DN Serif Italic",
61
+ fontWeight: Regular,
62
+ fontSize: 80,
63
+ lineHeight: 88,
64
+ fontStyle: italic
65
+ ),
66
+ expressive-heading05italicsemibold: (
67
+ fontFamily: "DN Serif Italic",
68
+ fontWeight: SemiBold,
69
+ fontSize: 80,
70
+ lineHeight: 88,
71
+ fontStyle: italic
72
+ ),
73
+ expressive-heading05italicbold: (
74
+ fontFamily: "DN Serif Italic",
75
+ fontWeight: Bold,
76
+ fontSize: 80,
77
+ lineHeight: 88,
78
+ fontStyle: italic
79
+ ),
80
+ expressive-heading01regular: (
81
+ fontFamily: "DN Serif",
82
+ fontWeight: Regular,
83
+ fontSize: 16,
84
+ lineHeight: 20
85
+ ),
86
+ expressive-heading01semibold: (
87
+ fontFamily: "DN Serif",
88
+ fontWeight: SemiBold,
89
+ fontSize: 16,
90
+ lineHeight: 20
91
+ ),
92
+ expressive-heading01bold: (
93
+ fontFamily: "DN Serif",
94
+ fontWeight: Bold,
95
+ fontSize: 16,
96
+ lineHeight: 20
97
+ ),
98
+ expressive-heading01italicregular: (
99
+ lineHeight: 20,
100
+ fontSize: 16,
101
+ fontFamily: "DN Serif Italic",
102
+ fontWeight: Regular,
103
+ fontStyle: italic
104
+ ),
105
+ expressive-heading01italicsemibold: (
106
+ lineHeight: 20,
107
+ fontSize: 16,
108
+ fontFamily: "DN Serif Italic",
109
+ fontWeight: SemiBold,
110
+ fontStyle: italic
111
+ ),
112
+ expressive-heading01italicbold: (
113
+ lineHeight: 20,
114
+ fontSize: 16,
115
+ fontFamily: "DN Serif Italic",
116
+ fontWeight: Bold,
117
+ fontStyle: italic
118
+ ),
119
+ expressive-heading02regular: (
120
+ fontFamily: "DN Serif",
121
+ fontWeight: Regular,
122
+ fontSize: 22,
123
+ lineHeight: 26,
124
+ paragraphSpacing: 16
125
+ ),
126
+ expressive-heading02semibold: (
127
+ fontFamily: "DN Serif",
128
+ fontWeight: SemiBold,
129
+ fontSize: 22,
130
+ lineHeight: 26
131
+ ),
132
+ expressive-heading02bold: (
133
+ fontFamily: "DN Serif",
134
+ fontWeight: Bold,
135
+ fontSize: 22,
136
+ lineHeight: 26
137
+ ),
138
+ expressive-heading02italicregular: (
139
+ fontSize: 22,
140
+ lineHeight: 26,
141
+ fontWeight: Regular,
142
+ fontFamily: "DN Serif Italic",
143
+ fontStyle: italic
144
+ ),
145
+ expressive-heading02italicsemibold: (
146
+ fontSize: 22,
147
+ lineHeight: 26,
148
+ fontWeight: SemiBold,
149
+ fontFamily: "DN Serif Italic",
150
+ fontStyle: italic
151
+ ),
152
+ expressive-heading02italicbold: (
153
+ fontSize: 22,
154
+ lineHeight: 26,
155
+ fontWeight: Bold,
156
+ fontFamily: "DN Serif Italic",
157
+ fontStyle: italic
158
+ ),
159
+ expressive-heading03regular: (
160
+ fontFamily: "DN Serif",
161
+ fontWeight: Regular,
162
+ fontSize: 36,
163
+ lineHeight: 40
164
+ ),
165
+ expressive-heading03semibold: (
166
+ fontFamily: "DN Serif",
167
+ fontWeight: SemiBold,
168
+ fontSize: 36,
169
+ lineHeight: 40
170
+ ),
171
+ expressive-heading03bold: (
172
+ fontFamily: "DN Serif",
173
+ fontWeight: Bold,
174
+ fontSize: 36,
175
+ lineHeight: 40
176
+ ),
177
+ expressive-heading03italicregular: (
178
+ fontSize: 36,
179
+ lineHeight: 40,
180
+ fontWeight: Regular,
181
+ fontFamily: "DN Serif Italic",
182
+ fontStyle: italic
183
+ ),
184
+ expressive-heading03italicsemibold: (
185
+ fontSize: 36,
186
+ lineHeight: 40,
187
+ fontWeight: SemiBold,
188
+ fontFamily: "DN Serif Italic",
189
+ fontStyle: italic
190
+ ),
191
+ expressive-heading03italicbold: (
192
+ fontSize: 36,
193
+ lineHeight: 40,
194
+ fontWeight: Bold,
195
+ fontFamily: "DN Serif Italic",
196
+ fontStyle: italic
197
+ ),
198
+ functional-heading01regular: (
199
+ fontFamily: "DN Sans",
200
+ fontWeight: Regular,
201
+ fontSize: 16,
202
+ lineHeight: 20
203
+ ),
204
+ functional-heading01semibold: (
205
+ fontFamily: "DN Sans",
206
+ fontWeight: SemiBold,
207
+ fontSize: 16,
208
+ lineHeight: 20
209
+ ),
210
+ functional-heading01bold: (
211
+ fontFamily: "DN Sans",
212
+ fontWeight: Bold,
213
+ fontSize: 16,
214
+ lineHeight: 20
215
+ ),
216
+ functional-heading02regular: (
217
+ fontFamily: "DN Sans",
218
+ fontSize: 20,
219
+ fontWeight: Regular,
220
+ lineHeight: 24
221
+ ),
222
+ functional-heading02semibold: (
223
+ fontFamily: "DN Sans",
224
+ fontSize: 20,
225
+ fontWeight: SemiBold,
226
+ lineHeight: 24
227
+ ),
228
+ functional-heading02bold: (
229
+ fontFamily: "DN Sans",
230
+ fontSize: 20,
231
+ fontWeight: Bold,
232
+ lineHeight: 24
233
+ ),
234
+ functional-heading03regular: (
235
+ fontFamily: "DN Sans",
236
+ fontWeight: Regular,
237
+ lineHeight: 32,
238
+ fontSize: 24
239
+ ),
240
+ functional-heading03semibold: (
241
+ fontFamily: "DN Sans",
242
+ fontWeight: SemiBold,
243
+ lineHeight: 32,
244
+ fontSize: 24
245
+ ),
246
+ functional-heading03bold: (
247
+ fontFamily: "DN Sans",
248
+ fontWeight: Bold,
249
+ lineHeight: 32,
250
+ fontSize: 24
251
+ ),
252
+ functional-heading04regular: (
253
+ fontFamily: "DN Sans",
254
+ fontWeight: Regular,
255
+ fontSize: 31,
256
+ lineHeight: 36
257
+ ),
258
+ functional-heading04semibold: (
259
+ fontFamily: "DN Sans",
260
+ fontWeight: SemiBold,
261
+ fontSize: 31,
262
+ lineHeight: 36
263
+ ),
264
+ functional-heading04bold: (
265
+ fontFamily: "DN Sans",
266
+ fontWeight: Bold,
267
+ fontSize: 31,
268
+ lineHeight: 36
269
+ ),
270
+ functional-heading05regular: (
271
+ fontFamily: "DN Sans",
272
+ fontWeight: Regular,
273
+ fontSize: 39,
274
+ lineHeight: 48
275
+ ),
276
+ functional-heading05semibold: (
277
+ fontFamily: "DN Sans",
278
+ fontWeight: SemiBold,
279
+ fontSize: 39,
280
+ lineHeight: 48
281
+ ),
282
+ functional-heading05bold: (
283
+ fontFamily: "DN Sans",
284
+ fontWeight: Bold,
285
+ fontSize: 39,
286
+ lineHeight: 48
287
+ ),
288
+ expressive-preamble01regular: (
289
+ fontFamily: "DN Serif",
290
+ fontWeight: Regular,
291
+ fontSize: 20,
292
+ lineHeight: 30
293
+ ),
294
+ expressive-preamble01semibold: (
295
+ fontFamily: "DN Serif",
296
+ fontWeight: SemiBold,
297
+ fontSize: 20,
298
+ lineHeight: 30
299
+ ),
300
+ expressive-preamble01bold: (
301
+ fontFamily: "DN Serif",
302
+ fontWeight: Bold,
303
+ fontSize: 20,
304
+ lineHeight: 30
305
+ ),
306
+ expressive-preamble01italicregular: (
307
+ fontFamily: "DN Serif Italic",
308
+ fontWeight: Regular,
309
+ lineHeight: 30,
310
+ fontSize: 20,
311
+ fontStyle: italic
312
+ ),
313
+ expressive-preamble01italicsemibold: (
314
+ fontFamily: "DN Serif Italic",
315
+ fontWeight: SemiBold,
316
+ lineHeight: 30,
317
+ fontSize: 20,
318
+ fontStyle: italic
319
+ ),
320
+ expressive-preamble01italicbold: (
321
+ fontFamily: "DN Serif Italic",
322
+ fontWeight: Bold,
323
+ lineHeight: 30,
324
+ fontSize: 20,
325
+ fontStyle: italic
326
+ ),
327
+ expressive-body01regular: (
328
+ fontFamily: "DN Serif",
329
+ fontWeight: Regular,
330
+ fontSize: 16,
331
+ lineHeight: 24
332
+ ),
333
+ expressive-body01semibold: (
334
+ fontFamily: "DN Serif",
335
+ fontWeight: SemiBold,
336
+ fontSize: 16,
337
+ lineHeight: 24
338
+ ),
339
+ expressive-body01bold: (
340
+ fontFamily: "DN Serif",
341
+ fontWeight: Bold,
342
+ fontSize: 16,
343
+ lineHeight: 24
344
+ ),
345
+ expressive-body01italicregular: (
346
+ fontFamily: "DN Serif Italic",
347
+ fontWeight: Regular,
348
+ lineHeight: 24,
349
+ fontSize: 16,
350
+ fontStyle: italic
351
+ ),
352
+ expressive-body01italicsemibold: (
353
+ fontFamily: "DN Serif Italic",
354
+ fontWeight: SemiBold,
355
+ lineHeight: 24,
356
+ fontSize: 16,
357
+ fontStyle: italic
358
+ ),
359
+ expressive-body01italicbold: (
360
+ fontFamily: "DN Serif Italic",
361
+ fontWeight: Bold,
362
+ lineHeight: 24,
363
+ fontSize: 16,
364
+ fontStyle: italic
365
+ ),
366
+ expressive-body02regular: (
367
+ fontFamily: "DN Serif",
368
+ fontWeight: Regular,
369
+ lineHeight: 28,
370
+ fontSize: 18
371
+ ),
372
+ expressive-body02semibold: (
373
+ fontFamily: "DN Serif",
374
+ fontWeight: SemiBold,
375
+ lineHeight: 28,
376
+ fontSize: 18
377
+ ),
378
+ expressive-body02bold: (
379
+ fontFamily: "DN Serif",
380
+ fontWeight: Bold,
381
+ lineHeight: 28,
382
+ fontSize: 18
383
+ ),
384
+ expressive-body02italicregular: (
385
+ fontFamily: "DN Serif Italic",
386
+ fontWeight: Regular,
387
+ lineHeight: 28,
388
+ fontSize: 18,
389
+ fontStyle: italic
390
+ ),
391
+ expressive-body02italicsemibold: (
392
+ fontFamily: "DN Serif Italic",
393
+ fontWeight: SemiBold,
394
+ lineHeight: 28,
395
+ fontSize: 18,
396
+ fontStyle: italic
397
+ ),
398
+ expressive-body02italicbold: (
399
+ fontFamily: "DN Serif Italic",
400
+ fontWeight: Bold,
401
+ lineHeight: 28,
402
+ fontSize: 18,
403
+ fontStyle: italic
404
+ ),
405
+ functional-body01regular: (
406
+ fontFamily: "DN Sans",
407
+ fontWeight: Regular,
408
+ fontSize: 14,
409
+ letterSpacing: "",
410
+ lineHeight: 20,
411
+ paragraphSpacing: ""
412
+ ),
413
+ functional-body01semibold: (
414
+ fontFamily: "DN Sans",
415
+ fontWeight: SemiBold,
416
+ fontSize: 14,
417
+ letterSpacing: "",
418
+ lineHeight: 20
419
+ ),
420
+ functional-body01bold: (
421
+ fontFamily: "DN Sans",
422
+ fontWeight: Bold,
423
+ fontSize: 14,
424
+ letterSpacing: "",
425
+ lineHeight: 20
426
+ ),
427
+ functional-body02regular: (
428
+ fontFamily: "DN Sans",
429
+ fontWeight: Regular,
430
+ lineHeight: 24,
431
+ fontSize: 16
432
+ ),
433
+ functional-body02semibold: (
434
+ fontFamily: "DN Sans",
435
+ fontWeight: SemiBold,
436
+ lineHeight: 24,
437
+ fontSize: 16
438
+ ),
439
+ functional-body02bold: (
440
+ fontFamily: "DN Sans",
441
+ fontWeight: Bold,
442
+ lineHeight: 24,
443
+ fontSize: 16
444
+ ),
445
+ functional-body03regular: (
446
+ fontFamily: "DN Sans",
447
+ fontWeight: Regular,
448
+ lineHeight: 28,
449
+ fontSize: 20
450
+ ),
451
+ functional-body03semibold: (
452
+ fontFamily: "DN Sans",
453
+ fontWeight: SemiBold,
454
+ lineHeight: 28,
455
+ fontSize: 20
456
+ ),
457
+ functional-body03bold: (
458
+ fontFamily: "DN Sans",
459
+ fontWeight: Bold,
460
+ lineHeight: 28,
461
+ fontSize: 20
462
+ ),
463
+ functional-meta01regular: (
464
+ fontFamily: "DN Sans",
465
+ fontWeight: Regular,
466
+ fontSize: 10,
467
+ lineHeight: 12
468
+ ),
469
+ functional-meta01semibold: (
470
+ fontFamily: "DN Sans",
471
+ fontWeight: SemiBold,
472
+ fontSize: 10,
473
+ lineHeight: 12
474
+ ),
475
+ functional-meta01bold: (
476
+ fontFamily: "DN Sans",
477
+ fontWeight: Bold,
478
+ fontSize: 10,
479
+ lineHeight: 12
480
+ ),
481
+ functional-meta02regular: (
482
+ fontFamily: "DN Sans",
483
+ fontWeight: Regular,
484
+ lineHeight: 16,
485
+ fontSize: 12
486
+ ),
487
+ functional-meta02semibold: (
488
+ fontFamily: "DN Sans",
489
+ fontWeight: SemiBold,
490
+ lineHeight: 16,
491
+ fontSize: 12
492
+ ),
493
+ functional-meta02bold: (
494
+ fontFamily: "DN Sans",
495
+ fontWeight: Bold,
496
+ lineHeight: 16,
497
+ fontSize: 12
498
+ ),
499
+ detaildropcap: (
500
+ fontFamily: "DN Serif",
501
+ fontWeight: Bold,
502
+ lineHeight: 78,
503
+ fontSize: 92
504
+ ),
505
+ detailarticle-standard: (
506
+ fontFamily: "DN Serif",
507
+ fontWeight: Bold,
508
+ lineHeight: 52,
509
+ fontSize: 48
510
+ ),
511
+ detailarticle-opinion: (
512
+ fontFamily: "DN Serif",
513
+ fontWeight: Regular,
514
+ lineHeight: 52,
515
+ fontSize: 48,
516
+ fontStyle: italic
517
+ ),
518
+ detailarticle-longread: (
519
+ fontFamily: "DN Serif",
520
+ fontWeight: Regular,
521
+ lineHeight: 64,
522
+ fontSize: 56
523
+ ),
524
+ detailarticle-longread-premium: (
525
+ fontFamily: "DN Serif",
526
+ fontWeight: Bold,
527
+ lineHeight: 64,
528
+ fontSize: 56
529
+ ),
530
+ detailstandard-button: (
531
+ fontFamily: "DN Sans",
532
+ fontWeight: SemiBold,
533
+ lineHeight: 24,
534
+ fontSize: 16
535
+ ),
536
+ detailbottom-nav: (
537
+ fontFamily: "DN Sans",
538
+ fontWeight: SemiBold,
539
+ lineHeight: 16,
540
+ fontSize: 12,
541
+ letterSpacing: 0.2
542
+ ),
543
+ detailstandard-button-small: (
544
+ fontFamily: "DN Sans",
545
+ fontWeight: SemiBold,
546
+ lineHeight: 20,
547
+ fontSize: 14
548
+ ),
549
+ detailarticle-label: (
550
+ fontFamily: "DN Sans",
551
+ fontWeight: Bold,
552
+ lineHeight: 16,
553
+ fontSize: 12,
554
+ textCase: uppercase,
555
+ letterSpacing: 0.5
556
+ ),
557
+ detailmedryckare: (
558
+ fontFamily: "DN Serif",
559
+ fontWeight: Regular,
560
+ fontSize: 16,
561
+ lineHeight: 22
562
+ ),
563
+ detailbaota-xl-label: (
564
+ fontFamily: "DN Sans",
565
+ fontWeight: Bold,
566
+ lineHeight: 24,
567
+ fontSize: 16,
568
+ textCase: upperCase,
569
+ letterSpacing: 0.7
570
+ )
571
+ );
@@ -41,39 +41,39 @@ $typographyTokensScreenLarge: (
41
41
  expressive-heading02regular: (
42
42
  fontFamily: "DN Serif",
43
43
  fontWeight: Regular,
44
- fontSize: 24,
45
- lineHeight: 28,
44
+ fontSize: 22,
45
+ lineHeight: 26,
46
46
  paragraphSpacing: 16
47
47
  ),
48
48
  expressive-heading02semibold: (
49
49
  fontFamily: "DN Serif",
50
50
  fontWeight: SemiBold,
51
- fontSize: 24,
52
- lineHeight: 28
51
+ fontSize: 22,
52
+ lineHeight: 26
53
53
  ),
54
54
  expressive-heading02bold: (
55
55
  fontFamily: "DN Serif",
56
56
  fontWeight: Bold,
57
- fontSize: 24,
58
- lineHeight: 28
57
+ fontSize: 22,
58
+ lineHeight: 26
59
59
  ),
60
60
  expressive-heading02italicregular: (
61
- fontSize: 24,
62
- lineHeight: 28,
61
+ fontSize: 22,
62
+ lineHeight: 26,
63
63
  fontWeight: Regular,
64
64
  fontFamily: "DN Serif Italic",
65
65
  fontStyle: italic
66
66
  ),
67
67
  expressive-heading02italicsemibold: (
68
- fontSize: 24,
69
- lineHeight: 28,
68
+ fontSize: 22,
69
+ lineHeight: 26,
70
70
  fontWeight: SemiBold,
71
71
  fontFamily: "DN Serif Italic",
72
72
  fontStyle: italic
73
73
  ),
74
74
  expressive-heading02italicbold: (
75
- fontSize: 24,
76
- lineHeight: 28,
75
+ fontSize: 22,
76
+ lineHeight: 26,
77
77
  fontWeight: Bold,
78
78
  fontFamily: "DN Serif Italic",
79
79
  fontStyle: italic
@@ -120,38 +120,38 @@ $typographyTokensScreenLarge: (
120
120
  expressive-heading04regular: (
121
121
  fontFamily: "DN Serif",
122
122
  fontWeight: Regular,
123
- fontSize: 56,
124
- lineHeight: 60
123
+ fontSize: 48,
124
+ lineHeight: 52
125
125
  ),
126
126
  expressive-heading04semibold: (
127
127
  fontFamily: "DN Serif",
128
128
  fontWeight: SemiBold,
129
- fontSize: 56,
130
- lineHeight: 60
129
+ fontSize: 48,
130
+ lineHeight: 52
131
131
  ),
132
132
  expressive-heading04bold: (
133
133
  fontFamily: "DN Serif",
134
134
  fontWeight: Bold,
135
- fontSize: 56,
136
- lineHeight: 60
135
+ fontSize: 48,
136
+ lineHeight: 52
137
137
  ),
138
138
  expressive-heading04italicregular: (
139
- fontSize: 56,
140
- lineHeight: 60,
139
+ fontSize: 48,
141
140
  fontWeight: Regular,
142
141
  fontFamily: "DN Serif Italic",
142
+ lineHeight: 52,
143
143
  fontStyle: italic
144
144
  ),
145
145
  expressive-heading04italicsemibold: (
146
- fontSize: 56,
147
- lineHeight: 60,
146
+ fontSize: 48,
147
+ lineHeight: 52,
148
148
  fontWeight: SemiBold,
149
149
  fontFamily: "DN Serif Italic",
150
150
  fontStyle: italic
151
151
  ),
152
152
  expressive-heading04italicbold: (
153
- fontSize: 56,
154
- lineHeight: 60,
153
+ fontSize: 48,
154
+ lineHeight: 52,
155
155
  fontWeight: Bold,
156
156
  fontFamily: "DN Serif Italic",
157
157
  fontStyle: italic
@@ -44,59 +44,59 @@ $typographyTokensScreenSmall: (
44
44
  expressive-heading02regular: (
45
45
  fontFamily: "DN Serif",
46
46
  fontWeight: Regular,
47
- fontSize: 18,
48
- lineHeight: 22
47
+ fontSize: 17,
48
+ lineHeight: 21
49
49
  ),
50
50
  expressive-heading02semibold: (
51
51
  fontFamily: "DN Serif",
52
52
  fontWeight: SemiBold,
53
- fontSize: 18,
54
- lineHeight: 22
53
+ fontSize: 17,
54
+ lineHeight: 21
55
55
  ),
56
56
  expressive-heading02bold: (
57
57
  fontFamily: "DN Serif",
58
58
  fontWeight: Bold,
59
- fontSize: 18,
60
- lineHeight: 22
59
+ fontSize: 17,
60
+ lineHeight: 21
61
61
  ),
62
62
  expressive-heading02italicregular: (
63
63
  fontFamily: "DN Serif Italic",
64
64
  fontWeight: Regular,
65
- fontSize: 18,
66
- lineHeight: 22,
65
+ fontSize: 17,
66
+ lineHeight: 21,
67
67
  fontStyle: italic
68
68
  ),
69
69
  expressive-heading02italicsemibold: (
70
70
  fontFamily: "DN Serif Italic",
71
71
  fontWeight: SemiBold,
72
- fontSize: 18,
73
- lineHeight: 22,
72
+ fontSize: 17,
73
+ lineHeight: 21,
74
74
  fontStyle: italic
75
75
  ),
76
76
  expressive-heading02italicbold: (
77
77
  fontFamily: "DN Serif Italic",
78
78
  fontWeight: Bold,
79
- fontSize: 18,
80
- lineHeight: 22,
79
+ fontSize: 17,
80
+ lineHeight: 21,
81
81
  fontStyle: italic
82
82
  ),
83
83
  expressive-heading03regular: (
84
84
  fontFamily: "DN Serif",
85
85
  fontWeight: Regular,
86
- fontSize: 22,
87
- lineHeight: 26
86
+ lineHeight: 24,
87
+ fontSize: 20
88
88
  ),
89
89
  expressive-heading03semibold: (
90
90
  fontFamily: "DN Serif",
91
91
  fontWeight: SemiBold,
92
- fontSize: 22,
93
- lineHeight: 26
92
+ fontSize: 20,
93
+ lineHeight: 24
94
94
  ),
95
95
  expressive-heading03bold: (
96
96
  fontFamily: "DN Serif",
97
97
  fontWeight: Bold,
98
- fontSize: 22,
99
- lineHeight: 26
98
+ fontSize: 20,
99
+ lineHeight: 24
100
100
  ),
101
101
  expressive-heading03italicregular: (
102
102
  fontFamily: "DN Serif Italic",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bonniernews/dn-design-system-web",
3
- "version": "3.0.0-alpha.84",
3
+ "version": "3.0.0-alpha.86",
4
4
  "description": "DN design system for web.",
5
5
  "main": "index.js",
6
6
  "homepage": "https://github.com/BonnierNews/dn-design-system/tree/main/web/src#readme",