@bonniernews/dn-design-system-web 33.0.9 → 34.1.0
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 +19 -0
- package/components/button/button.scss +1 -1
- package/components/direkt-header/direkt-header.scss +1 -1
- package/components/teaser-counter/teaser-counter.scss +1 -1
- package/components/teaser-slideshow/teaser-slideshow.scss +1 -0
- package/foundations/base.scss +4 -0
- package/foundations/variables/colorsCssVariables.scss +10 -4
- package/foundations/variables/colorsDnDark.scss +24 -18
- package/foundations/variables/colorsDnLight.scss +21 -15
- package/foundations/variables/gradientsDnDark.scss +12 -12
- package/foundations/variables/gradientsDnLight.scss +12 -12
- package/foundations/variables/gradientsList.scss +3 -3
- package/foundations/variables/shadowsDnDark.scss +7 -7
- package/foundations/variables/shadowsDnLight.scss +7 -7
- package/foundations/variables/shadowsList.scss +1 -1
- package/package.json +1 -1
- package/preact/components/icon-with-wrapper/icon-with-wrapper.js +10 -4
- package/preact/components/icon-with-wrapper/icon-with-wrapper.js.map +2 -2
- package/types-lib/ds-color.d.ts +10 -4
- package/variables/colors-css-variables.json +10 -4
- package/variables/colors-dark-mode.json +27 -19
- package/variables/colors-light-mode.json +24 -16
- package/variables/gradients-dark-mode.json +12 -12
- package/variables/gradients-light-mode.json +12 -12
- package/variables/gradients-list.json +3 -3
- package/variables/shadows-list.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,25 @@ All changes to @bonniernews/dn-design-system-web will be documented in this file
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
+
## [34.1.0](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@34.0.0...@bonniernews/dn-design-system-web@34.1.0) (2025-10-27)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* **web:** new body lineheight to match camy and bang ([#1928](https://github.com/BonnierNews/dn-design-system/issues/1928)) ([1dc9379](https://github.com/BonnierNews/dn-design-system/commit/1dc9379c87a4625e851d7116ef45d37964ed1e3b))
|
|
13
|
+
|
|
14
|
+
## [34.0.0](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@33.0.9...@bonniernews/dn-design-system-web@34.0.0) (2025-10-08)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### ⚠ BREAKING CHANGES
|
|
18
|
+
|
|
19
|
+
* **foundations:** update variables from Figma (#1916)
|
|
20
|
+
|
|
21
|
+
### Maintenance
|
|
22
|
+
|
|
23
|
+
* **foundations:** update variables from Figma ([#1916](https://github.com/BonnierNews/dn-design-system/issues/1916)) ([802e1a6](https://github.com/BonnierNews/dn-design-system/commit/802e1a62be053408055c6baff6d49c7eda649c1b))
|
|
24
|
+
* prerelease packages ([b92ebbf](https://github.com/BonnierNews/dn-design-system/commit/b92ebbf48f9c36704f92993b5f7502ce0255c604))
|
|
25
|
+
|
|
7
26
|
## [33.0.9](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@33.0.8...@bonniernews/dn-design-system-web@33.0.9) (2025-09-29)
|
|
8
27
|
|
|
9
28
|
|
|
@@ -54,7 +54,7 @@ a.ds-teaser--counter.ds-teaser {
|
|
|
54
54
|
|
|
55
55
|
.ds-teaser--counter__item {
|
|
56
56
|
align-items: center;
|
|
57
|
-
background-color: $ds-color-brand-
|
|
57
|
+
background-color: $ds-color-brand-500;
|
|
58
58
|
border-radius: ds-border-radius($ds-s-025);
|
|
59
59
|
color: $ds-color-text-on-brand;
|
|
60
60
|
display: flex;
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
padding: ds-spacing($ds-s-100);
|
|
18
18
|
display: block;
|
|
19
19
|
color: $ds-color-text-primary;
|
|
20
|
+
line-height: 0; // The parent of the inline-elements must have line-height 0 to ensure that the line-height set for the inline-elements actually has expected effect.
|
|
20
21
|
|
|
21
22
|
.ds-teaser__title {
|
|
22
23
|
display: inline;
|
package/foundations/base.scss
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
$ds-color-surface-foreground: var(--ds-color-surface-foreground);
|
|
2
2
|
$ds-color-surface-primary: var(--ds-color-surface-primary);
|
|
3
|
-
$ds-color-surface-media: var(--ds-color-surface-media);
|
|
4
3
|
$ds-color-surface-primary-raised-soft: var(--ds-color-surface-primary-raised-soft);
|
|
5
4
|
$ds-color-surface-primary-raised-strong: var(--ds-color-surface-primary-raised-strong);
|
|
6
5
|
$ds-color-surface-primary-elevated: var(--ds-color-surface-primary-elevated);
|
|
@@ -15,6 +14,7 @@ $ds-color-surface-overlay: var(--ds-color-surface-overlay);
|
|
|
15
14
|
$ds-color-surface-ad-yellow: var(--ds-color-surface-ad-yellow);
|
|
16
15
|
$ds-color-surface-native-article: var(--ds-color-surface-native-article);
|
|
17
16
|
$ds-color-surface-quiz: var(--ds-color-surface-quiz);
|
|
17
|
+
$ds-color-surface-media: var(--ds-color-surface-media);
|
|
18
18
|
$ds-color-border-primary: var(--ds-color-border-primary);
|
|
19
19
|
$ds-color-border-primary-strong: var(--ds-color-border-primary-strong);
|
|
20
20
|
$ds-color-border-primary-strongest: var(--ds-color-border-primary-strongest);
|
|
@@ -40,7 +40,14 @@ $ds-color-gradients-primary-start: var(--ds-color-gradients-primary-start);
|
|
|
40
40
|
$ds-color-gradients-primary-end: var(--ds-color-gradients-primary-end);
|
|
41
41
|
$ds-color-gradients-overlay-start: var(--ds-color-gradients-overlay-start);
|
|
42
42
|
$ds-color-gradients-overlay-end: var(--ds-color-gradients-overlay-end);
|
|
43
|
-
$ds-color-
|
|
43
|
+
$ds-color-button-primary-default: var(--ds-color-button-primary-default);
|
|
44
|
+
$ds-color-button-primary-hover: var(--ds-color-button-primary-hover);
|
|
45
|
+
$ds-color-button-primary-pressed: var(--ds-color-button-primary-pressed);
|
|
46
|
+
$ds-color-button-primary-disabled: var(--ds-color-button-primary-disabled);
|
|
47
|
+
$ds-color-button-secondary-filled-default: var(--ds-color-button-secondary-filled-default);
|
|
48
|
+
$ds-color-button-secondary-filled-hover: var(--ds-color-button-secondary-filled-hover);
|
|
49
|
+
$ds-color-button-secondary-filled-pressed: var(--ds-color-button-secondary-filled-pressed);
|
|
50
|
+
$ds-color-button-secondary-filled-disabled: var(--ds-color-button-secondary-filled-disabled);
|
|
44
51
|
$ds-color-brand-100: var(--ds-color-brand-100);
|
|
45
52
|
$ds-color-brand-200: var(--ds-color-brand-200);
|
|
46
53
|
$ds-color-brand-300: var(--ds-color-brand-300);
|
|
@@ -50,8 +57,7 @@ $ds-color-brand-600: var(--ds-color-brand-600);
|
|
|
50
57
|
$ds-color-brand-700: var(--ds-color-brand-700);
|
|
51
58
|
$ds-color-brand-800: var(--ds-color-brand-800);
|
|
52
59
|
$ds-color-brand-900: var(--ds-color-brand-900);
|
|
53
|
-
$ds-color-brand-
|
|
54
|
-
$ds-color-brand-1100: var(--ds-color-brand-1100);
|
|
60
|
+
$ds-color-brand-050: var(--ds-color-brand-050);
|
|
55
61
|
$ds-color-culture-0: var(--ds-color-culture-0);
|
|
56
62
|
$ds-color-culture-100: var(--ds-color-culture-100);
|
|
57
63
|
$ds-color-culture-200: var(--ds-color-culture-200);
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
$ds-hex-dark-surface-foreground: #0d0d0d;
|
|
2
2
|
$ds-hex-dark-surface-primary: #171717;
|
|
3
|
-
$ds-hex-dark-surface-media: #000000;
|
|
4
3
|
$ds-hex-dark-surface-primary-raised-soft: #242424;
|
|
5
4
|
$ds-hex-dark-surface-primary-raised-strong: #333333;
|
|
6
5
|
$ds-hex-dark-surface-primary-elevated: #333333;
|
|
@@ -10,18 +9,19 @@ $ds-hex-dark-surface-primaryinvert-elevated: #ffffff;
|
|
|
10
9
|
$ds-hex-dark-surface-brand: #da000d;
|
|
11
10
|
$ds-hex-dark-surface-success: #3a8352;
|
|
12
11
|
$ds-hex-dark-surface-culture: #227ac3;
|
|
13
|
-
$ds-hex-dark-surface-breaking: #
|
|
12
|
+
$ds-hex-dark-surface-breaking: #320b0e;
|
|
14
13
|
$ds-hex-dark-surface-overlay: rgba(5, 5, 5, 0.5);
|
|
15
14
|
$ds-hex-dark-surface-ad-yellow: #ffeac6;
|
|
16
15
|
$ds-hex-dark-surface-native-article: #2b2b2b;
|
|
17
16
|
$ds-hex-dark-surface-quiz: #ea3e3f;
|
|
17
|
+
$ds-hex-dark-surface-media: #000000;
|
|
18
18
|
$ds-hex-dark-border-primary: rgba(255, 255, 255, 0.1);
|
|
19
19
|
$ds-hex-dark-border-primary-strong: rgba(255, 255, 255, 0.25);
|
|
20
20
|
$ds-hex-dark-border-primary-strongest: #ffffff;
|
|
21
21
|
$ds-hex-dark-border-primaryinvert: rgba(5, 5, 5, 0.13);
|
|
22
22
|
$ds-hex-dark-border-primaryinvert-strong: rgba(5, 5, 5, 0.5);
|
|
23
23
|
$ds-hex-dark-border-primaryinvert-strongest: #171717;
|
|
24
|
-
$ds-hex-dark-border-brand: #
|
|
24
|
+
$ds-hex-dark-border-brand: #f43434;
|
|
25
25
|
$ds-hex-dark-border-culture: #4293d7;
|
|
26
26
|
$ds-hex-dark-text-primary: #e5e5e5;
|
|
27
27
|
$ds-hex-dark-text-primary-subtle: #b2b2b2;
|
|
@@ -29,29 +29,35 @@ $ds-hex-dark-text-primary-disabled: #b2b2b2;
|
|
|
29
29
|
$ds-hex-dark-text-primaryinvert: #0d0d0d;
|
|
30
30
|
$ds-hex-dark-text-primaryinvert-subtle: #595959;
|
|
31
31
|
$ds-hex-dark-text-primaryinvert-disabled: #0d0d0d;
|
|
32
|
-
$ds-hex-dark-text-brand: #
|
|
32
|
+
$ds-hex-dark-text-brand: #f43434;
|
|
33
33
|
$ds-hex-dark-text-culture: #4293d7;
|
|
34
|
-
$ds-hex-dark-text-critical: #
|
|
34
|
+
$ds-hex-dark-text-critical: #f43434;
|
|
35
35
|
$ds-hex-dark-text-success: #3a8352;
|
|
36
36
|
$ds-hex-dark-text-on-brand: #ffffff;
|
|
37
37
|
$ds-hex-dark-text-body-link: #65a0fc;
|
|
38
38
|
$ds-hex-dark-text-body-link-visited: #65a0fc;
|
|
39
39
|
$ds-hex-dark-gradients-primary-start: #171717;
|
|
40
40
|
$ds-hex-dark-gradients-primary-end: rgba(23, 23, 23, 0);
|
|
41
|
-
$ds-hex-dark-gradients-overlay-start: rgba(36, 36, 36, 0.
|
|
41
|
+
$ds-hex-dark-gradients-overlay-start: rgba(36, 36, 36, 0.75);
|
|
42
42
|
$ds-hex-dark-gradients-overlay-end: rgba(36, 36, 36, 0);
|
|
43
|
-
$ds-hex-dark-
|
|
44
|
-
$ds-hex-dark-
|
|
45
|
-
$ds-hex-dark-
|
|
46
|
-
$ds-hex-dark-
|
|
47
|
-
$ds-hex-dark-
|
|
48
|
-
$ds-hex-dark-
|
|
49
|
-
$ds-hex-dark-
|
|
50
|
-
$ds-hex-dark-
|
|
51
|
-
$ds-hex-dark-brand-
|
|
52
|
-
$ds-hex-dark-brand-
|
|
53
|
-
$ds-hex-dark-brand-
|
|
54
|
-
$ds-hex-dark-brand-
|
|
43
|
+
$ds-hex-dark-button-primary-default: #da000d;
|
|
44
|
+
$ds-hex-dark-button-primary-hover: #b8000b;
|
|
45
|
+
$ds-hex-dark-button-primary-pressed: #b8000b;
|
|
46
|
+
$ds-hex-dark-button-primary-disabled: #b8000b;
|
|
47
|
+
$ds-hex-dark-button-secondary-filled-default: #da000d;
|
|
48
|
+
$ds-hex-dark-button-secondary-filled-hover: #b8000b;
|
|
49
|
+
$ds-hex-dark-button-secondary-filled-pressed: #b8000b;
|
|
50
|
+
$ds-hex-dark-button-secondary-filled-disabled: #b8000b;
|
|
51
|
+
$ds-hex-dark-brand-100: #ffd0d3;
|
|
52
|
+
$ds-hex-dark-brand-200: #ffa9ae;
|
|
53
|
+
$ds-hex-dark-brand-300: #ff757d;
|
|
54
|
+
$ds-hex-dark-brand-400: #f43434;
|
|
55
|
+
$ds-hex-dark-brand-500: #da000d;
|
|
56
|
+
$ds-hex-dark-brand-600: #b8000b;
|
|
57
|
+
$ds-hex-dark-brand-700: #96171f;
|
|
58
|
+
$ds-hex-dark-brand-800: #6e1c20;
|
|
59
|
+
$ds-hex-dark-brand-900: #320b0e;
|
|
60
|
+
$ds-hex-dark-brand-050: #ffe9ea;
|
|
55
61
|
$ds-hex-dark-culture-0: #f4f7fa;
|
|
56
62
|
$ds-hex-dark-culture-100: #e7f1fa;
|
|
57
63
|
$ds-hex-dark-culture-200: #cfe5f6;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
$ds-hex-surface-foreground: #f2f2f2;
|
|
2
2
|
$ds-hex-surface-primary: #ffffff;
|
|
3
|
-
$ds-hex-surface-media: #000000;
|
|
4
3
|
$ds-hex-surface-primary-raised-soft: #f2f2f2;
|
|
5
4
|
$ds-hex-surface-primary-raised-strong: #e5e5e5;
|
|
6
5
|
$ds-hex-surface-primary-elevated: #ffffff;
|
|
@@ -10,11 +9,12 @@ $ds-hex-surface-primaryinvert-elevated: #242424;
|
|
|
10
9
|
$ds-hex-surface-brand: #da000d;
|
|
11
10
|
$ds-hex-surface-success: #3a8352;
|
|
12
11
|
$ds-hex-surface-culture: #227ac3;
|
|
13
|
-
$ds-hex-surface-breaking: #
|
|
12
|
+
$ds-hex-surface-breaking: #320b0e;
|
|
14
13
|
$ds-hex-surface-overlay: #05050580;
|
|
15
14
|
$ds-hex-surface-ad-yellow: #ffeac6;
|
|
16
15
|
$ds-hex-surface-native-article: #ededed;
|
|
17
16
|
$ds-hex-surface-quiz: #ea3e3f;
|
|
17
|
+
$ds-hex-surface-media: #000000;
|
|
18
18
|
$ds-hex-border-primary: #0505051a;
|
|
19
19
|
$ds-hex-border-primary-strong: #05050540;
|
|
20
20
|
$ds-hex-border-primary-strongest: #0d0d0d;
|
|
@@ -38,20 +38,26 @@ $ds-hex-text-body-link: #4373ce;
|
|
|
38
38
|
$ds-hex-text-body-link-visited: #4373ce;
|
|
39
39
|
$ds-hex-gradients-primary-start: #ffffff;
|
|
40
40
|
$ds-hex-gradients-primary-end: #ffffff00;
|
|
41
|
-
$ds-hex-gradients-overlay-start: #
|
|
41
|
+
$ds-hex-gradients-overlay-start: #242424bf;
|
|
42
42
|
$ds-hex-gradients-overlay-end: #24242400;
|
|
43
|
-
$ds-hex-
|
|
44
|
-
$ds-hex-
|
|
45
|
-
$ds-hex-
|
|
46
|
-
$ds-hex-
|
|
47
|
-
$ds-hex-
|
|
48
|
-
$ds-hex-
|
|
49
|
-
$ds-hex-
|
|
50
|
-
$ds-hex-
|
|
51
|
-
$ds-hex-brand-
|
|
52
|
-
$ds-hex-brand-
|
|
53
|
-
$ds-hex-brand-
|
|
54
|
-
$ds-hex-brand-
|
|
43
|
+
$ds-hex-button-primary-default: #da000d;
|
|
44
|
+
$ds-hex-button-primary-hover: #96171f;
|
|
45
|
+
$ds-hex-button-primary-pressed: #96171f;
|
|
46
|
+
$ds-hex-button-primary-disabled: #f2f2f2;
|
|
47
|
+
$ds-hex-button-secondary-filled-default: #da000d;
|
|
48
|
+
$ds-hex-button-secondary-filled-hover: #96171f;
|
|
49
|
+
$ds-hex-button-secondary-filled-pressed: #96171f;
|
|
50
|
+
$ds-hex-button-secondary-filled-disabled: #f2f2f2;
|
|
51
|
+
$ds-hex-brand-100: #ffd0d3;
|
|
52
|
+
$ds-hex-brand-200: #ffa9ae;
|
|
53
|
+
$ds-hex-brand-300: #ff757d;
|
|
54
|
+
$ds-hex-brand-400: #f43434;
|
|
55
|
+
$ds-hex-brand-500: #da000d;
|
|
56
|
+
$ds-hex-brand-600: #b8000b;
|
|
57
|
+
$ds-hex-brand-700: #96171f;
|
|
58
|
+
$ds-hex-brand-800: #6e1c20;
|
|
59
|
+
$ds-hex-brand-900: #320b0e;
|
|
60
|
+
$ds-hex-brand-050: #ffe9ea;
|
|
55
61
|
$ds-hex-culture-0: #f4f7fa;
|
|
56
62
|
$ds-hex-culture-100: #e7f1fa;
|
|
57
63
|
$ds-hex-culture-200: #cfe5f6;
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
$gradientsDnDark: (
|
|
2
|
-
content-fade-
|
|
2
|
+
content-fade-down: (
|
|
3
3
|
type: linear,
|
|
4
4
|
angle: 180,
|
|
5
5
|
stops: ((
|
|
6
|
-
color:
|
|
6
|
+
color: #171717,
|
|
7
7
|
position: 0
|
|
8
8
|
), (
|
|
9
|
-
color:
|
|
9
|
+
color: rgba(23, 23, 23, 0),
|
|
10
10
|
position: 1
|
|
11
11
|
))
|
|
12
12
|
),
|
|
13
|
-
content-fade-
|
|
13
|
+
content-fade-right: (
|
|
14
14
|
type: linear,
|
|
15
15
|
angle: 270,
|
|
16
16
|
stops: ((
|
|
17
|
-
color:
|
|
17
|
+
color: rgba(23, 23, 23, 0),
|
|
18
18
|
position: 0
|
|
19
19
|
), (
|
|
20
|
-
color:
|
|
20
|
+
color: #171717,
|
|
21
21
|
position: 1
|
|
22
22
|
))
|
|
23
23
|
),
|
|
24
|
-
content-fade-
|
|
24
|
+
content-fade-left: (
|
|
25
25
|
type: linear,
|
|
26
26
|
angle: 270,
|
|
27
27
|
stops: ((
|
|
28
|
-
color:
|
|
28
|
+
color: #171717,
|
|
29
29
|
position: 0
|
|
30
30
|
), (
|
|
31
|
-
color:
|
|
31
|
+
color: rgba(23, 23, 23, 0),
|
|
32
32
|
position: 1
|
|
33
33
|
))
|
|
34
34
|
),
|
|
35
|
-
content-fade-
|
|
35
|
+
content-fade-up: (
|
|
36
36
|
type: linear,
|
|
37
37
|
angle: 180,
|
|
38
38
|
stops: ((
|
|
39
|
-
color:
|
|
39
|
+
color: rgba(23, 23, 23, 0),
|
|
40
40
|
position: 0
|
|
41
41
|
), (
|
|
42
|
-
color:
|
|
42
|
+
color: #171717,
|
|
43
43
|
position: 1
|
|
44
44
|
))
|
|
45
45
|
)
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
$gradientsDnLight: (
|
|
2
|
-
content-fade-
|
|
2
|
+
content-fade-down: (
|
|
3
3
|
type: linear,
|
|
4
4
|
angle: 180,
|
|
5
5
|
stops: ((
|
|
6
|
-
color:
|
|
6
|
+
color: #ffffff,
|
|
7
7
|
position: 0
|
|
8
8
|
), (
|
|
9
|
-
color:
|
|
9
|
+
color: rgba(255, 255, 255, 0),
|
|
10
10
|
position: 1
|
|
11
11
|
))
|
|
12
12
|
),
|
|
13
|
-
content-fade-
|
|
13
|
+
content-fade-right: (
|
|
14
14
|
type: linear,
|
|
15
15
|
angle: 270,
|
|
16
16
|
stops: ((
|
|
17
|
-
color:
|
|
17
|
+
color: rgba(255, 255, 255, 0),
|
|
18
18
|
position: 0
|
|
19
19
|
), (
|
|
20
|
-
color:
|
|
20
|
+
color: #ffffff,
|
|
21
21
|
position: 1
|
|
22
22
|
))
|
|
23
23
|
),
|
|
24
|
-
content-fade-
|
|
24
|
+
content-fade-left: (
|
|
25
25
|
type: linear,
|
|
26
26
|
angle: 270,
|
|
27
27
|
stops: ((
|
|
28
|
-
color:
|
|
28
|
+
color: #ffffff,
|
|
29
29
|
position: 0
|
|
30
30
|
), (
|
|
31
|
-
color:
|
|
31
|
+
color: rgba(255, 255, 255, 0),
|
|
32
32
|
position: 1
|
|
33
33
|
))
|
|
34
34
|
),
|
|
35
|
-
content-fade-
|
|
35
|
+
content-fade-up: (
|
|
36
36
|
type: linear,
|
|
37
37
|
angle: 180,
|
|
38
38
|
stops: ((
|
|
39
|
-
color:
|
|
39
|
+
color: rgba(255, 255, 255, 0),
|
|
40
40
|
position: 0
|
|
41
41
|
), (
|
|
42
|
-
color:
|
|
42
|
+
color: #ffffff,
|
|
43
43
|
position: 1
|
|
44
44
|
))
|
|
45
45
|
)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
$ds-gradient-content-fade-up: var(--ds-gradient-content-fade-up);
|
|
2
|
-
$ds-gradient-content-fade-left: var(--ds-gradient-content-fade-left);
|
|
3
|
-
$ds-gradient-content-fade-right: var(--ds-gradient-content-fade-right);
|
|
4
1
|
$ds-gradient-content-fade-down: var(--ds-gradient-content-fade-down);
|
|
2
|
+
$ds-gradient-content-fade-right: var(--ds-gradient-content-fade-right);
|
|
3
|
+
$ds-gradient-content-fade-left: var(--ds-gradient-content-fade-left);
|
|
4
|
+
$ds-gradient-content-fade-up: var(--ds-gradient-content-fade-up);
|
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
$shadowsDnDark: (
|
|
2
|
+
elevation-sm: (
|
|
3
|
+
x: 0,
|
|
4
|
+
y: 2,
|
|
5
|
+
blur: 4,
|
|
6
|
+
spread: 1,
|
|
7
|
+
color: rgba(13, 13, 13, 0.25)
|
|
8
|
+
),
|
|
2
9
|
elevation-xs: (
|
|
3
10
|
x: 0,
|
|
4
11
|
y: 1,
|
|
@@ -13,13 +20,6 @@ $shadowsDnDark: (
|
|
|
13
20
|
spread: 0,
|
|
14
21
|
color: rgba(13, 13, 13, 0.25)
|
|
15
22
|
),
|
|
16
|
-
elevation-sm: (
|
|
17
|
-
x: 0,
|
|
18
|
-
y: 2,
|
|
19
|
-
blur: 4,
|
|
20
|
-
spread: 1,
|
|
21
|
-
color: rgba(13, 13, 13, 0.25)
|
|
22
|
-
),
|
|
23
23
|
elevation-md: (
|
|
24
24
|
x: 0,
|
|
25
25
|
y: 4,
|
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
$shadowsDnLight: (
|
|
2
|
+
elevation-sm: (
|
|
3
|
+
x: 0,
|
|
4
|
+
y: 2,
|
|
5
|
+
blur: 4,
|
|
6
|
+
spread: 1,
|
|
7
|
+
color: rgba(13, 13, 13, 0.15)
|
|
8
|
+
),
|
|
2
9
|
elevation-xs: (
|
|
3
10
|
x: 0,
|
|
4
11
|
y: 1,
|
|
@@ -13,13 +20,6 @@ $shadowsDnLight: (
|
|
|
13
20
|
spread: 0,
|
|
14
21
|
color: rgba(13, 13, 13, 0.15)
|
|
15
22
|
),
|
|
16
|
-
elevation-sm: (
|
|
17
|
-
x: 0,
|
|
18
|
-
y: 2,
|
|
19
|
-
blur: 4,
|
|
20
|
-
spread: 1,
|
|
21
|
-
color: rgba(13, 13, 13, 0.15)
|
|
22
|
-
),
|
|
23
23
|
elevation-md: (
|
|
24
24
|
x: 0,
|
|
25
25
|
y: 4,
|
package/package.json
CHANGED
|
@@ -7,7 +7,6 @@ var formatClassString = (classesArray) => {
|
|
|
7
7
|
var colors_css_variables_default = {
|
|
8
8
|
"surface-foreground": "var(--ds-color-surface-foreground)",
|
|
9
9
|
"surface-primary": "var(--ds-color-surface-primary)",
|
|
10
|
-
"surface-media": "var(--ds-color-surface-media)",
|
|
11
10
|
"surface-primary-raised-soft": "var(--ds-color-surface-primary-raised-soft)",
|
|
12
11
|
"surface-primary-raised-strong": "var(--ds-color-surface-primary-raised-strong)",
|
|
13
12
|
"surface-primary-elevated": "var(--ds-color-surface-primary-elevated)",
|
|
@@ -22,6 +21,7 @@ var colors_css_variables_default = {
|
|
|
22
21
|
"surface-ad-yellow": "var(--ds-color-surface-ad-yellow)",
|
|
23
22
|
"surface-native-article": "var(--ds-color-surface-native-article)",
|
|
24
23
|
"surface-quiz": "var(--ds-color-surface-quiz)",
|
|
24
|
+
"surface-media": "var(--ds-color-surface-media)",
|
|
25
25
|
"border-primary": "var(--ds-color-border-primary)",
|
|
26
26
|
"border-primary-strong": "var(--ds-color-border-primary-strong)",
|
|
27
27
|
"border-primary-strongest": "var(--ds-color-border-primary-strongest)",
|
|
@@ -47,7 +47,14 @@ var colors_css_variables_default = {
|
|
|
47
47
|
"gradients-primary-end": "var(--ds-color-gradients-primary-end)",
|
|
48
48
|
"gradients-overlay-start": "var(--ds-color-gradients-overlay-start)",
|
|
49
49
|
"gradients-overlay-end": "var(--ds-color-gradients-overlay-end)",
|
|
50
|
-
"
|
|
50
|
+
"button-primary-default": "var(--ds-color-button-primary-default)",
|
|
51
|
+
"button-primary-hover": "var(--ds-color-button-primary-hover)",
|
|
52
|
+
"button-primary-pressed": "var(--ds-color-button-primary-pressed)",
|
|
53
|
+
"button-primary-disabled": "var(--ds-color-button-primary-disabled)",
|
|
54
|
+
"button-secondary-filled-default": "var(--ds-color-button-secondary-filled-default)",
|
|
55
|
+
"button-secondary-filled-hover": "var(--ds-color-button-secondary-filled-hover)",
|
|
56
|
+
"button-secondary-filled-pressed": "var(--ds-color-button-secondary-filled-pressed)",
|
|
57
|
+
"button-secondary-filled-disabled": "var(--ds-color-button-secondary-filled-disabled)",
|
|
51
58
|
"brand-100": "var(--ds-color-brand-100)",
|
|
52
59
|
"brand-200": "var(--ds-color-brand-200)",
|
|
53
60
|
"brand-300": "var(--ds-color-brand-300)",
|
|
@@ -57,8 +64,7 @@ var colors_css_variables_default = {
|
|
|
57
64
|
"brand-700": "var(--ds-color-brand-700)",
|
|
58
65
|
"brand-800": "var(--ds-color-brand-800)",
|
|
59
66
|
"brand-900": "var(--ds-color-brand-900)",
|
|
60
|
-
"brand-
|
|
61
|
-
"brand-1100": "var(--ds-color-brand-1100)",
|
|
67
|
+
"brand-050": "var(--ds-color-brand-050)",
|
|
62
68
|
"culture-0": "var(--ds-color-culture-0)",
|
|
63
69
|
"culture-100": "var(--ds-color-culture-100)",
|
|
64
70
|
"culture-200": "var(--ds-color-culture-200)",
|