@bonniernews/dn-design-system-web 3.0.0-alpha.97 → 3.0.0-alpha.99
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 +16 -0
- package/components/quote/quote.scss +2 -2
- package/foundations/variables/typographyTokensList.scss +1 -0
- package/foundations/variables/typographyTokensScreenExtraLarge.scss +79 -72
- package/foundations/variables/typographyTokensScreenLarge.scss +14 -8
- package/foundations/variables/typographyTokensScreenSmall.scss +6 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
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.99](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@3.0.0-alpha.98...@bonniernews/dn-design-system-web@3.0.0-alpha.99) (2023-06-14)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @bonniernews/dn-design-system-web
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## 3.0.0-alpha.98 (2023-06-13)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @bonniernews/dn-design-system-web
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [3.0.0-alpha.97](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@3.0.0-alpha.96...@bonniernews/dn-design-system-web@3.0.0-alpha.97) (2023-06-13)
|
|
7
23
|
|
|
8
24
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@use "../../foundations/helpers/forward.helpers.scss" as *;
|
|
2
2
|
|
|
3
3
|
.ds-quote {
|
|
4
|
-
@include ds-typography($ds-typography-
|
|
4
|
+
@include ds-typography($ds-typography-detailarticle-quote);
|
|
5
5
|
color: $ds-color-text-primary;
|
|
6
6
|
margin: 0;
|
|
7
7
|
@include ds-spacing-layout(
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
position: relative;
|
|
11
11
|
|
|
12
12
|
@at-root .ds-force-px#{&} {
|
|
13
|
-
@include ds-typography($ds-typography-
|
|
13
|
+
@include ds-typography($ds-typography-detailarticle-quote, true);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
.ds-quote__border {
|
|
@@ -87,3 +87,4 @@ $ds-typography-detailarticle-standard: 'detailarticle-standard';
|
|
|
87
87
|
$ds-typography-detailarticle-opinion: 'detailarticle-opinion';
|
|
88
88
|
$ds-typography-detailarticle-longread: 'detailarticle-longread';
|
|
89
89
|
$ds-typography-detailarticle-longread-premium: 'detailarticle-longread-premium';
|
|
90
|
+
$ds-typography-detailarticle-quote: 'detailarticle-quote';
|
|
@@ -195,6 +195,85 @@ $typographyTokensScreenExtraLarge: (
|
|
|
195
195
|
fontFamily: "DN Serif Italic",
|
|
196
196
|
fontStyle: italic
|
|
197
197
|
),
|
|
198
|
+
detailarticle-standard: (
|
|
199
|
+
fontFamily: "DN Serif Display",
|
|
200
|
+
fontWeight: Bold,
|
|
201
|
+
lineHeight: 52,
|
|
202
|
+
fontSize: 48
|
|
203
|
+
),
|
|
204
|
+
detailarticle-opinion: (
|
|
205
|
+
fontFamily: "DN Serif Italic",
|
|
206
|
+
fontWeight: Regular,
|
|
207
|
+
lineHeight: 52,
|
|
208
|
+
fontSize: 48,
|
|
209
|
+
fontStyle: italic
|
|
210
|
+
),
|
|
211
|
+
detailarticle-longread: (
|
|
212
|
+
fontFamily: "DN Serif",
|
|
213
|
+
fontWeight: Regular,
|
|
214
|
+
lineHeight: 64,
|
|
215
|
+
fontSize: 56,
|
|
216
|
+
fontStyle: italic
|
|
217
|
+
),
|
|
218
|
+
detailarticle-longread-premium: (
|
|
219
|
+
fontFamily: "DN Serif",
|
|
220
|
+
fontWeight: Bold,
|
|
221
|
+
lineHeight: 64,
|
|
222
|
+
fontSize: 56
|
|
223
|
+
),
|
|
224
|
+
detaildropcap: (
|
|
225
|
+
fontFamily: "DN Serif",
|
|
226
|
+
fontWeight: Bold,
|
|
227
|
+
lineHeight: 78,
|
|
228
|
+
fontSize: 92
|
|
229
|
+
),
|
|
230
|
+
detailarticle-quote: (
|
|
231
|
+
fontFamily: "DN Serif",
|
|
232
|
+
fontWeight: Bold,
|
|
233
|
+
lineHeight: 34,
|
|
234
|
+
fontSize: 28
|
|
235
|
+
),
|
|
236
|
+
detailstandard-button: (
|
|
237
|
+
fontFamily: "DN Sans",
|
|
238
|
+
fontWeight: SemiBold,
|
|
239
|
+
lineHeight: 24,
|
|
240
|
+
fontSize: 16
|
|
241
|
+
),
|
|
242
|
+
detailbottom-nav: (
|
|
243
|
+
fontFamily: "DN Sans",
|
|
244
|
+
fontWeight: SemiBold,
|
|
245
|
+
lineHeight: 16,
|
|
246
|
+
fontSize: 12,
|
|
247
|
+
letterSpacing: 0.2
|
|
248
|
+
),
|
|
249
|
+
detailstandard-button-small: (
|
|
250
|
+
fontFamily: "DN Sans",
|
|
251
|
+
fontWeight: SemiBold,
|
|
252
|
+
lineHeight: 20,
|
|
253
|
+
fontSize: 14
|
|
254
|
+
),
|
|
255
|
+
detailarticle-label: (
|
|
256
|
+
fontFamily: "DN Sans",
|
|
257
|
+
fontWeight: Bold,
|
|
258
|
+
lineHeight: 16,
|
|
259
|
+
fontSize: 12,
|
|
260
|
+
textCase: uppercase,
|
|
261
|
+
letterSpacing: 0.5
|
|
262
|
+
),
|
|
263
|
+
detailmedryckare: (
|
|
264
|
+
fontFamily: "DN Serif",
|
|
265
|
+
fontWeight: Regular,
|
|
266
|
+
fontSize: 16,
|
|
267
|
+
lineHeight: 22
|
|
268
|
+
),
|
|
269
|
+
detailbaota-xl-label: (
|
|
270
|
+
fontFamily: "DN Sans",
|
|
271
|
+
fontWeight: Bold,
|
|
272
|
+
lineHeight: 24,
|
|
273
|
+
fontSize: 16,
|
|
274
|
+
textCase: upperCase,
|
|
275
|
+
letterSpacing: 0.7
|
|
276
|
+
),
|
|
198
277
|
functional-heading01regular: (
|
|
199
278
|
fontFamily: "DN Sans",
|
|
200
279
|
fontWeight: Regular,
|
|
@@ -495,77 +574,5 @@ $typographyTokensScreenExtraLarge: (
|
|
|
495
574
|
fontWeight: Bold,
|
|
496
575
|
lineHeight: 16,
|
|
497
576
|
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
577
|
)
|
|
571
578
|
);
|
|
@@ -505,27 +505,33 @@ $typographyTokensScreenLarge: (
|
|
|
505
505
|
detailarticle-standard: (
|
|
506
506
|
fontFamily: "DN Serif",
|
|
507
507
|
fontWeight: Bold,
|
|
508
|
-
lineHeight:
|
|
509
|
-
fontSize:
|
|
508
|
+
lineHeight: 44,
|
|
509
|
+
fontSize: 40
|
|
510
510
|
),
|
|
511
511
|
detailarticle-opinion: (
|
|
512
512
|
fontFamily: "DN Serif",
|
|
513
513
|
fontWeight: Regular,
|
|
514
|
-
lineHeight:
|
|
515
|
-
fontSize:
|
|
514
|
+
lineHeight: 44,
|
|
515
|
+
fontSize: 40,
|
|
516
516
|
fontStyle: italic
|
|
517
517
|
),
|
|
518
518
|
detailarticle-longread: (
|
|
519
519
|
fontFamily: "DN Serif",
|
|
520
520
|
fontWeight: Regular,
|
|
521
|
-
lineHeight:
|
|
522
|
-
fontSize:
|
|
521
|
+
lineHeight: 52,
|
|
522
|
+
fontSize: 48
|
|
523
523
|
),
|
|
524
524
|
detailarticle-longread-premium: (
|
|
525
525
|
fontFamily: "DN Serif",
|
|
526
526
|
fontWeight: Bold,
|
|
527
|
-
lineHeight:
|
|
528
|
-
fontSize:
|
|
527
|
+
lineHeight: 52,
|
|
528
|
+
fontSize: 48
|
|
529
|
+
),
|
|
530
|
+
detailarticle-quote: (
|
|
531
|
+
fontFamily: "DN Serif",
|
|
532
|
+
fontWeight: Bold,
|
|
533
|
+
lineHeight: 34,
|
|
534
|
+
fontSize: 28
|
|
529
535
|
),
|
|
530
536
|
detailstandard-button: (
|
|
531
537
|
fontFamily: "DN Sans",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bonniernews/dn-design-system-web",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.99",
|
|
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",
|