@bonniernews/dn-design-system-web 25.0.5 → 25.0.6-beta.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.
Files changed (107) hide show
  1. package/assets/form-field/form-field.scss +6 -6
  2. package/assets/teaser/teaser.scss +5 -5
  3. package/components/article-top-image/article-top-image.scss +1 -1
  4. package/components/badge/badge.scss +5 -5
  5. package/components/blocked-content/blocked-content.scss +9 -9
  6. package/components/buddy-menu/buddy-menu.scss +15 -15
  7. package/components/button/button.scss +49 -33
  8. package/components/checkbox/checkbox.scss +9 -9
  9. package/components/disclaimer/disclaimer.scss +10 -10
  10. package/components/divider/divider.scss +3 -3
  11. package/components/empty-state/empty-state.scss +3 -3
  12. package/components/factbox/factbox.scss +13 -13
  13. package/components/footer/footer.scss +16 -16
  14. package/components/game-header/game-header.scss +6 -6
  15. package/components/group-header/group-header.scss +6 -6
  16. package/components/icon-with-wrapper/icon-with-wrapper.njk +1 -1
  17. package/components/image-caption/image-caption.scss +3 -3
  18. package/components/link-box/link-box-item.scss +4 -4
  19. package/components/link-box/link-box.scss +1 -1
  20. package/components/list-item/list-item.scss +24 -24
  21. package/components/modal/modal.scss +4 -4
  22. package/components/pagination/pagination.scss +4 -4
  23. package/components/pictogram/pictogram.scss +3 -3
  24. package/components/profile-header/profile-header.scss +7 -7
  25. package/components/quote/quote.scss +2 -2
  26. package/components/radio-button/radio-button.scss +9 -9
  27. package/components/spinner/spinner.scss +14 -14
  28. package/components/switch/switch.scss +13 -13
  29. package/components/tag-header/tag-header.scss +8 -8
  30. package/components/teaser-centered/teaser-centered.scss +1 -1
  31. package/components/teaser-footer/teaser-footer.scss +5 -5
  32. package/components/teaser-image/teaser-image.scss +4 -4
  33. package/components/teaser-large/teaser-large.scss +7 -6
  34. package/components/teaser-list-vertical/teaser-list-vertical.scss +8 -8
  35. package/components/teaser-longlife/teaser-longlife.scss +7 -7
  36. package/components/teaser-native/teaser-native.scss +19 -19
  37. package/components/teaser-onsite/teaser-onsite.scss +2 -2
  38. package/components/teaser-package/teaser-package.scss +2 -2
  39. package/components/teaser-right-now/teaser-right-now.scss +1 -1
  40. package/components/teaser-slideshow/teaser-slideshow.scss +3 -3
  41. package/components/teaser-split/teaser-split.scss +5 -5
  42. package/components/teaser-standard/teaser-standard.scss +5 -5
  43. package/components/teaser-swipe-card/teaser-swipe-card.scss +10 -10
  44. package/components/teaser-tipsa/teaser-tipsa.scss +2 -2
  45. package/components/text-button/text-button.scss +7 -7
  46. package/components/text-button-toggle/text-button-toggle.scss +7 -7
  47. package/components/text-input/text-input.scss +22 -23
  48. package/components/tooltip/tooltip.scss +5 -5
  49. package/components/video-caption/video-caption.scss +4 -4
  50. package/components/vip-badge/vip-badge.scss +10 -10
  51. package/foundations/colors.scss +6 -18
  52. package/foundations/cssVariables.scss +1 -0
  53. package/foundations/gradients.scss +25 -0
  54. package/foundations/helpers/colors.scss +10 -18
  55. package/foundations/helpers/forward.helpers.scss +1 -0
  56. package/foundations/helpers/gradients.scss +33 -0
  57. package/foundations/helpers/hover.scss +2 -2
  58. package/foundations/helpers/links.scss +4 -3
  59. package/foundations/helpers/metrics.scss +4 -6
  60. package/foundations/helpers/shadows.scss +5 -5
  61. package/foundations/helpers/typography.scss +11 -12
  62. package/foundations/shadows.scss +4 -4
  63. package/foundations/variables/border-width.scss +5 -0
  64. package/foundations/variables/colorsCssVariables.scss +84 -82
  65. package/foundations/variables/colorsDnDark.scss +89 -0
  66. package/foundations/variables/colorsDnLight.scss +89 -0
  67. package/foundations/variables/gradientsDnDark.scss +46 -0
  68. package/foundations/variables/gradientsDnLight.scss +46 -0
  69. package/foundations/variables/gradientsList.scss +4 -0
  70. package/foundations/variables/radius.scss +6 -0
  71. package/foundations/variables/shadowsDnDark.scss +30 -0
  72. package/foundations/variables/shadowsDnLight.scss +30 -0
  73. package/foundations/variables/shadowsList.scss +4 -0
  74. package/foundations/variables/spacingBase.scss +1 -0
  75. package/foundations/variables/spacingBaseList.scss +1 -0
  76. package/foundations/variables/spacingDetail.scss +3 -16
  77. package/foundations/variables/spacingDetailList.scss +3 -16
  78. package/foundations/variables/spacingDetailScreenLarge.scss +3 -16
  79. package/foundations/variables/typographyLetterSpacing.scss +1 -1
  80. package/foundations/variables/typographyLineHeight.scss +3 -3
  81. package/foundations/variables/typographyList.scss +54 -0
  82. package/foundations/variables/{typographyTokensScreenExtraLarge.scss → typographyScreenExtraLarge.scss} +267 -302
  83. package/foundations/variables/typographyScreenLarge.scss +387 -0
  84. package/foundations/variables/{typographyTokensScreenSmall.scss → typographyScreenSmall.scss} +271 -306
  85. package/package.json +2 -2
  86. package/preact/components/icon-with-wrapper/icon-with-wrapper.js +86 -84
  87. package/preact/components/icon-with-wrapper/icon-with-wrapper.js.map +3 -3
  88. package/types-lib/ds-color.d.ts +97 -93
  89. package/variables/colors-dark-mode.json +109 -0
  90. package/variables/colors-light-mode.json +109 -0
  91. package/variables/gradients-dark-mode.json +58 -0
  92. package/variables/gradients-light-mode.json +58 -0
  93. package/variables/typography-list.json +56 -0
  94. package/foundations/variables/colorsDnDarkTokens.scss +0 -88
  95. package/foundations/variables/colorsDnLightTokens.scss +0 -87
  96. package/foundations/variables/decorations.scss +0 -1
  97. package/foundations/variables/metrics.scss +0 -12
  98. package/foundations/variables/shadowsDnDarkTokens.scss +0 -34
  99. package/foundations/variables/shadowsDnLightTokens.scss +0 -34
  100. package/foundations/variables/shadowsTokensList.scss +0 -4
  101. package/foundations/variables/typographyTokensList.scss +0 -59
  102. package/foundations/variables/typographyTokensScreenLarge.scss +0 -422
  103. package/tokens/colors-dark-mode.json +0 -106
  104. package/tokens/colors-light-mode.json +0 -105
  105. package/tokens/typography-list.json +0 -61
  106. package/variables/shadows-css-variables.json +0 -6
  107. /package/{tokens → variables}/icon-list.json +0 -0
@@ -9,20 +9,20 @@ $ds-factbox__padding-left: $ds-factbox__padding - $ds-factbox-border-width;
9
9
  $ds-factbox__max-height: 500px; // includes top/bottom spacing
10
10
 
11
11
  .ds-factbox {
12
- background-color: $ds-color-surface-background;
12
+ background-color: $ds-color-surface-primary;
13
13
  box-sizing: border-box;
14
14
  margin: 0;
15
15
  padding: ds-spacing($ds-s-100 0 $ds-s-200);
16
16
 
17
17
  .ds-factbox__inner {
18
- border-top: ds-border-width(x1) solid $ds-color-border-primary;
18
+ border-top: ds-border-width(xxs) solid $ds-color-border-primary;
19
19
  border-left: $ds-factbox-border-width solid $ds-theme-color;
20
20
  max-height: ds-px-to-rem($ds-factbox__max-height);
21
21
  overflow: hidden;
22
22
  position: relative;
23
23
  padding: $ds-factbox__padding;
24
24
  padding-left: $ds-factbox__padding-left;
25
- padding-top: $ds-factbox__padding - ds-border-width(x1);
25
+ padding-top: $ds-factbox__padding - ds-border-width(xxs);
26
26
 
27
27
  @at-root .ds-force-px#{&} {
28
28
  max-height: $ds-factbox__max-height;
@@ -36,11 +36,11 @@ $ds-factbox__max-height: 500px; // includes top/bottom spacing
36
36
 
37
37
  .ds-factbox__body {
38
38
  overflow: hidden;
39
- @include ds-typography($ds-typography-functionalbody02) {
39
+ @include ds-typography($ds-typography-functional-body-md) {
40
40
  color: $ds-color-text-primary;
41
41
  }
42
42
  @at-root .ds-force-px#{&} {
43
- @include ds-typography($ds-typography-functionalbody02, true);
43
+ @include ds-typography($ds-typography-functional-body-md, true);
44
44
  }
45
45
  p {
46
46
  margin: ds-spacing(0 0 $ds-s-100);
@@ -53,12 +53,12 @@ $ds-factbox__max-height: 500px; // includes top/bottom spacing
53
53
  }
54
54
  b,
55
55
  strong {
56
- @include ds-typography($ds-typography-functionalbody02, $fontWeight: $ds-fontweight-semibold);
56
+ @include ds-typography($ds-typography-functional-body-md, $fontWeight: $ds-fontweight-semibold);
57
57
  }
58
58
  @at-root .ds-force-px#{&} {
59
59
  b,
60
60
  strong {
61
- @include ds-typography($ds-typography-functionalbody02, $forcePx: true, $fontWeight: $ds-fontweight-semibold);
61
+ @include ds-typography($ds-typography-functional-body-md, $forcePx: true, $fontWeight: $ds-fontweight-semibold);
62
62
  }
63
63
  }
64
64
  img {
@@ -67,11 +67,11 @@ $ds-factbox__max-height: 500px; // includes top/bottom spacing
67
67
  }
68
68
  .ds-factbox__title {
69
69
  margin: ds-spacing(0 0 $ds-s-100);
70
- @include ds-typography($ds-typography-functionalheading01, $lineHeight: $ds-lineheight-m) {
70
+ @include ds-typography($ds-typography-functional-heading-xxs, $lineHeight: $ds-lineheight-md) {
71
71
  color: $ds-color-text-primary;
72
72
  }
73
73
  @at-root .ds-force-px#{&} {
74
- @include ds-typography($ds-typography-functionalheading01, $forcePx: true, $lineHeight: $ds-lineheight-m);
74
+ @include ds-typography($ds-typography-functional-heading-xxs, $forcePx: true, $lineHeight: $ds-lineheight-md);
75
75
  }
76
76
  }
77
77
  .ds-factbox__vignette {
@@ -79,7 +79,7 @@ $ds-factbox__max-height: 500px; // includes top/bottom spacing
79
79
  margin-right: ds-spacing($ds-s-025);
80
80
  }
81
81
  .ds-icon--grade {
82
- color: $ds-color-icon-primary;
82
+ color: $ds-color-text-primary;
83
83
  margin: ds-spacing(0 0 $ds-s-100);
84
84
  display: block;
85
85
  height: ds-px-to-rem($ds-factbox__grade-size);
@@ -96,7 +96,7 @@ $ds-factbox__max-height: 500px; // includes top/bottom spacing
96
96
  }
97
97
  .ds-factbox__show-more--collapsable::before {
98
98
  content: "";
99
- background: $ds-color-gradient-content-fade-up;
99
+ background: $ds-gradient-content-fade-up;
100
100
  height: ds-px-to-rem($ds-factbox__show-more-fade-height);
101
101
  width: 100%;
102
102
  position: absolute;
@@ -111,7 +111,7 @@ $ds-factbox__max-height: 500px; // includes top/bottom spacing
111
111
  display: none;
112
112
  }
113
113
  .ds-factbox__show-more--collapsable {
114
- background-color: $ds-color-surface-background;
114
+ background-color: $ds-color-surface-primary;
115
115
  display: block;
116
116
  button {
117
117
  margin: ds-spacing($ds-s-100 0 0);
@@ -134,7 +134,7 @@ $ds-factbox__max-height: 500px; // includes top/bottom spacing
134
134
  content: "";
135
135
  height: $ds-factbox__padding;
136
136
  width: 100%;
137
- background-color: $ds-color-surface-background;
137
+ background-color: $ds-color-surface-primary;
138
138
  position: absolute;
139
139
  }
140
140
  }
@@ -5,10 +5,10 @@ $ds-footer-row-padding-spacing-token: $ds-s-100;
5
5
  $ds-footer-column-gap: ds-spacing($ds-s-400);
6
6
 
7
7
  .ds-footer {
8
- background-color: $ds-color-static-black;
8
+ background-color: $ds-color-neutral-black;
9
9
 
10
10
  &__inner {
11
- color: $ds-color-static-white;
11
+ color: $ds-color-neutral-white;
12
12
  padding: ds-spacing($ds-s-200 $ds-s-100);
13
13
  display: grid;
14
14
  margin: 0 auto;
@@ -37,9 +37,9 @@ $ds-footer-column-gap: ds-spacing($ds-s-400);
37
37
  &__rudolf,
38
38
  &__editors,
39
39
  &__buttons {
40
- border-top-width: ds-border-width(x1);
40
+ border-top-width: ds-border-width(xxs);
41
41
  border-top-style: solid;
42
- border-color: $ds-color-static-transparent-white-10;
42
+ border-color: $ds-color-dark-neutral-alpha-200;
43
43
  }
44
44
 
45
45
  @include ds-mq-smallest-breakpoint(desktop) {
@@ -50,8 +50,8 @@ $ds-footer-column-gap: ds-spacing($ds-s-400);
50
50
 
51
51
  &__link-grid {
52
52
  border-bottom-style: solid;
53
- border-bottom-width: ds-border-width(x1);
54
- border-color: $ds-color-static-transparent-white-10;
53
+ border-bottom-width: ds-border-width(xxs);
54
+ border-color: $ds-color-dark-neutral-alpha-200;
55
55
  }
56
56
  }
57
57
 
@@ -61,7 +61,7 @@ $ds-footer-column-gap: ds-spacing($ds-s-400);
61
61
 
62
62
  &,
63
63
  p {
64
- @include ds-typography($ds-typography-functionalbody01, $lineHeight: $ds-lineheight-l);
64
+ @include ds-typography($ds-typography-functional-body-sm, $lineHeight: $ds-lineheight-lg);
65
65
  }
66
66
 
67
67
  p {
@@ -97,14 +97,14 @@ $ds-footer-column-gap: ds-spacing($ds-s-400);
97
97
 
98
98
  h2 {
99
99
  margin: ds-spacing(0 0 $ds-s-100);
100
- @include ds-typography($ds-typography-functionalheading01, $lineHeight: $ds-lineheight-l);
100
+ @include ds-typography($ds-typography-functional-heading-xxs, $lineHeight: $ds-lineheight-lg);
101
101
  }
102
102
 
103
103
  ul {
104
104
  list-style: none;
105
105
  margin: 0;
106
106
  padding: 0;
107
- @include ds-typography($ds-typography-functionalbody02, $lineHeight: $ds-lineheight-l);
107
+ @include ds-typography($ds-typography-functional-body-md, $lineHeight: $ds-lineheight-lg);
108
108
 
109
109
  li:not(:last-of-type) {
110
110
  margin: ds-spacing(0 0 $ds-s-050);
@@ -112,7 +112,7 @@ $ds-footer-column-gap: ds-spacing($ds-s-400);
112
112
 
113
113
  a {
114
114
  @include ds-link($ds-link-list);
115
- @include ds-focus($offset: 2px, $color: $ds-color-static-white);
115
+ @include ds-focus($offset: 2px, $color: $ds-color-neutral-white);
116
116
  }
117
117
  }
118
118
  }
@@ -130,9 +130,9 @@ $ds-footer-column-gap: ds-spacing($ds-s-400);
130
130
  background-color: transparent;
131
131
  border: none;
132
132
  cursor: pointer;
133
- @include ds-typography($ds-typography-functionalbody01, $lineHeight: $ds-lineheight-l);
133
+ @include ds-typography($ds-typography-functional-body-sm, $lineHeight: $ds-lineheight-lg);
134
134
  @include ds-link($ds-link-list);
135
- @include ds-focus($offset: 2px, $color: $ds-color-static-white);
135
+ @include ds-focus($offset: 2px, $color: $ds-color-neutral-white);
136
136
  @include ds-mq-smallest-breakpoint(tablet) {
137
137
  margin: ds-spacing($ds-s-100 $ds-s-150 0 0);
138
138
  }
@@ -148,19 +148,19 @@ $ds-footer-column-gap: ds-spacing($ds-s-400);
148
148
  .ds-footer__editors {
149
149
  &,
150
150
  p {
151
- @include ds-typography($ds-typography-functionalbody01, $forcePx: true, $lineHeight: $ds-lineheight-l);
151
+ @include ds-typography($ds-typography-functional-body-sm, $forcePx: true, $lineHeight: $ds-lineheight-lg);
152
152
  }
153
153
  }
154
154
  .ds-footer__link-grid {
155
155
  h2 {
156
- @include ds-typography($ds-typography-functionalheading01, true);
156
+ @include ds-typography($ds-typography-functional-heading-xxs, true);
157
157
  }
158
158
  ul {
159
- @include ds-typography($ds-typography-functionalbody02, true);
159
+ @include ds-typography($ds-typography-functional-body-md, true);
160
160
  }
161
161
  }
162
162
  .ds-footer__buttons {
163
- @include ds-typography($ds-typography-functionalbody01, true);
163
+ @include ds-typography($ds-typography-functional-body-sm, true);
164
164
  }
165
165
  }
166
166
  }
@@ -7,8 +7,8 @@ $ds-game-header__icon-size: 105px;
7
7
  width: 100%;
8
8
 
9
9
  .ds-game-header__top {
10
- background-color: $ds-color-surface-background;
11
- color: $ds-color-static-black;
10
+ background-color: $ds-color-surface-primary;
11
+ color: $ds-color-neutral-black;
12
12
  }
13
13
 
14
14
  .ds-game-header__top-content {
@@ -26,7 +26,7 @@ $ds-game-header__icon-size: 105px;
26
26
 
27
27
  .ds-game-header__title {
28
28
  margin: 0;
29
- @include ds-typography($ds-typography-functionalheading05) {
29
+ @include ds-typography($ds-typography-functional-heading-lg) {
30
30
  color: inherit;
31
31
  }
32
32
  }
@@ -41,12 +41,12 @@ $ds-game-header__icon-size: 105px;
41
41
  }
42
42
 
43
43
  .ds-game-header__description {
44
- background-color: $ds-color-surface-background;
44
+ background-color: $ds-color-surface-primary;
45
45
  }
46
46
 
47
47
  .ds-game-header__description-content {
48
48
  padding: ds-spacing($ds-s-100);
49
- @include ds-typography($ds-typography-functionalbody02) {
49
+ @include ds-typography($ds-typography-functional-body-md) {
50
50
  color: $ds-color-text-primary;
51
51
  }
52
52
 
@@ -60,7 +60,7 @@ $ds-game-header__icon-size: 105px;
60
60
 
61
61
  b,
62
62
  strong {
63
- @include ds-typography($ds-typography-functionalbody02, $fontWeight: $ds-fontweight-semibold);
63
+ @include ds-typography($ds-typography-functional-body-md, $fontWeight: $ds-fontweight-semibold);
64
64
  }
65
65
 
66
66
  p {
@@ -5,7 +5,7 @@
5
5
  $ds-group-header__icon-size: 24px;
6
6
 
7
7
  .ds-group-header {
8
- --group-header-background: #{$ds-color-background-primary};
8
+ --group-header-background: #{$ds-color-surface-primary};
9
9
  --group-header-color: #{$ds-color-text-primary};
10
10
  --group-header-icon-color: currentColor;
11
11
  display: flex;
@@ -15,10 +15,10 @@ $ds-group-header__icon-size: 24px;
15
15
  align-items: stretch;
16
16
  background: var(--group-header-background);
17
17
  color: var(--group-header-color);
18
- @include ds-typography($ds-typography-functionalbody02);
18
+ @include ds-typography($ds-typography-functional-body-md);
19
19
 
20
20
  &--bottom-border {
21
- border-bottom: ds-border-width(x1) solid #{$ds-color-border-primary};
21
+ border-bottom: ds-border-width(xxs) solid #{$ds-color-border-primary};
22
22
  flex-basis: ds-spacing($ds-s-300) - 1px;
23
23
  }
24
24
 
@@ -62,7 +62,7 @@ $ds-group-header__icon-size: 24px;
62
62
  }
63
63
 
64
64
  .ds-group-header__right-link {
65
- @include ds-typography($ds-typography-functionalbody01);
65
+ @include ds-typography($ds-typography-functional-body-sm);
66
66
  @include ds-link($ds-link-paragraph) {
67
67
  color: var(--group-header-icon-color);
68
68
  }
@@ -102,11 +102,11 @@ $ds-group-header__icon-size: 24px;
102
102
  padding: ds-spacing($ds-s-075 $ds-s-100);
103
103
  flex: 1;
104
104
  margin: 0;
105
- @include ds-typography($ds-typography-functionalheading01, $lineHeight: $ds-lineheight-l);
105
+ @include ds-typography($ds-typography-functional-heading-xxs, $lineHeight: $ds-lineheight-lg);
106
106
  }
107
107
 
108
108
  &--bottom-border .ds-group-header__title {
109
- padding-bottom: ds-spacing($ds-s-075) - ds-border-width(x1);
109
+ padding-bottom: ds-spacing($ds-s-075) - ds-border-width(xxs);
110
110
  }
111
111
 
112
112
  .ds-group-header__image {
@@ -19,7 +19,7 @@
19
19
  {% set iconSize = size/16 + "rem" %}
20
20
  {% endif %}
21
21
 
22
- {% set styleColor = "color: var(--ds-color-icon-" + color + ");" %}
22
+ {% set styleColor = "color: var(--ds-color-text-" + color + ");" %}
23
23
  {% set styleIcon = "width: " + iconSize + "; height: " + iconSize + ";" %}
24
24
 
25
25
  <div class="{{ classes }}" style="{{ styleIcon }} {{ styleColor }}" {{- attributes | safe}}>
@@ -2,16 +2,16 @@
2
2
 
3
3
  .ds-image-caption {
4
4
  margin-top: ds-spacing($ds-s-050);
5
- @include ds-typography($ds-typography-functionalbody01) {
5
+ @include ds-typography($ds-typography-functional-body-sm) {
6
6
  color: $ds-color-text-primary;
7
7
  }
8
8
 
9
9
  @at-root .ds-force-px#{&} {
10
- @include ds-typography($ds-typography-functionalbody01, true);
10
+ @include ds-typography($ds-typography-functional-body-sm, true);
11
11
  }
12
12
 
13
13
  > .ds-article-image__credits {
14
- color: $ds-color-text-primary-02;
14
+ color: $ds-color-text-primary-subtle;
15
15
 
16
16
  &.ds-article-image__credits--nowrap {
17
17
  white-space: nowrap;
@@ -2,7 +2,7 @@
2
2
 
3
3
  .ds-link-box-item {
4
4
  padding: 0;
5
- background-color: $ds-color-surface-background;
5
+ background-color: $ds-color-surface-primary;
6
6
  text-decoration: none;
7
7
  display: flex;
8
8
  flex-direction: column;
@@ -26,15 +26,15 @@
26
26
  .ds-link-box-item__label {
27
27
  word-break: break-word;
28
28
  display: block;
29
- @include ds-typography($ds-typography-functionalbody01, $fontWeight: $ds-fontweight-semibold) {
29
+ @include ds-typography($ds-typography-functional-body-sm, $fontWeight: $ds-fontweight-semibold) {
30
30
  color: $ds-color-text-primary;
31
31
  }
32
32
  }
33
33
 
34
34
  .ds-link-box-item__text {
35
35
  display: block;
36
- @include ds-typography($ds-typography-functionalbody01) {
37
- color: $ds-color-text-primary-02;
36
+ @include ds-typography($ds-typography-functional-body-sm) {
37
+ color: $ds-color-text-primary-subtle;
38
38
  }
39
39
  }
40
40
 
@@ -3,7 +3,7 @@
3
3
  @use "./link-box-item";
4
4
 
5
5
  .ds-link-box {
6
- background-color: $ds-color-surface-background;
6
+ background-color: $ds-color-surface-primary;
7
7
 
8
8
  .ds-link-box__grid {
9
9
  padding: ds-spacing($ds-s-100);
@@ -24,7 +24,7 @@ $ds-list-item__portrait-size--small: 36px;
24
24
  &.ds-list-item--border::after {
25
25
  content: "";
26
26
  width: 100%;
27
- height: ds-border-width(x1);
27
+ height: ds-border-width(xxs);
28
28
  background: $ds-color-border-primary;
29
29
  position: absolute;
30
30
  bottom: 0;
@@ -78,7 +78,7 @@ $ds-list-item__portrait-size--small: 36px;
78
78
 
79
79
  .ds-list-item__icon-left,
80
80
  .ds-list-item__icon-right {
81
- color: $ds-color-icon-primary;
81
+ color: $ds-color-text-primary;
82
82
  }
83
83
 
84
84
  .ds-list-item__titles {
@@ -90,26 +90,26 @@ $ds-list-item__portrait-size--small: 36px;
90
90
 
91
91
  .ds-list-item__title {
92
92
  text-align: left;
93
- @include ds-typography($ds-typography-functionalbody02, $lineHeight: $ds-lineheight-m) {
93
+ @include ds-typography($ds-typography-functional-body-md, $lineHeight: $ds-lineheight-md) {
94
94
  color: $ds-color-text-primary;
95
95
  }
96
96
  @at-root .ds-force-px#{&} {
97
- @include ds-typography($ds-typography-functionalbody02, $lineHeight: $ds-lineheight-m, $forcePx: true) {
97
+ @include ds-typography($ds-typography-functional-body-md, $lineHeight: $ds-lineheight-md, $forcePx: true) {
98
98
  color: $ds-color-text-primary;
99
99
  }
100
100
  }
101
101
 
102
102
  &.ds-list-item__title--semibold {
103
103
  @include ds-typography(
104
- $ds-typography-functionalbody02,
105
- $lineHeight: $ds-lineheight-m,
104
+ $ds-typography-functional-body-md,
105
+ $lineHeight: $ds-lineheight-md,
106
106
  $fontWeight: $ds-fontweight-semibold
107
107
  );
108
108
 
109
109
  @at-root .ds-force-px#{&} {
110
110
  @include ds-typography(
111
- $ds-typography-functionalbody02,
112
- $lineHeight: $ds-lineheight-m,
111
+ $ds-typography-functional-body-md,
112
+ $lineHeight: $ds-lineheight-md,
113
113
  $forcePx: true,
114
114
  $fontWeight: $ds-fontweight-semibold
115
115
  );
@@ -118,15 +118,15 @@ $ds-list-item__portrait-size--small: 36px;
118
118
 
119
119
  &.ds-list-item__title--bold {
120
120
  @include ds-typography(
121
- $ds-typography-functionalbody02,
122
- $lineHeight: $ds-lineheight-m,
121
+ $ds-typography-functional-body-md,
122
+ $lineHeight: $ds-lineheight-md,
123
123
  $fontWeight: $ds-fontweight-bold
124
124
  );
125
125
 
126
126
  @at-root .ds-force-px#{&} {
127
127
  @include ds-typography(
128
- $ds-typography-functionalbody02,
129
- $lineHeight: $ds-lineheight-m,
128
+ $ds-typography-functional-body-md,
129
+ $lineHeight: $ds-lineheight-md,
130
130
  $forcePx: true,
131
131
  $fontWeight: $ds-fontweight-bold
132
132
  );
@@ -140,12 +140,12 @@ $ds-list-item__portrait-size--small: 36px;
140
140
 
141
141
  .ds-list-item__subtitle {
142
142
  text-align: left;
143
- @include ds-typography($ds-typography-functionalbody02) {
144
- color: $ds-color-text-primary-02;
143
+ @include ds-typography($ds-typography-functional-body-md) {
144
+ color: $ds-color-text-primary-subtle;
145
145
  }
146
146
  @at-root .ds-force-px#{&} {
147
- @include ds-typography($ds-typography-functionalbody02, true) {
148
- color: $ds-color-text-primary-02;
147
+ @include ds-typography($ds-typography-functional-body-md, true) {
148
+ color: $ds-color-text-primary-subtle;
149
149
  }
150
150
  }
151
151
  }
@@ -153,12 +153,12 @@ $ds-list-item__portrait-size--small: 36px;
153
153
 
154
154
  .ds-list-item__meta {
155
155
  text-align: right;
156
- @include ds-typography($ds-typography-functionalbody01) {
157
- color: $ds-color-text-primary-02;
156
+ @include ds-typography($ds-typography-functional-body-sm) {
157
+ color: $ds-color-text-primary-subtle;
158
158
  }
159
159
  @at-root .ds-force-px#{&} {
160
- @include ds-typography($ds-typography-functionalbody01, true) {
161
- color: $ds-color-text-primary-02;
160
+ @include ds-typography($ds-typography-functional-body-sm, true) {
161
+ color: $ds-color-text-primary-subtle;
162
162
  }
163
163
  }
164
164
  }
@@ -193,7 +193,7 @@ $ds-list-item__portrait-size--small: 36px;
193
193
  .ds-list-item__portrait {
194
194
  border-radius: 50%;
195
195
  overflow: hidden;
196
- background-color: $ds-color-component-primary-overlay;
196
+ background-color: $ds-color-surface-primary-raised-soft;
197
197
  flex-shrink: 0;
198
198
 
199
199
  .picture,
@@ -203,13 +203,13 @@ $ds-list-item__portrait-size--small: 36px;
203
203
  }
204
204
 
205
205
  &:active:not(.ds-list-item--disabled) .ds-list-item__inner::before {
206
- background-color: $ds-color-component-primary-overlay;
206
+ background-color: $ds-color-surface-primary-raised-soft;
207
207
  }
208
208
 
209
209
  &:focus-visible {
210
210
  outline: none;
211
211
  .ds-list-item__inner {
212
- outline: ds-border-width(x2) solid $ds-color-border-focus-02;
212
+ outline: ds-border-width(xs) solid $ds-color-border-primary;
213
213
  outline-offset: -2px;
214
214
  }
215
215
  }
@@ -229,7 +229,7 @@ $ds-list-item__portrait-size--small: 36px;
229
229
  @at-root .ds-list-item__accordion-inner {
230
230
  display: none;
231
231
  padding: ds-spacing(0 $ds-s-050);
232
- border-top: ds-border-width(x1) solid $ds-color-border-primary;
232
+ border-top: ds-border-width(xxs) solid $ds-color-border-primary;
233
233
  ul {
234
234
  margin: 0;
235
235
  padding: 0;
@@ -64,7 +64,7 @@ body.no-scroll {
64
64
  }
65
65
 
66
66
  .ds-modal__content {
67
- background-color: $ds-color-surface-background;
67
+ background-color: $ds-color-surface-primary;
68
68
  position: relative;
69
69
  z-index: 15;
70
70
 
@@ -75,7 +75,7 @@ body.no-scroll {
75
75
 
76
76
  @include ds-mq-smallest-breakpoint(tablet) {
77
77
  padding: ds-spacing($ds-s-400 $ds-s-300 $ds-s-300);
78
- border-radius: ds-border-radius(x1);
78
+ border-radius: ds-border-radius(012);
79
79
  }
80
80
 
81
81
  .ds-btn.ds-modal__close--icon {
@@ -87,7 +87,7 @@ body.no-scroll {
87
87
  > h2 {
88
88
  margin: ds-spacing(0 0 $ds-s-200);
89
89
  text-align: center;
90
- @include ds-typography($ds-typography-functionalheading03) {
90
+ @include ds-typography($ds-typography-functional-heading-sm) {
91
91
  color: $ds-color-text-primary;
92
92
  }
93
93
  }
@@ -95,7 +95,7 @@ body.no-scroll {
95
95
  > p {
96
96
  margin: 0;
97
97
  text-align: center;
98
- @include ds-typography($ds-typography-functionalbody02) {
98
+ @include ds-typography($ds-typography-functional-body-md) {
99
99
  color: $ds-color-text-primary;
100
100
  }
101
101
  }
@@ -2,7 +2,7 @@
2
2
  @use "../../components/text-button/text-button";
3
3
 
4
4
  .ds-pagination {
5
- background-color: $ds-color-surface-background;
5
+ background-color: $ds-color-surface-primary;
6
6
  display: flex;
7
7
  justify-content: center;
8
8
  flex-wrap: wrap;
@@ -25,13 +25,13 @@
25
25
  display: flex;
26
26
  align-items: center;
27
27
  justify-content: center;
28
- @include ds-typography($ds-typography-functionalbody02) {
28
+ @include ds-typography($ds-typography-functional-body-md) {
29
29
  color: $ds-color-text-primary;
30
30
  }
31
31
 
32
32
  &--current {
33
- color: $ds-color-text-secondary;
34
- background-color: $ds-color-component-primary;
33
+ color: $ds-color-text-primaryinvert;
34
+ background-color: $ds-color-surface-primaryinvert;
35
35
  border-radius: 100%;
36
36
  }
37
37
 
@@ -11,7 +11,7 @@ $ds-pictogram__icon-size--large: 40px;
11
11
  align-items: center;
12
12
  justify-content: center;
13
13
  border-radius: 50%;
14
- background-color: $ds-color-static-red-100;
14
+ background-color: $ds-color-brand-100;
15
15
  height: ds-px-to-rem($ds-pictogram__size);
16
16
  width: ds-px-to-rem($ds-pictogram__size);
17
17
  @at-root .ds-force-px#{&} {
@@ -29,12 +29,12 @@ $ds-pictogram__icon-size--large: 40px;
29
29
  }
30
30
 
31
31
  > svg {
32
- fill: $ds-color-static-black;
32
+ fill: $ds-color-neutral-black;
33
33
  }
34
34
  }
35
35
 
36
36
  &.ds-pictogram--business {
37
- background-color: $ds-color-static-green-100;
37
+ background-color: $ds-color-green-100;
38
38
  }
39
39
 
40
40
  &.ds-pictogram--large {
@@ -3,13 +3,13 @@
3
3
 
4
4
  .ds-profile-header {
5
5
  width: 100%;
6
- background-color: $ds-color-surface-background;
6
+ background-color: $ds-color-surface-primary;
7
7
  display: flex;
8
8
 
9
9
  &.ds-profile-header--has-border {
10
10
  padding-bottom: ds-spacing($ds-s-100);
11
11
  .ds-profile-header__bar {
12
- border-bottom: ds-border-width(x1) solid $ds-color-border-primary;
12
+ border-bottom: ds-border-width(xxs) solid $ds-color-border-primary;
13
13
 
14
14
  + .ds-profile-header__article-count {
15
15
  padding-top: ds-spacing($ds-s-100);
@@ -41,7 +41,7 @@
41
41
  .ds-profile-header__title {
42
42
  margin: 0;
43
43
  word-break: break-word;
44
- @include ds-typography($ds-typography-functionalheading03, $fontWeight: $ds-fontweight-bold) {
44
+ @include ds-typography($ds-typography-functional-heading-sm, $fontWeight: $ds-fontweight-bold) {
45
45
  color: $ds-color-text-primary;
46
46
  }
47
47
  }
@@ -57,15 +57,15 @@
57
57
  .ds-profile-header__article-count {
58
58
  margin: ds-spacing(0 $ds-s-100 0);
59
59
  padding-top: ds-spacing($ds-s-050);
60
- @include ds-typography($ds-typography-functionalbody02) {
61
- color: $ds-color-text-primary-02;
60
+ @include ds-typography($ds-typography-functional-body-md) {
61
+ color: $ds-color-text-primary-subtle;
62
62
  }
63
63
  }
64
64
 
65
65
  .ds-profile-header__description {
66
66
  margin: ds-spacing(0 $ds-s-100 0);
67
67
  padding-top: ds-spacing($ds-s-100);
68
- @include ds-typography($ds-typography-functionalbody02) {
68
+ @include ds-typography($ds-typography-functional-body-md) {
69
69
  color: $ds-color-text-primary;
70
70
  }
71
71
 
@@ -75,7 +75,7 @@
75
75
 
76
76
  b,
77
77
  strong {
78
- @include ds-typography($ds-typography-functionalbody02, $fontWeight: $ds-fontweight-semibold);
78
+ @include ds-typography($ds-typography-functional-body-md, $fontWeight: $ds-fontweight-semibold);
79
79
  }
80
80
 
81
81
  p {
@@ -4,12 +4,12 @@
4
4
  margin: 0;
5
5
  padding: ds-spacing($ds-s-100 0 $ds-s-200);
6
6
  position: relative;
7
- @include ds-typography($ds-typography-detailarticle-quote) {
7
+ @include ds-typography($ds-typography-detail-article-quote) {
8
8
  color: $ds-color-text-primary;
9
9
  }
10
10
 
11
11
  @at-root .ds-force-px#{&} {
12
- @include ds-typography($ds-typography-detailarticle-quote, true);
12
+ @include ds-typography($ds-typography-detail-article-quote, true);
13
13
  }
14
14
 
15
15
  .ds-quote__border {