@bonniernews/dn-design-system-web 3.0.0-alpha.99 → 4.0.0-alpha.1
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 +138 -0
- package/assets/article-image/article-image.njk +1 -1
- package/assets/article-image/article-image.scss +1 -1
- package/assets/teaser/teaser.scss +11 -1
- package/components/byline/README.md +3 -3
- package/components/byline/byline.njk +1 -1
- package/components/byline/byline.scss +18 -1
- package/components/image-caption/image-caption.njk +5 -1
- package/components/pictogram/pictogram.scss +4 -1
- package/components/teaser-large/teaser-large.njk +5 -3
- package/components/teaser-list-timeline/README.md +44 -0
- package/components/teaser-list-timeline/teaser-list-timeline.njk +62 -0
- package/components/teaser-list-timeline/teaser-list-timeline.scss +80 -0
- package/components/teaser-native/README.md +41 -0
- package/components/teaser-native/teaser-native.njk +59 -0
- package/components/teaser-native/teaser-native.scss +109 -0
- package/components/teaser-package/teaser-package.scss +3 -1
- package/components/teaser-split/teaser-split.njk +5 -3
- package/components/teaser-standard/teaser-standard.njk +17 -15
- package/components/teaser-standard/teaser-standard.scss +6 -8
- package/foundations/base.scss +3 -3
- package/foundations/colors.scss +22 -5
- package/foundations/helpers/colors.scss +1 -1
- package/foundations/helpers/forward.helpers.scss +0 -1
- package/foundations/helpers/opacity.scss +1 -1
- package/foundations/helpers/shadows.scss +6 -6
- package/foundations/helpers/spacing.scss +2 -2
- package/foundations/helpers/typography.scss +12 -10
- package/foundations/helpers/utilities.scss +1 -1
- package/foundations/icons/icon.njk +25 -0
- package/foundations/icons/sprite.njk +1 -1
- package/foundations/icons/sprite.svg +1 -1
- package/foundations/icons/svg/arrow_upward.svg +3 -0
- package/foundations/icons/svg/forward_30.svg +3 -0
- package/foundations/icons/svg/link.svg +3 -0
- package/foundations/icons/svg/refresh.svg +3 -0
- package/foundations/icons/svg/replay_30.svg +3 -0
- package/foundations/shadows.scss +5 -5
- package/foundations/typography/fontDefinitions.scss +56 -56
- package/foundations/variables/typographyTokensList.scss +1 -0
- package/foundations/variables/typographyTokensScreenExtraLarge.scss +79 -74
- package/foundations/variables/typographyTokensScreenLarge.scss +150 -144
- package/foundations/variables/typographyTokensScreenSmall.scss +61 -55
- package/package.json +11 -9
- package/tokens/colors-dark-mode.json +93 -0
- package/tokens/colors-light-mode.json +92 -0
- package/tokens/icon-list.json +79 -0
- package/tokens/typography-list.json +92 -0
- package/.stylelintignore +0 -1
- package/.stylelintrc.json +0 -17
- package/assets/teaser/dot-or-grade.njk +0 -7
- package/foundations/helpers/fontDefinitionsHelper.scss +0 -32
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
$typographyTokensScreenSmall: (
|
|
2
2
|
expressive-heading01regular: (
|
|
3
|
-
fontFamily: "DN Serif",
|
|
3
|
+
fontFamily: "DN Serif Text",
|
|
4
4
|
fontWeight: Regular,
|
|
5
5
|
fontSize: 16,
|
|
6
6
|
lineHeight: 20
|
|
7
7
|
),
|
|
8
8
|
expressive-heading01semibold: (
|
|
9
|
-
fontFamily: "DN Serif",
|
|
9
|
+
fontFamily: "DN Serif Text",
|
|
10
10
|
fontWeight: SemiBold,
|
|
11
11
|
fontSize: 16,
|
|
12
12
|
lineHeight: 20
|
|
13
13
|
),
|
|
14
14
|
expressive-heading01bold: (
|
|
15
|
-
fontFamily: "DN Serif",
|
|
15
|
+
fontFamily: "DN Serif Text",
|
|
16
16
|
fontWeight: Bold,
|
|
17
17
|
fontSize: 16,
|
|
18
18
|
lineHeight: 20
|
|
19
19
|
),
|
|
20
20
|
expressive-heading01italicregular: (
|
|
21
|
-
fontFamily: "DN Serif
|
|
21
|
+
fontFamily: "DN Serif Text",
|
|
22
22
|
fontWeight: Regular,
|
|
23
23
|
fontSize: 16,
|
|
24
24
|
letterSpacing: "",
|
|
@@ -26,7 +26,7 @@ $typographyTokensScreenSmall: (
|
|
|
26
26
|
fontStyle: italic
|
|
27
27
|
),
|
|
28
28
|
expressive-heading01italicsemibold: (
|
|
29
|
-
fontFamily: "DN Serif
|
|
29
|
+
fontFamily: "DN Serif Text",
|
|
30
30
|
fontWeight: SemiBold,
|
|
31
31
|
fontSize: 16,
|
|
32
32
|
letterSpacing: "",
|
|
@@ -34,7 +34,7 @@ $typographyTokensScreenSmall: (
|
|
|
34
34
|
fontStyle: italic
|
|
35
35
|
),
|
|
36
36
|
expressive-heading01italicbold: (
|
|
37
|
-
fontFamily: "DN Serif
|
|
37
|
+
fontFamily: "DN Serif Text",
|
|
38
38
|
fontWeight: Bold,
|
|
39
39
|
fontSize: 16,
|
|
40
40
|
letterSpacing: "",
|
|
@@ -42,58 +42,58 @@ $typographyTokensScreenSmall: (
|
|
|
42
42
|
fontStyle: italic
|
|
43
43
|
),
|
|
44
44
|
expressive-heading02regular: (
|
|
45
|
-
fontFamily: "DN Serif",
|
|
45
|
+
fontFamily: "DN Serif Text",
|
|
46
46
|
fontWeight: Regular,
|
|
47
47
|
fontSize: 17,
|
|
48
48
|
lineHeight: 21
|
|
49
49
|
),
|
|
50
50
|
expressive-heading02semibold: (
|
|
51
|
-
fontFamily: "DN Serif",
|
|
51
|
+
fontFamily: "DN Serif Text",
|
|
52
52
|
fontWeight: SemiBold,
|
|
53
53
|
fontSize: 17,
|
|
54
54
|
lineHeight: 21
|
|
55
55
|
),
|
|
56
56
|
expressive-heading02bold: (
|
|
57
|
-
fontFamily: "DN Serif",
|
|
57
|
+
fontFamily: "DN Serif Text",
|
|
58
58
|
fontWeight: Bold,
|
|
59
59
|
fontSize: 17,
|
|
60
60
|
lineHeight: 21
|
|
61
61
|
),
|
|
62
62
|
expressive-heading02italicregular: (
|
|
63
|
-
fontFamily: "DN Serif
|
|
63
|
+
fontFamily: "DN Serif Text",
|
|
64
64
|
fontWeight: Regular,
|
|
65
65
|
fontSize: 17,
|
|
66
66
|
lineHeight: 21,
|
|
67
67
|
fontStyle: italic
|
|
68
68
|
),
|
|
69
69
|
expressive-heading02italicsemibold: (
|
|
70
|
-
fontFamily: "DN Serif
|
|
70
|
+
fontFamily: "DN Serif Text",
|
|
71
71
|
fontWeight: SemiBold,
|
|
72
72
|
fontSize: 17,
|
|
73
73
|
lineHeight: 21,
|
|
74
74
|
fontStyle: italic
|
|
75
75
|
),
|
|
76
76
|
expressive-heading02italicbold: (
|
|
77
|
-
fontFamily: "DN Serif
|
|
77
|
+
fontFamily: "DN Serif Text",
|
|
78
78
|
fontWeight: Bold,
|
|
79
79
|
fontSize: 17,
|
|
80
80
|
lineHeight: 21,
|
|
81
81
|
fontStyle: italic
|
|
82
82
|
),
|
|
83
83
|
expressive-heading03regular: (
|
|
84
|
-
fontFamily: "DN Serif",
|
|
84
|
+
fontFamily: "DN Serif Headline",
|
|
85
85
|
fontWeight: Regular,
|
|
86
86
|
fontSize: 20,
|
|
87
87
|
lineHeight: 24
|
|
88
88
|
),
|
|
89
89
|
expressive-heading03semibold: (
|
|
90
|
-
fontFamily: "DN Serif",
|
|
90
|
+
fontFamily: "DN Serif Headline",
|
|
91
91
|
fontWeight: SemiBold,
|
|
92
92
|
fontSize: 20,
|
|
93
93
|
lineHeight: 24
|
|
94
94
|
),
|
|
95
95
|
expressive-heading03bold: (
|
|
96
|
-
fontFamily: "DN Serif",
|
|
96
|
+
fontFamily: "DN Serif Headline",
|
|
97
97
|
fontWeight: Bold,
|
|
98
98
|
fontSize: 20,
|
|
99
99
|
lineHeight: 24
|
|
@@ -102,98 +102,98 @@ $typographyTokensScreenSmall: (
|
|
|
102
102
|
fontSize: 22,
|
|
103
103
|
lineHeight: 26,
|
|
104
104
|
fontWeight: Regular,
|
|
105
|
-
fontFamily: "DN Serif
|
|
105
|
+
fontFamily: "DN Serif Headline",
|
|
106
106
|
fontStyle: italic
|
|
107
107
|
),
|
|
108
108
|
expressive-heading03italicsemibold: (
|
|
109
109
|
fontSize: 22,
|
|
110
110
|
lineHeight: 26,
|
|
111
111
|
fontWeight: SemiBold,
|
|
112
|
-
fontFamily: "DN Serif
|
|
112
|
+
fontFamily: "DN Serif Headline",
|
|
113
113
|
fontStyle: italic
|
|
114
114
|
),
|
|
115
115
|
expressive-heading03italicbold: (
|
|
116
116
|
fontSize: 22,
|
|
117
117
|
lineHeight: 26,
|
|
118
118
|
fontWeight: Bold,
|
|
119
|
-
fontFamily: "DN Serif
|
|
119
|
+
fontFamily: "DN Serif Headline",
|
|
120
120
|
fontStyle: italic
|
|
121
121
|
),
|
|
122
122
|
expressive-heading04regular: (
|
|
123
|
-
fontFamily: "DN Serif",
|
|
123
|
+
fontFamily: "DN Serif Headline",
|
|
124
124
|
fontWeight: Regular,
|
|
125
125
|
fontSize: 26,
|
|
126
126
|
lineHeight: 30
|
|
127
127
|
),
|
|
128
128
|
expressive-heading04semibold: (
|
|
129
|
-
fontFamily: "DN Serif",
|
|
129
|
+
fontFamily: "DN Serif Headline",
|
|
130
130
|
fontWeight: SemiBold,
|
|
131
131
|
fontSize: 26,
|
|
132
132
|
lineHeight: 30
|
|
133
133
|
),
|
|
134
134
|
expressive-heading04bold: (
|
|
135
|
-
fontFamily: "DN Serif",
|
|
135
|
+
fontFamily: "DN Serif Headline",
|
|
136
136
|
fontWeight: Bold,
|
|
137
137
|
fontSize: 26,
|
|
138
138
|
lineHeight: 30
|
|
139
139
|
),
|
|
140
140
|
expressive-heading04italicregular: (
|
|
141
|
-
fontFamily: "DN Serif
|
|
141
|
+
fontFamily: "DN Serif Headline",
|
|
142
142
|
fontWeight: Regular,
|
|
143
143
|
lineHeight: 30,
|
|
144
144
|
fontSize: 26,
|
|
145
145
|
fontStyle: italic
|
|
146
146
|
),
|
|
147
147
|
expressive-heading04italicsemibold: (
|
|
148
|
-
fontFamily: "DN Serif
|
|
148
|
+
fontFamily: "DN Serif Headline",
|
|
149
149
|
fontWeight: SemiBold,
|
|
150
150
|
lineHeight: 30,
|
|
151
151
|
fontSize: 26,
|
|
152
152
|
fontStyle: italic
|
|
153
153
|
),
|
|
154
154
|
expressive-heading04italicbold: (
|
|
155
|
-
fontFamily: "DN Serif
|
|
155
|
+
fontFamily: "DN Serif Headline",
|
|
156
156
|
fontWeight: Bold,
|
|
157
157
|
lineHeight: 30,
|
|
158
158
|
fontSize: 26,
|
|
159
159
|
fontStyle: italic
|
|
160
160
|
),
|
|
161
161
|
expressive-heading05regular: (
|
|
162
|
-
fontFamily: "DN Serif",
|
|
162
|
+
fontFamily: "DN Serif Display",
|
|
163
163
|
fontWeight: Regular,
|
|
164
164
|
lineHeight: 36,
|
|
165
165
|
fontSize: 32,
|
|
166
166
|
letterSpacing: ""
|
|
167
167
|
),
|
|
168
168
|
expressive-heading05semibold: (
|
|
169
|
-
fontFamily: "DN Serif",
|
|
169
|
+
fontFamily: "DN Serif Display",
|
|
170
170
|
fontWeight: SemiBold,
|
|
171
171
|
lineHeight: 36,
|
|
172
172
|
fontSize: 32
|
|
173
173
|
),
|
|
174
174
|
expressive-heading05bold: (
|
|
175
|
-
fontFamily: "DN Serif",
|
|
175
|
+
fontFamily: "DN Serif Display",
|
|
176
176
|
fontWeight: Bold,
|
|
177
177
|
lineHeight: 36,
|
|
178
178
|
fontSize: 32,
|
|
179
179
|
letterSpacing: ""
|
|
180
180
|
),
|
|
181
181
|
expressive-heading05italicregular: (
|
|
182
|
-
fontFamily: "DN Serif
|
|
182
|
+
fontFamily: "DN Serif Display",
|
|
183
183
|
fontWeight: Regular,
|
|
184
184
|
lineHeight: 36,
|
|
185
185
|
fontSize: 32,
|
|
186
186
|
fontStyle: italic
|
|
187
187
|
),
|
|
188
188
|
expressive-heading05italicsemibold: (
|
|
189
|
-
fontFamily: "DN Serif
|
|
189
|
+
fontFamily: "DN Serif Display",
|
|
190
190
|
fontWeight: SemiBold,
|
|
191
191
|
lineHeight: 36,
|
|
192
192
|
fontSize: 32,
|
|
193
193
|
fontStyle: italic
|
|
194
194
|
),
|
|
195
195
|
expressive-heading05italicbold: (
|
|
196
|
-
fontFamily: "DN Serif
|
|
196
|
+
fontFamily: "DN Serif Display",
|
|
197
197
|
fontWeight: Bold,
|
|
198
198
|
lineHeight: 36,
|
|
199
199
|
fontSize: 32,
|
|
@@ -290,118 +290,118 @@ $typographyTokensScreenSmall: (
|
|
|
290
290
|
lineHeight: 48
|
|
291
291
|
),
|
|
292
292
|
expressive-preamble01regular: (
|
|
293
|
-
fontFamily: "DN Serif",
|
|
293
|
+
fontFamily: "DN Serif Text",
|
|
294
294
|
fontWeight: Regular,
|
|
295
295
|
fontSize: 18,
|
|
296
296
|
lineHeight: 26
|
|
297
297
|
),
|
|
298
298
|
expressive-preamble01semibold: (
|
|
299
|
-
fontFamily: "DN Serif",
|
|
299
|
+
fontFamily: "DN Serif Text",
|
|
300
300
|
fontWeight: SemiBold,
|
|
301
301
|
fontSize: 18,
|
|
302
302
|
lineHeight: 26
|
|
303
303
|
),
|
|
304
304
|
expressive-preamble01bold: (
|
|
305
|
-
fontFamily: "DN Serif",
|
|
305
|
+
fontFamily: "DN Serif Text",
|
|
306
306
|
fontWeight: Bold,
|
|
307
307
|
fontSize: 18,
|
|
308
308
|
lineHeight: 26
|
|
309
309
|
),
|
|
310
310
|
expressive-preamble01italicregular: (
|
|
311
|
-
fontFamily: "DN Serif
|
|
311
|
+
fontFamily: "DN Serif Text",
|
|
312
312
|
fontWeight: Regular,
|
|
313
313
|
fontSize: 18,
|
|
314
314
|
lineHeight: 26,
|
|
315
315
|
fontStyle: italic
|
|
316
316
|
),
|
|
317
317
|
expressive-preamble01italicsemibold: (
|
|
318
|
-
fontFamily: "DN Serif
|
|
318
|
+
fontFamily: "DN Serif Text",
|
|
319
319
|
fontWeight: SemiBold,
|
|
320
320
|
fontSize: 18,
|
|
321
321
|
lineHeight: 26,
|
|
322
322
|
fontStyle: italic
|
|
323
323
|
),
|
|
324
324
|
expressive-preamble01italicbold: (
|
|
325
|
-
fontFamily: "DN Serif
|
|
325
|
+
fontFamily: "DN Serif Text",
|
|
326
326
|
fontWeight: Bold,
|
|
327
327
|
fontSize: 18,
|
|
328
328
|
lineHeight: 26,
|
|
329
329
|
fontStyle: italic
|
|
330
330
|
),
|
|
331
331
|
expressive-body01regular: (
|
|
332
|
-
fontFamily: "DN Serif",
|
|
332
|
+
fontFamily: "DN Serif Text",
|
|
333
333
|
fontWeight: Regular,
|
|
334
334
|
fontSize: 16,
|
|
335
335
|
lineHeight: 24
|
|
336
336
|
),
|
|
337
337
|
expressive-body01semibold: (
|
|
338
|
-
fontFamily: "DN Serif",
|
|
338
|
+
fontFamily: "DN Serif Text",
|
|
339
339
|
fontWeight: SemiBold,
|
|
340
340
|
fontSize: 16,
|
|
341
341
|
lineHeight: 24
|
|
342
342
|
),
|
|
343
343
|
expressive-body01bold: (
|
|
344
|
-
fontFamily: "DN Serif",
|
|
344
|
+
fontFamily: "DN Serif Text",
|
|
345
345
|
fontWeight: Bold,
|
|
346
346
|
fontSize: 16,
|
|
347
347
|
lineHeight: 24
|
|
348
348
|
),
|
|
349
349
|
expressive-body01italicregular: (
|
|
350
|
-
fontFamily: "DN Serif
|
|
350
|
+
fontFamily: "DN Serif Text",
|
|
351
351
|
fontWeight: Regular,
|
|
352
352
|
lineHeight: 24,
|
|
353
353
|
fontSize: 16,
|
|
354
354
|
fontStyle: italic
|
|
355
355
|
),
|
|
356
356
|
expressive-body01italicsemibold: (
|
|
357
|
-
fontFamily: "DN Serif
|
|
357
|
+
fontFamily: "DN Serif Text",
|
|
358
358
|
fontWeight: SemiBold,
|
|
359
359
|
lineHeight: 24,
|
|
360
360
|
fontSize: 16,
|
|
361
361
|
fontStyle: italic
|
|
362
362
|
),
|
|
363
363
|
expressive-body01italicbold: (
|
|
364
|
-
fontFamily: "DN Serif
|
|
364
|
+
fontFamily: "DN Serif Text",
|
|
365
365
|
fontWeight: Bold,
|
|
366
366
|
lineHeight: 24,
|
|
367
367
|
fontSize: 16,
|
|
368
368
|
fontStyle: italic
|
|
369
369
|
),
|
|
370
370
|
expressive-body02regular: (
|
|
371
|
-
fontFamily: "DN Serif",
|
|
371
|
+
fontFamily: "DN Serif Text",
|
|
372
372
|
fontWeight: Regular,
|
|
373
373
|
lineHeight: 28,
|
|
374
374
|
fontSize: 18,
|
|
375
375
|
paragraphSpacing: 16
|
|
376
376
|
),
|
|
377
377
|
expressive-body02semibold: (
|
|
378
|
-
fontFamily: "DN Serif",
|
|
378
|
+
fontFamily: "DN Serif Text",
|
|
379
379
|
fontWeight: SemiBold,
|
|
380
380
|
lineHeight: 28,
|
|
381
381
|
fontSize: 18
|
|
382
382
|
),
|
|
383
383
|
expressive-body02bold: (
|
|
384
|
-
fontFamily: "DN Serif",
|
|
384
|
+
fontFamily: "DN Serif Text",
|
|
385
385
|
fontWeight: Bold,
|
|
386
386
|
lineHeight: 28,
|
|
387
387
|
fontSize: 18
|
|
388
388
|
),
|
|
389
389
|
expressive-body02italicregular: (
|
|
390
|
-
fontFamily: "DN Serif
|
|
390
|
+
fontFamily: "DN Serif Text",
|
|
391
391
|
fontWeight: Regular,
|
|
392
392
|
lineHeight: 28,
|
|
393
393
|
fontSize: 18,
|
|
394
394
|
fontStyle: italic
|
|
395
395
|
),
|
|
396
396
|
expressive-body02italicsemibold: (
|
|
397
|
-
fontFamily: "DN Serif
|
|
397
|
+
fontFamily: "DN Serif Text",
|
|
398
398
|
fontWeight: SemiBold,
|
|
399
399
|
lineHeight: 28,
|
|
400
400
|
fontSize: 18,
|
|
401
401
|
fontStyle: italic
|
|
402
402
|
),
|
|
403
403
|
expressive-body02italicbold: (
|
|
404
|
-
fontFamily: "DN Serif
|
|
404
|
+
fontFamily: "DN Serif Text",
|
|
405
405
|
fontWeight: Bold,
|
|
406
406
|
lineHeight: 28,
|
|
407
407
|
fontSize: 18,
|
|
@@ -515,7 +515,7 @@ $typographyTokensScreenSmall: (
|
|
|
515
515
|
letterSpacing: 0.2
|
|
516
516
|
),
|
|
517
517
|
detaildropcap: (
|
|
518
|
-
fontFamily: "DN Serif",
|
|
518
|
+
fontFamily: "DN Serif Display",
|
|
519
519
|
lineHeight: 52,
|
|
520
520
|
fontSize: 52,
|
|
521
521
|
fontWeight: Bold
|
|
@@ -535,7 +535,7 @@ $typographyTokensScreenSmall: (
|
|
|
535
535
|
letterSpacing: 0.5
|
|
536
536
|
),
|
|
537
537
|
detailmedryckare: (
|
|
538
|
-
fontFamily: "DN Serif",
|
|
538
|
+
fontFamily: "DN Serif Text",
|
|
539
539
|
fontWeight: Regular,
|
|
540
540
|
fontSize: 16,
|
|
541
541
|
lineHeight: 22
|
|
@@ -549,34 +549,40 @@ $typographyTokensScreenSmall: (
|
|
|
549
549
|
letterSpacing: 0.7
|
|
550
550
|
),
|
|
551
551
|
detailarticle-standard: (
|
|
552
|
-
fontFamily: "DN Serif",
|
|
552
|
+
fontFamily: "DN Serif Headline",
|
|
553
553
|
fontWeight: Bold,
|
|
554
554
|
lineHeight: 32,
|
|
555
555
|
fontSize: 26
|
|
556
556
|
),
|
|
557
557
|
detailarticle-opinion: (
|
|
558
|
-
fontFamily: "DN Serif",
|
|
558
|
+
fontFamily: "DN Serif Headline",
|
|
559
559
|
fontWeight: Regular,
|
|
560
560
|
lineHeight: 32,
|
|
561
561
|
fontSize: 26,
|
|
562
562
|
fontStyle: italic
|
|
563
563
|
),
|
|
564
564
|
detailarticle-longread: (
|
|
565
|
-
fontFamily: "DN Serif",
|
|
565
|
+
fontFamily: "DN Serif Display",
|
|
566
566
|
fontWeight: Regular,
|
|
567
567
|
lineHeight: 36,
|
|
568
568
|
fontSize: 32
|
|
569
569
|
),
|
|
570
570
|
detailarticle-longread-premium: (
|
|
571
|
-
fontFamily: "DN Serif",
|
|
571
|
+
fontFamily: "DN Serif Display",
|
|
572
572
|
fontWeight: Bold,
|
|
573
573
|
lineHeight: 36,
|
|
574
574
|
fontSize: 32
|
|
575
575
|
),
|
|
576
576
|
detailarticle-quote: (
|
|
577
|
-
fontFamily: "DN Serif",
|
|
577
|
+
fontFamily: "DN Serif Headline",
|
|
578
578
|
fontWeight: Bold,
|
|
579
579
|
lineHeight: 24,
|
|
580
580
|
fontSize: 20
|
|
581
|
+
),
|
|
582
|
+
detailmellanrubrik: (
|
|
583
|
+
fontFamily: "DN Serif Headline",
|
|
584
|
+
fontWeight: Bold,
|
|
585
|
+
fontSize: 20,
|
|
586
|
+
lineHeight: 24
|
|
581
587
|
)
|
|
582
588
|
);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bonniernews/dn-design-system-web",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0-alpha.1",
|
|
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",
|
|
@@ -11,18 +11,20 @@
|
|
|
11
11
|
},
|
|
12
12
|
"author": "Bonnier News AB",
|
|
13
13
|
"license": "MIT",
|
|
14
|
-
"scripts": {},
|
|
15
14
|
"bugs": {
|
|
16
15
|
"url": "https://github.com/BonnierNews/dn-design-system/issues"
|
|
17
16
|
},
|
|
18
17
|
"devDependencies": {
|
|
19
|
-
"postcss": "8",
|
|
20
|
-
"stylelint": "^
|
|
21
|
-
"stylelint-config-prettier": "^9.0.
|
|
22
|
-
"stylelint-config-standard": "^
|
|
23
|
-
"stylelint-config-standard-scss": "^
|
|
24
|
-
"stylelint-prettier": "^
|
|
25
|
-
"stylelint-sass-render-errors": "^3.0.
|
|
18
|
+
"postcss": "8.4.23",
|
|
19
|
+
"stylelint": "^15.6.2",
|
|
20
|
+
"stylelint-config-prettier": "^9.0.5",
|
|
21
|
+
"stylelint-config-standard": "^33.0.0",
|
|
22
|
+
"stylelint-config-standard-scss": "^9.0.0",
|
|
23
|
+
"stylelint-prettier": "^3.0.0",
|
|
24
|
+
"stylelint-sass-render-errors": "^3.0.1",
|
|
26
25
|
"stylelint-selector-bem-pattern": "^2.1.1"
|
|
26
|
+
},
|
|
27
|
+
"scripts": {
|
|
28
|
+
"lint:styles": "yarn stylelint \"**/*.scss\" \"!node_modules/\""
|
|
27
29
|
}
|
|
28
30
|
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
{
|
|
2
|
+
"text": {
|
|
3
|
+
"primary": "#EDEDED",
|
|
4
|
+
"primary-02": "#B8B8B8",
|
|
5
|
+
"secondary": "#050505",
|
|
6
|
+
"critical": "#EF7171",
|
|
7
|
+
"disabled": "#B8B8B8",
|
|
8
|
+
"on-brand": "#141414",
|
|
9
|
+
"on-business": "#ffffff",
|
|
10
|
+
"on-critical": "#ffffff",
|
|
11
|
+
"on-success": "#ffffff",
|
|
12
|
+
"brand": "#EF7171",
|
|
13
|
+
"body-link": "#65A0FC",
|
|
14
|
+
"body-link-visited": "#65A0FC",
|
|
15
|
+
"positive": "#3A8352"
|
|
16
|
+
},
|
|
17
|
+
"icon": {
|
|
18
|
+
"primary": "#EDEDED",
|
|
19
|
+
"primary-02": "#CFCFCF",
|
|
20
|
+
"secondary": "#050505",
|
|
21
|
+
"critical": "#EF7171",
|
|
22
|
+
"disabled": "#B8B8B8",
|
|
23
|
+
"on-brand": "#ffffff",
|
|
24
|
+
"on-critical": "#ffffff",
|
|
25
|
+
"on-success": "#ffffff",
|
|
26
|
+
"on-business": "#ffffff",
|
|
27
|
+
"brand": "#EF7171"
|
|
28
|
+
},
|
|
29
|
+
"component": {
|
|
30
|
+
"brand": "#EF7171",
|
|
31
|
+
"business": "#3A8352",
|
|
32
|
+
"primary": "#EDEDED",
|
|
33
|
+
"primary-overlay": "#ffffff1a",
|
|
34
|
+
"primary-overlay-02": "#9E9E9E",
|
|
35
|
+
"secondary": "#141414",
|
|
36
|
+
"secondary-overlay": "#0808081a",
|
|
37
|
+
"secondary-overlay-02": "#08080833",
|
|
38
|
+
"critical": "#EF7171",
|
|
39
|
+
"critical-overlay": "#A51D24",
|
|
40
|
+
"static-white": "#ffffff",
|
|
41
|
+
"positive": "#3A8352",
|
|
42
|
+
"primary-02": "#CFCFCF"
|
|
43
|
+
},
|
|
44
|
+
"surface": {
|
|
45
|
+
"below": "#050505",
|
|
46
|
+
"background": "#141414",
|
|
47
|
+
"raised": "#2B2B2B",
|
|
48
|
+
"native-article": "#2B2B2B",
|
|
49
|
+
"elevated": "#2B2B2B"
|
|
50
|
+
},
|
|
51
|
+
"border": {
|
|
52
|
+
"primary": "#ffffff1a",
|
|
53
|
+
"primary-02": "#ffffff66",
|
|
54
|
+
"primary-03": "#EDEDED",
|
|
55
|
+
"secondary": "#141414",
|
|
56
|
+
"business": "#3A8352",
|
|
57
|
+
"critical": "#EF7171",
|
|
58
|
+
"focus": "#EF7171",
|
|
59
|
+
"focus-02": "#ffffff",
|
|
60
|
+
"focus-03": "#EF7171",
|
|
61
|
+
"focus-04": "#3A8352"
|
|
62
|
+
},
|
|
63
|
+
"background": {
|
|
64
|
+
"primary": "#141414"
|
|
65
|
+
},
|
|
66
|
+
"gradient": {
|
|
67
|
+
"content-fade-left": "linear-gradient(90deg, #14141400 0%, #141414 100%)",
|
|
68
|
+
"content-fade-right": "linear-gradient(-90deg, #14141400 0%, #141414 100%)",
|
|
69
|
+
"content-fade-up": "linear-gradient(180deg, #14141400 0%, #141414 100%)",
|
|
70
|
+
"content-fade-up-down": "linear-gradient(0deg, #14141400 0%, #141414 100%)",
|
|
71
|
+
"content-fade-down": "linear-gradient(0deg, #14141400 0%, #141414 100%)"
|
|
72
|
+
},
|
|
73
|
+
"static": {
|
|
74
|
+
"red-200": "#FAD4D4",
|
|
75
|
+
"black": "#141414",
|
|
76
|
+
"transparent-black": "#14141480",
|
|
77
|
+
"white": "#ffffff",
|
|
78
|
+
"transparent-white": "#ffffff80",
|
|
79
|
+
"green-100": "#CEE4D6",
|
|
80
|
+
"red-300": "#EF7171",
|
|
81
|
+
"transparent-white-10": "#ffffff1a",
|
|
82
|
+
"kultur": "#568CBB",
|
|
83
|
+
"economy": "#60BCA1",
|
|
84
|
+
"sport": "#F58D2D",
|
|
85
|
+
"neutral-200": "#E0E0E0",
|
|
86
|
+
"sthlm": "#FF589B",
|
|
87
|
+
"ad-yellow": "#FFEAC2",
|
|
88
|
+
"neutral-100": "#EDEDED",
|
|
89
|
+
"neutral-500": "#9E9E9E",
|
|
90
|
+
"red-500": "#DA000D",
|
|
91
|
+
"yellow": "#FFE600"
|
|
92
|
+
}
|
|
93
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
{
|
|
2
|
+
"text": {
|
|
3
|
+
"primary": "#050505",
|
|
4
|
+
"primary-02": "#666666",
|
|
5
|
+
"secondary": "#ffffff",
|
|
6
|
+
"critical": "#DA000D",
|
|
7
|
+
"disabled": "#666666",
|
|
8
|
+
"on-brand": "#ffffff",
|
|
9
|
+
"on-business": "#ffffff",
|
|
10
|
+
"on-critical": "#ffffff",
|
|
11
|
+
"on-success": "#ffffff",
|
|
12
|
+
"brand": "#DA000D",
|
|
13
|
+
"body-link": "#4373CE",
|
|
14
|
+
"body-link-visited": "#4373CE",
|
|
15
|
+
"positive": "#3A8352"
|
|
16
|
+
},
|
|
17
|
+
"icon": {
|
|
18
|
+
"primary": "#050505",
|
|
19
|
+
"primary-02": "#666666",
|
|
20
|
+
"secondary": "#ffffff",
|
|
21
|
+
"critical": "#DA000D",
|
|
22
|
+
"disabled": "#666666",
|
|
23
|
+
"on-brand": "#ffffff",
|
|
24
|
+
"on-business": "#ffffff",
|
|
25
|
+
"brand": "#DA000D",
|
|
26
|
+
"on-critical": "#ffffff",
|
|
27
|
+
"on-success": "#ffffff"
|
|
28
|
+
},
|
|
29
|
+
"component": {
|
|
30
|
+
"brand": "#DA000D",
|
|
31
|
+
"business": "#3A8352",
|
|
32
|
+
"primary": "#141414",
|
|
33
|
+
"primary-overlay": "#0808081a",
|
|
34
|
+
"primary-overlay-02": "#08080833",
|
|
35
|
+
"secondary": "#ffffff",
|
|
36
|
+
"secondary-overlay": "#ffffff1a",
|
|
37
|
+
"secondary-overlay-02": "#ffffff33",
|
|
38
|
+
"critical": "#EA3E3F",
|
|
39
|
+
"critical-overlay": "#A51D24",
|
|
40
|
+
"static-white": "#ffffff",
|
|
41
|
+
"positive": "#3A8352",
|
|
42
|
+
"primary-02": "#CFCFCF"
|
|
43
|
+
},
|
|
44
|
+
"surface": {
|
|
45
|
+
"below": "#EDEDED",
|
|
46
|
+
"native-article": "#EDEDED",
|
|
47
|
+
"background": "#ffffff",
|
|
48
|
+
"raised": "#EDEDED",
|
|
49
|
+
"elevated": "#ffffff"
|
|
50
|
+
},
|
|
51
|
+
"border": {
|
|
52
|
+
"primary": "#0808081a",
|
|
53
|
+
"primary-02": "#08080866",
|
|
54
|
+
"primary-03": "#050505",
|
|
55
|
+
"secondary": "#ffffff",
|
|
56
|
+
"business": "#3A8352",
|
|
57
|
+
"critical": "#DA000D",
|
|
58
|
+
"focus": "#DA000D",
|
|
59
|
+
"focus-02": "#141414",
|
|
60
|
+
"focus-03": "#DA000D",
|
|
61
|
+
"focus-04": "#3A8352"
|
|
62
|
+
},
|
|
63
|
+
"background": {
|
|
64
|
+
"primary": "#ffffff"
|
|
65
|
+
},
|
|
66
|
+
"static": {
|
|
67
|
+
"red-200": "#FAD4D4",
|
|
68
|
+
"black": "#141414",
|
|
69
|
+
"transparent-black": "#14141480",
|
|
70
|
+
"white": "#ffffff",
|
|
71
|
+
"transparent-white": "#ffffff80",
|
|
72
|
+
"green-100": "#CEE4D6",
|
|
73
|
+
"red-300": "#EF7171",
|
|
74
|
+
"transparent-white-10": "#ffffff1a",
|
|
75
|
+
"kultur": "#568CBB",
|
|
76
|
+
"economy": "#60BCA1",
|
|
77
|
+
"sport": "#F58D2D",
|
|
78
|
+
"neutral-200": "#E0E0E0",
|
|
79
|
+
"sthlm": "#FF589B",
|
|
80
|
+
"ad-yellow": "#FFEAC2",
|
|
81
|
+
"neutral-100": "#EDEDED",
|
|
82
|
+
"neutral-500": "#9E9E9E",
|
|
83
|
+
"red-500": "#DA000D",
|
|
84
|
+
"yellow": "#FFE600"
|
|
85
|
+
},
|
|
86
|
+
"gradient": {
|
|
87
|
+
"content-fade-left": "linear-gradient(90deg, #ffffff00 0%, #ffffff 100%)",
|
|
88
|
+
"content-fade-right": "linear-gradient(-90deg, #ffffff00 0%, #ffffff 100%)",
|
|
89
|
+
"content-fade-up": "linear-gradient(180deg, #ffffff00 0%, #ffffff 100%)",
|
|
90
|
+
"content-fade-down": "linear-gradient(0deg, #ffffff00 0%, #ffffff 100%)"
|
|
91
|
+
}
|
|
92
|
+
}
|