@bonniernews/dn-design-system-web 1.0.0 → 1.1.0-alpha.2
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 +34 -0
- package/components/buddy-menu/buddy-menu.njk +40 -36
- package/components/buddy-menu/buddy-menu.scss +37 -35
- package/components/list-item/README-accordion.md +3 -2
- package/components/list-item/list-item.js +13 -3
- package/components/list-item/list-item.scss +9 -1
- package/foundations/helpers/typography.scss +1 -1
- package/foundations/typography/fontDefinitions.scss +142 -15
- package/foundations/variables/colorsCssVariables.scss +3 -0
- package/foundations/variables/colorsDnDarkTokens.scss +4 -1
- package/foundations/variables/colorsDnLightTokens.scss +3 -0
- package/foundations/variables/shadowsDnDarkTokens.scss +3 -3
- package/foundations/variables/spacingComponent.scss +4 -1
- package/foundations/variables/spacingLayout.scss +4 -4
- package/foundations/variables/typographyTokensList.scss +24 -0
- package/foundations/variables/typographyTokensScreenLarge.scss +171 -26
- package/foundations/variables/typographyTokensScreenSmall.scss +160 -26
- package/package.json +1 -1
- package/tokens/colors-css-variables.json +3 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,40 @@
|
|
|
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
|
+
## 1.1.0-alpha.2 (2023-01-25)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **web:** adapt buddy menu to bang ([#593](https://github.com/BonnierNews/dn-design-system/issues/593)) ([37bb585](https://github.com/BonnierNews/dn-design-system/commit/37bb585df40132b39d552fdea67cd388be23f105))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
## [1.1.0-alpha.1](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@1.1.0-alpha.0...@bonniernews/dn-design-system-web@1.1.0-alpha.1) (2023-01-24)
|
|
16
|
+
|
|
17
|
+
**Note:** Version bump only for package @bonniernews/dn-design-system-web
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
## 1.1.0-alpha.0 (2023-01-23)
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Features
|
|
27
|
+
|
|
28
|
+
* **foundations:** update font to serif 20 and added italic for serif display ([#581](https://github.com/BonnierNews/dn-design-system/issues/581)) ([66afa75](https://github.com/BonnierNews/dn-design-system/commit/66afa75397a11e4ff4b7947a644344f174a6714f))
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### [1.0.1-alpha.0](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@1.0.0...@bonniernews/dn-design-system-web@1.0.1-alpha.0) (2023-01-23)
|
|
33
|
+
|
|
34
|
+
**Note:** Version bump only for package @bonniernews/dn-design-system-web
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
6
40
|
## [1.0.0](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@1.0.0-alpha.30...@bonniernews/dn-design-system-web@1.0.0) (2023-01-20)
|
|
7
41
|
|
|
8
42
|
**Note:** Version bump only for package @bonniernews/dn-design-system-web
|
|
@@ -23,46 +23,50 @@
|
|
|
23
23
|
{% set classes = componentClassName + " " + variant | join(" ") %}
|
|
24
24
|
|
|
25
25
|
<div class="{{ classes }} {{ 'ds-buddy-menu--skola' if params.isDnSkola }}" {{- attributes | safe}}>
|
|
26
|
-
<div class="
|
|
27
|
-
<div class="ds-buddy-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
26
|
+
<div class="{{ componentClassName + '__inner'}}">
|
|
27
|
+
<div class="ds-buddy-menu__scrollable-container">
|
|
28
|
+
<div class="ds-buddy-menu__content">
|
|
29
|
+
{{ IconButton({
|
|
30
|
+
variant: "transparent",
|
|
31
|
+
size: "small",
|
|
32
|
+
iconName: "close",
|
|
33
|
+
classNames: "ds-buddy-menu__close",
|
|
34
|
+
forcePx: params.forcePx
|
|
35
|
+
})}}
|
|
35
36
|
|
|
36
|
-
{%- if params.isDnSkola %}
|
|
37
|
-
{# @todo add support for skola users #}
|
|
38
|
-
{%- else %}
|
|
39
37
|
<div class="ds-buddy-menu__header">
|
|
40
38
|
<span class="ds-buddy-menu__greeting">Hej <span class="ds-buddy-menu__name js-buddy-menu-name" data-name-type="given">{{ params.name }}</span>!</span>
|
|
41
|
-
|
|
42
|
-
<
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
{% if params.addons %}
|
|
46
|
-
<h2 class="ds-buddy-menu__addons-title">Mina tillägg</h2>
|
|
47
|
-
<ul class="ds-buddy-menu__addons-list">
|
|
48
|
-
{% for addon in params.addons %}
|
|
49
|
-
<li><a href="{{ addon.href }}">{{ addon.title }}</a></li>
|
|
50
|
-
{% endfor %}
|
|
51
|
-
</ul>
|
|
52
|
-
{% endif %}
|
|
39
|
+
{%- if not params.isDnSkola %}
|
|
40
|
+
<div class="ds-buddy-menu__account">
|
|
41
|
+
<h2 class="ds-buddy-menu__account-title">Min prenumeration</h2>
|
|
42
|
+
<span class="ds-buddy-menu__account-level js-buddy-menu__account-level">{{ params.accountLevel }}</span>
|
|
53
43
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
44
|
+
{% if params.addons %}
|
|
45
|
+
<div class="ds-buddy-menu__addons {{ params.addonClassNames }}">
|
|
46
|
+
<h2 class="ds-buddy-menu__addons-title">Mina tillägg</h2>
|
|
47
|
+
<ul class="ds-buddy-menu__addons-list">
|
|
48
|
+
{% for addon in params.addons %}
|
|
49
|
+
<li class="{{ addon.classNames }}"><a href="{{ addon.href }}">{{ addon.title }}</a></li>
|
|
50
|
+
{% endfor %}
|
|
51
|
+
</ul>
|
|
52
|
+
</div>
|
|
53
|
+
{% endif %}
|
|
54
|
+
|
|
55
|
+
<div class="ds-buddy-menu__campaign">
|
|
56
|
+
{{ params.campaignHtml | safe }}
|
|
57
|
+
</div>
|
|
64
58
|
|
|
65
|
-
|
|
59
|
+
{{ Button({
|
|
60
|
+
text: "Mitt konto",
|
|
61
|
+
variant: "primary",
|
|
62
|
+
fullWidth: true,
|
|
63
|
+
href: params.myAccountUrl | default("#"),
|
|
64
|
+
attributes: { "data-hide-promo" : "" },
|
|
65
|
+
forcePx: params.forcePx
|
|
66
|
+
})}}
|
|
67
|
+
</div>
|
|
68
|
+
{% endif %}
|
|
69
|
+
</div>
|
|
66
70
|
|
|
67
71
|
<div class="ds-buddy-menu__links">
|
|
68
72
|
<h2 class="ds-buddy-menu__links-title">Mitt innehåll</h2>
|
|
@@ -70,7 +74,7 @@
|
|
|
70
74
|
{{ params.links | safe }}
|
|
71
75
|
</ul>
|
|
72
76
|
</div>
|
|
73
|
-
|
|
77
|
+
</div>
|
|
74
78
|
</div>
|
|
75
79
|
</div>
|
|
76
80
|
</div>
|
|
@@ -10,68 +10,60 @@
|
|
|
10
10
|
@use "../list-item/list-item.scss" as *;
|
|
11
11
|
|
|
12
12
|
.ds-buddy-menu {
|
|
13
|
-
width: 360px;
|
|
14
|
-
background-color: $ds-color-surface-elevated;
|
|
15
|
-
border-radius: ds-metrics-border-radius(x2);
|
|
16
|
-
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.15);
|
|
17
13
|
position: absolute;
|
|
18
14
|
top: 0;
|
|
19
15
|
right: 0;
|
|
20
|
-
z-index: 1;
|
|
21
16
|
|
|
22
|
-
|
|
23
|
-
|
|
17
|
+
&,
|
|
18
|
+
.ds-buddy-menu__inner {
|
|
19
|
+
width: 360px;
|
|
20
|
+
|
|
21
|
+
@include ds-mq-largest-breakpoint(mobile) {
|
|
22
|
+
width: 100vw;
|
|
23
|
+
}
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
.ds-buddy-menu__inner {
|
|
27
|
+
background-color: $ds-color-surface-elevated;
|
|
28
|
+
border-radius: ds-metrics-border-radius(x2);
|
|
29
|
+
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.15);
|
|
30
|
+
position: relative;
|
|
31
|
+
z-index: 1;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.ds-buddy-menu__scrollable-container {
|
|
27
35
|
max-height: calc(100vh - 100px);
|
|
28
36
|
overflow-y: auto;
|
|
29
|
-
/* @todo - should we style scrollbar?
|
|
30
|
-
// Scrollbar styling based on existing styling in arkivet/bang
|
|
31
|
-
&::-webkit-scrollbar {
|
|
32
|
-
width: 8px;
|
|
33
|
-
}
|
|
34
|
-
&::-webkit-scrollbar-thumb {
|
|
35
|
-
border: 1px solid $ds-color-component-primary-overlay;
|
|
36
|
-
background-color: $ds-color-border-primary-02;
|
|
37
|
-
border-radius: ds-metrics-border-radius(x2);
|
|
38
|
-
}
|
|
39
|
-
&::-webkit-scrollbar-track {
|
|
40
|
-
border: 0;
|
|
41
|
-
background-color: $ds-color-component-primary-overlay;
|
|
42
|
-
border-radius: ds-metrics-border-radius(x2);
|
|
43
|
-
}
|
|
44
|
-
*/
|
|
45
37
|
}
|
|
46
|
-
|
|
38
|
+
.ds-buddy-menu__content {
|
|
47
39
|
position: relative;
|
|
48
40
|
}
|
|
49
|
-
|
|
41
|
+
.ds-buddy-menu__header {
|
|
50
42
|
padding: ds-spacing-component(x8 x4 x4);
|
|
51
43
|
margin: ds-spacing-component(0 0 x4);
|
|
52
44
|
}
|
|
53
|
-
|
|
45
|
+
.ds-buddy-menu__close {
|
|
54
46
|
position: absolute;
|
|
55
47
|
right: ds-spacing-component(x1);
|
|
56
48
|
top: ds-spacing-component(x1);
|
|
57
49
|
}
|
|
58
|
-
|
|
50
|
+
.ds-buddy-menu__greeting {
|
|
59
51
|
@include ds-typography($ds-typography-functional-heading03bold);
|
|
60
52
|
color: $ds-color-text-primary;
|
|
61
53
|
margin: ds-spacing-component(0 0 x4);
|
|
62
54
|
display: block;
|
|
63
55
|
}
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
56
|
+
.ds-buddy-menu__account-title,
|
|
57
|
+
.ds-buddy-menu__addons-title,
|
|
58
|
+
.ds-buddy-menu__links-title {
|
|
67
59
|
@include ds-typography($ds-typography-functional-body02medium);
|
|
68
60
|
color: $ds-color-text-primary;
|
|
69
61
|
margin: ds-spacing-component(0 0 x1);
|
|
70
62
|
}
|
|
71
|
-
|
|
63
|
+
.ds-buddy-menu__links-title {
|
|
72
64
|
padding: ds-spacing-component(0 x4);
|
|
73
65
|
}
|
|
74
|
-
|
|
66
|
+
.ds-buddy-menu__addons-list {
|
|
75
67
|
padding: 0;
|
|
76
68
|
margin: ds-spacing-component(0 0 x4);
|
|
77
69
|
list-style: none;
|
|
@@ -82,13 +74,13 @@
|
|
|
82
74
|
@include ds-link($ds-link-list);
|
|
83
75
|
}
|
|
84
76
|
}
|
|
85
|
-
|
|
77
|
+
.ds-buddy-menu__account-level {
|
|
86
78
|
@include ds-typography($ds-typography-functional-body02regular);
|
|
87
79
|
color: $ds-color-text-primary-02;
|
|
88
80
|
margin: ds-spacing-component(0 0 x4);
|
|
89
81
|
display: block;
|
|
90
82
|
}
|
|
91
|
-
|
|
83
|
+
.ds-buddy-menu__links-list {
|
|
92
84
|
border-bottom-left-radius: ds-metrics-border-radius(x2);
|
|
93
85
|
border-bottom-right-radius: ds-metrics-border-radius(x2);
|
|
94
86
|
overflow: hidden;
|
|
@@ -112,4 +104,14 @@
|
|
|
112
104
|
@include ds-typography($ds-typography-functional-body02regular, true);
|
|
113
105
|
}
|
|
114
106
|
}
|
|
107
|
+
|
|
108
|
+
.ds-buddy-menu__campaign {
|
|
109
|
+
margin: 0 -#{ds-spacing-component(x4)};
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
&.ds-buddy-menu--skola {
|
|
113
|
+
.ds-buddy-menu__greeting {
|
|
114
|
+
margin: 0;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
115
117
|
}
|
|
@@ -48,8 +48,9 @@ These are copy paste friendly examples to quickliy get started using a component
|
|
|
48
48
|
### Javascript
|
|
49
49
|
|
|
50
50
|
```javascript
|
|
51
|
-
import
|
|
52
|
-
|
|
51
|
+
import dsListItem from '@bonniernews/dn-design-system-web/components/list-item/list-item.js'
|
|
52
|
+
const accordionElements = Array.from(document.getElementsByClassName("ds-list-item--accordion"));
|
|
53
|
+
dsListItem(accordionElements);
|
|
53
54
|
```
|
|
54
55
|
|
|
55
56
|
*The javascript is only needed for list items of type accordion*
|
|
@@ -1,8 +1,18 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
1
|
+
export {
|
|
2
|
+
dsListItem,
|
|
3
|
+
dsListItemStorybook
|
|
4
|
+
};
|
|
5
|
+
|
|
6
|
+
function dsListItem(accordionElements = []) {
|
|
7
|
+
if (!accordionElements.length) return;
|
|
3
8
|
accordionElements.forEach((accordionEl) => {
|
|
4
9
|
accordionEl.addEventListener("click", () => {
|
|
5
|
-
accordionEl.classList.toggle(
|
|
10
|
+
accordionEl.classList.toggle("ds-list-item--accordion-active");
|
|
6
11
|
});
|
|
7
12
|
});
|
|
8
13
|
}
|
|
14
|
+
|
|
15
|
+
function dsListItemStorybook() {
|
|
16
|
+
const accordionElements = Array.from(document.getElementsByClassName("ds-list-item--accordion"));
|
|
17
|
+
dsListItem(accordionElements);
|
|
18
|
+
}
|
|
@@ -137,7 +137,8 @@ $ds-list-item__icon-size: 24px;
|
|
|
137
137
|
.ds-list-item--border {
|
|
138
138
|
position: relative;
|
|
139
139
|
|
|
140
|
-
&::after
|
|
140
|
+
&::after,
|
|
141
|
+
&.ds-list-item--accordion-active + .ds-list-item__accordion-inner::after {
|
|
141
142
|
content: "";
|
|
142
143
|
height: ds-metrics-border-width(x1);
|
|
143
144
|
width: calc(100% - (ds-spacing-component(x4) * 2));
|
|
@@ -146,6 +147,12 @@ $ds-list-item__icon-size: 24px;
|
|
|
146
147
|
left: ds-spacing-component(x4);
|
|
147
148
|
bottom: 0;
|
|
148
149
|
}
|
|
150
|
+
|
|
151
|
+
&.ds-list-item--accordion-active {
|
|
152
|
+
&::after {
|
|
153
|
+
background-color: transparent;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
149
156
|
}
|
|
150
157
|
|
|
151
158
|
.ds-list-item--accordion {
|
|
@@ -171,6 +178,7 @@ $ds-list-item__icon-size: 24px;
|
|
|
171
178
|
|
|
172
179
|
& + .ds-list-item__accordion-inner {
|
|
173
180
|
display: block;
|
|
181
|
+
position: relative;
|
|
174
182
|
}
|
|
175
183
|
}
|
|
176
184
|
}
|
|
@@ -3,7 +3,7 @@ $dnSerif: (
|
|
|
3
3
|
fontFamily: DNSerifVf,
|
|
4
4
|
sources: (
|
|
5
5
|
(
|
|
6
|
-
file: "
|
|
6
|
+
file: "DNSerif20-Variable.woff2",
|
|
7
7
|
format: "woff2-variations",
|
|
8
8
|
),
|
|
9
9
|
),
|
|
@@ -14,11 +14,11 @@ $dnSerif: (
|
|
|
14
14
|
fontFamily: DNSerif,
|
|
15
15
|
sources: (
|
|
16
16
|
(
|
|
17
|
-
file: "
|
|
17
|
+
file: "DNSerifHeadline20-Light.woff2",
|
|
18
18
|
format: "woff2",
|
|
19
19
|
),
|
|
20
20
|
(
|
|
21
|
-
file: "
|
|
21
|
+
file: "DNSerifHeadline20-Light.woff",
|
|
22
22
|
format: "woff",
|
|
23
23
|
),
|
|
24
24
|
),
|
|
@@ -29,11 +29,11 @@ $dnSerif: (
|
|
|
29
29
|
fontFamily: DNSerif,
|
|
30
30
|
sources: (
|
|
31
31
|
(
|
|
32
|
-
file: "
|
|
32
|
+
file: "DNSerifHeadline20-Regular.woff2",
|
|
33
33
|
format: "woff2",
|
|
34
34
|
),
|
|
35
35
|
(
|
|
36
|
-
file: "
|
|
36
|
+
file: "DNSerifHeadline20-Regular.woff",
|
|
37
37
|
format: "woff",
|
|
38
38
|
),
|
|
39
39
|
),
|
|
@@ -44,11 +44,11 @@ $dnSerif: (
|
|
|
44
44
|
fontFamily: DNSerif,
|
|
45
45
|
sources: (
|
|
46
46
|
(
|
|
47
|
-
file: "
|
|
47
|
+
file: "DNSerifHeadline20-Medium.woff2",
|
|
48
48
|
format: "woff2",
|
|
49
49
|
),
|
|
50
50
|
(
|
|
51
|
-
file: "
|
|
51
|
+
file: "DNSerifHeadline20-Medium.woff",
|
|
52
52
|
format: "woff",
|
|
53
53
|
),
|
|
54
54
|
),
|
|
@@ -59,11 +59,11 @@ $dnSerif: (
|
|
|
59
59
|
fontFamily: DNSerif,
|
|
60
60
|
sources: (
|
|
61
61
|
(
|
|
62
|
-
file: "
|
|
62
|
+
file: "DNSerifHeadline20-SemiBold.woff2",
|
|
63
63
|
format: "woff2",
|
|
64
64
|
),
|
|
65
65
|
(
|
|
66
|
-
file: "
|
|
66
|
+
file: "DNSerifHeadline20-SemiBold.woff",
|
|
67
67
|
format: "woff",
|
|
68
68
|
),
|
|
69
69
|
),
|
|
@@ -74,11 +74,11 @@ $dnSerif: (
|
|
|
74
74
|
fontFamily: DNSerif,
|
|
75
75
|
sources: (
|
|
76
76
|
(
|
|
77
|
-
file: "
|
|
77
|
+
file: "DNSerifHeadline20-Bold.woff2",
|
|
78
78
|
format: "woff2",
|
|
79
79
|
),
|
|
80
80
|
(
|
|
81
|
-
file: "
|
|
81
|
+
file: "DNSerifHeadline20-Bold.woff",
|
|
82
82
|
format: "woff",
|
|
83
83
|
),
|
|
84
84
|
),
|
|
@@ -89,11 +89,11 @@ $dnSerif: (
|
|
|
89
89
|
fontFamily: DNSerif,
|
|
90
90
|
sources: (
|
|
91
91
|
(
|
|
92
|
-
file: "
|
|
92
|
+
file: "DNSerifHeadline20-ExtraBold.woff2",
|
|
93
93
|
format: "woff2",
|
|
94
94
|
),
|
|
95
95
|
(
|
|
96
|
-
file: "
|
|
96
|
+
file: "DNSerifHeadline20-ExtraBold.woff",
|
|
97
97
|
format: "woff",
|
|
98
98
|
),
|
|
99
99
|
),
|
|
@@ -104,11 +104,11 @@ $dnSerif: (
|
|
|
104
104
|
fontFamily: DNSerif,
|
|
105
105
|
sources: (
|
|
106
106
|
(
|
|
107
|
-
file: "
|
|
107
|
+
file: "DNSerifHeadline20-Black.woff2",
|
|
108
108
|
format: "woff2",
|
|
109
109
|
),
|
|
110
110
|
(
|
|
111
|
-
file: "
|
|
111
|
+
file: "DNSerifHeadline20-Black.woff",
|
|
112
112
|
format: "woff",
|
|
113
113
|
),
|
|
114
114
|
),
|
|
@@ -117,6 +117,133 @@ $dnSerif: (
|
|
|
117
117
|
)
|
|
118
118
|
);
|
|
119
119
|
|
|
120
|
+
$dnSerifItalic: (
|
|
121
|
+
(
|
|
122
|
+
fontFamily: DNSerifVf,
|
|
123
|
+
sources: (
|
|
124
|
+
(
|
|
125
|
+
file: "DNSerifItalic20-Variable.woff2",
|
|
126
|
+
format: "woff2-variations",
|
|
127
|
+
),
|
|
128
|
+
),
|
|
129
|
+
fontWeight: 86 180,
|
|
130
|
+
fontStyle: italic,
|
|
131
|
+
fontDisplay: swap,
|
|
132
|
+
),
|
|
133
|
+
(
|
|
134
|
+
fontFamily: DNSerif,
|
|
135
|
+
sources: (
|
|
136
|
+
(
|
|
137
|
+
file: "DNSerifDisplay20-LightItalic.woff2",
|
|
138
|
+
format: "woff2",
|
|
139
|
+
),
|
|
140
|
+
(
|
|
141
|
+
file: "DNSerifDisplay20-LightItalic.woff",
|
|
142
|
+
format: "woff",
|
|
143
|
+
),
|
|
144
|
+
),
|
|
145
|
+
fontWeight: 300,
|
|
146
|
+
fontStyle: italic,
|
|
147
|
+
fontDisplay: swap,
|
|
148
|
+
),
|
|
149
|
+
(
|
|
150
|
+
fontFamily: DNSerif,
|
|
151
|
+
sources: (
|
|
152
|
+
(
|
|
153
|
+
file: "DNSerifDisplay20-Italic.woff2",
|
|
154
|
+
format: "woff2",
|
|
155
|
+
),
|
|
156
|
+
(
|
|
157
|
+
file: "DNSerifDisplay20-Italic.woff",
|
|
158
|
+
format: "woff",
|
|
159
|
+
),
|
|
160
|
+
),
|
|
161
|
+
fontWeight: 400,
|
|
162
|
+
fontStyle: italic,
|
|
163
|
+
fontDisplay: swap,
|
|
164
|
+
),
|
|
165
|
+
(
|
|
166
|
+
fontFamily: DNSerif,
|
|
167
|
+
sources: (
|
|
168
|
+
(
|
|
169
|
+
file: "DNSerifDisplay20-MediumItalic.woff2",
|
|
170
|
+
format: "woff2",
|
|
171
|
+
),
|
|
172
|
+
(
|
|
173
|
+
file: "DNSerifDisplay20-MediumItalic.woff",
|
|
174
|
+
format: "woff",
|
|
175
|
+
),
|
|
176
|
+
),
|
|
177
|
+
fontWeight: 500,
|
|
178
|
+
fontStyle: italic,
|
|
179
|
+
fontDisplay: swap,
|
|
180
|
+
),
|
|
181
|
+
(
|
|
182
|
+
fontFamily: DNSerif,
|
|
183
|
+
sources: (
|
|
184
|
+
(
|
|
185
|
+
file: "DNSerifDisplay20-SemiBoldItalic.woff2",
|
|
186
|
+
format: "woff2",
|
|
187
|
+
),
|
|
188
|
+
(
|
|
189
|
+
file: "DNSerifDisplay20-SemiBoldItalic.woff",
|
|
190
|
+
format: "woff",
|
|
191
|
+
),
|
|
192
|
+
),
|
|
193
|
+
fontWeight: 600,
|
|
194
|
+
fontStyle: italic,
|
|
195
|
+
fontDisplay: swap,
|
|
196
|
+
),
|
|
197
|
+
(
|
|
198
|
+
fontFamily: DNSerif,
|
|
199
|
+
sources: (
|
|
200
|
+
(
|
|
201
|
+
file: "DNSerifDisplay20-BoldItalic.woff2",
|
|
202
|
+
format: "woff2",
|
|
203
|
+
),
|
|
204
|
+
(
|
|
205
|
+
file: "DNSerifDisplay20-BoldItalic.woff",
|
|
206
|
+
format: "woff",
|
|
207
|
+
),
|
|
208
|
+
),
|
|
209
|
+
fontWeight: 700,
|
|
210
|
+
fontStyle: italic,
|
|
211
|
+
fontDisplay: swap,
|
|
212
|
+
),
|
|
213
|
+
(
|
|
214
|
+
fontFamily: DNSerif,
|
|
215
|
+
sources: (
|
|
216
|
+
(
|
|
217
|
+
file: "DNSerifDisplay20-ExtraBoldItalic.woff2",
|
|
218
|
+
format: "woff2",
|
|
219
|
+
),
|
|
220
|
+
(
|
|
221
|
+
file: "DNSerifDisplay20-ExtraBoldItalic.woff",
|
|
222
|
+
format: "woff",
|
|
223
|
+
),
|
|
224
|
+
),
|
|
225
|
+
fontWeight: 800,
|
|
226
|
+
fontStyle: italic,
|
|
227
|
+
fontDisplay: swap,
|
|
228
|
+
),
|
|
229
|
+
(
|
|
230
|
+
fontFamily: DNSerif,
|
|
231
|
+
sources: (
|
|
232
|
+
(
|
|
233
|
+
file: "DNSerifDisplay20-BlackItalic.woff2",
|
|
234
|
+
format: "woff2",
|
|
235
|
+
),
|
|
236
|
+
(
|
|
237
|
+
file: "DNSerifDisplay20-BlackItalic.woff",
|
|
238
|
+
format: "woff",
|
|
239
|
+
),
|
|
240
|
+
),
|
|
241
|
+
fontWeight: 900,
|
|
242
|
+
fontStyle: italic,
|
|
243
|
+
fontDisplay: swap,
|
|
244
|
+
)
|
|
245
|
+
);
|
|
246
|
+
|
|
120
247
|
$dnSans: (
|
|
121
248
|
(
|
|
122
249
|
fontFamily: DNSansVF,
|
|
@@ -53,4 +53,7 @@ $ds-color-static-transparent-white: var(--ds-color-static-transparent-white);
|
|
|
53
53
|
$ds-color-static-green-100: var(--ds-color-static-green-100);
|
|
54
54
|
$ds-color-static-red-300: var(--ds-color-static-red-300);
|
|
55
55
|
$ds-color-static-transparent-white-10: var(--ds-color-static-transparent-white-10);
|
|
56
|
+
$ds-color-static-kultur: var(--ds-color-static-kultur);
|
|
57
|
+
$ds-color-static-economy: var(--ds-color-static-economy);
|
|
58
|
+
$ds-color-static-sport: var(--ds-color-static-sport);
|
|
56
59
|
$ds-color-gradient-content-fade: var(--ds-color-gradient-content-fade);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
$ds-hex-dark-text-primary: #EDEDED;
|
|
2
|
-
$ds-hex-dark-text-primary-02: #
|
|
2
|
+
$ds-hex-dark-text-primary-02: #B8B8B8;
|
|
3
3
|
$ds-hex-dark-text-secondary: #050505;
|
|
4
4
|
$ds-hex-dark-text-critical: #EF7171;
|
|
5
5
|
$ds-hex-dark-text-disabled: #B8B8B8;
|
|
@@ -54,3 +54,6 @@ $ds-hex-dark-static-transparent-white: #ffffff80;
|
|
|
54
54
|
$ds-hex-dark-static-green-100: #CEE4D6;
|
|
55
55
|
$ds-hex-dark-static-red-300: #EF7171;
|
|
56
56
|
$ds-hex-dark-static-transparent-white-10: #ffffff1a;
|
|
57
|
+
$ds-hex-dark-static-kultur: #568CBB;
|
|
58
|
+
$ds-hex-dark-static-economy: #60BCA1;
|
|
59
|
+
$ds-hex-dark-static-sport: #F58D2D;
|
|
@@ -53,4 +53,7 @@ $ds-hex-static-transparent-white: #ffffff80;
|
|
|
53
53
|
$ds-hex-static-green-100: #CEE4D6;
|
|
54
54
|
$ds-hex-static-red-300: #EF7171;
|
|
55
55
|
$ds-hex-static-transparent-white-10: #ffffff1a;
|
|
56
|
+
$ds-hex-static-kultur: #568CBB;
|
|
57
|
+
$ds-hex-static-economy: #60BCA1;
|
|
58
|
+
$ds-hex-static-sport: #F58D2D;
|
|
56
59
|
$ds-hex-gradient-content-fade: linear-gradient(90deg, #ffffff00 0%, #ffffff 100%);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
$spacingLayout: (
|
|
2
|
-
|
|
3
|
-
top-small: 16,
|
|
4
|
-
top-large: 48,
|
|
5
|
-
bottom: 16,
|
|
2
|
+
page-horizontal: 16,
|
|
3
|
+
page-top-small: 16,
|
|
4
|
+
page-top-large: 48,
|
|
5
|
+
page-bottom: 16,
|
|
6
6
|
gap-vertical-static-medium: 16,
|
|
7
7
|
gap-vertical-static-large: 32,
|
|
8
8
|
gap-horizontal-static-small: 8,
|