@bonniernews/dn-design-system-web 21.0.2 → 21.1.0-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.
- package/CHANGELOG.md +39 -2
- package/components/group-header/group-header.njk +2 -1
- package/components/group-header/group-header.scss +1 -13
- package/components/teaser-breaking/README-UXD.md +0 -0
- package/components/teaser-breaking/README.md +46 -0
- package/components/teaser-breaking/teaser-breaking.njk +46 -0
- package/components/teaser-breaking/teaser-breaking.scss +48 -0
- package/components/teaser-image/teaser-image.scss +1 -1
- package/components/teaser-large/teaser-large.njk +7 -1
- package/components/teaser-large/teaser-large.scss +15 -0
- package/components/teaser-native/teaser-native.scss +0 -6
- package/components/teaser-package/teaser-package.njk +2 -1
- package/components/teaser-package/teaser-package.scss +25 -29
- package/components/teaser-split/teaser-split.njk +1 -1
- package/components/teaser-standard/teaser-standard.scss +0 -6
- package/foundations/helpers/colors.scss +1 -1
- package/foundations/variables/colorsCssVariables.scss +1 -0
- package/foundations/variables/colorsDnDarkTokens.scss +61 -60
- package/foundations/variables/colorsDnLightTokens.scss +52 -51
- package/foundations/variables/typographyFontWeight.scss +1 -0
- package/foundations/variables/typographyTokensList.scss +1 -0
- package/foundations/variables/typographyTokensScreenExtraLarge.scss +11 -4
- package/foundations/variables/typographyTokensScreenLarge.scss +10 -3
- package/foundations/variables/typographyTokensScreenSmall.scss +13 -6
- package/package.json +1 -1
- package/tokens/colors-css-variables.json +2 -1
- package/tokens/colors-dark-mode.json +62 -61
- package/tokens/colors-light-mode.json +54 -53
- package/tokens/typography-list.json +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -4,12 +4,43 @@ All changes to @bonniernews/dn-design-system-web will be documented in this file
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
+
## [21.1.0-beta.1](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@21.0.2...@bonniernews/dn-design-system-web@21.1.0-beta.1) (2024-10-25)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* **web:** breaking aka nivå3puff till visuella toppar ([#1450](https://github.com/BonnierNews/dn-design-system/issues/1450)) ([602040c](https://github.com/BonnierNews/dn-design-system/commit/602040c5a0e8ef7a7bd996bc6508e97956229c1b))
|
|
13
|
+
* **web:** nivå1puff till visuella toppar ([#1460](https://github.com/BonnierNews/dn-design-system/issues/1460)) ([d8dcacf](https://github.com/BonnierNews/dn-design-system/commit/d8dcacf7c76b80aac7e48fbf602bc5079d3a1cd3))
|
|
14
|
+
* **web:** one level of bauta with background color ([8734216](https://github.com/BonnierNews/dn-design-system/commit/87342169eacf9d59f202f45424022c1bd733a74e))
|
|
15
|
+
* **web:** one level of bauta with background color ([5d448cf](https://github.com/BonnierNews/dn-design-system/commit/5d448cf2cc890623e67c509edbb0418a98a8bb4b))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Maintenance
|
|
19
|
+
|
|
20
|
+
* **deps-dev:** bump @babel/preset-env from 7.25.8 to 7.25.9 ([#1469](https://github.com/BonnierNews/dn-design-system/issues/1469)) ([b9a9884](https://github.com/BonnierNews/dn-design-system/commit/b9a988470f8862d4c010f27a097d9a65af115d2b))
|
|
21
|
+
* **foundations:** update tokens from Figma ([#1467](https://github.com/BonnierNews/dn-design-system/issues/1467)) ([af2cd99](https://github.com/BonnierNews/dn-design-system/commit/af2cd99ce8ab17494a3e51e34588d25e24a9ef38))
|
|
22
|
+
* prerelease packages ([3ebfd91](https://github.com/BonnierNews/dn-design-system/commit/3ebfd91c6780c6222c74b500eade9fd19cac88f3))
|
|
23
|
+
* **web:** visuella-toppar-update-tokens ([#1468](https://github.com/BonnierNews/dn-design-system/issues/1468)) ([87277b4](https://github.com/BonnierNews/dn-design-system/commit/87277b487b6f663d4ca106a74cb878012e579a42))
|
|
24
|
+
|
|
7
25
|
## [21.0.2](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@21.0.1...@bonniernews/dn-design-system-web@21.0.2) (2024-10-24)
|
|
8
26
|
|
|
9
27
|
|
|
10
28
|
### Bug Fixes
|
|
11
29
|
|
|
12
30
|
* **web:** higher z-index on arrow buttons in teaser list swipe ([#1459](https://github.com/BonnierNews/dn-design-system/issues/1459)) ([93b8b3a](https://github.com/BonnierNews/dn-design-system/commit/93b8b3ad2028115dfe393c5686be4fbf6db19086))
|
|
31
|
+
## [21.1.0-beta.0](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@21.0.0...@bonniernews/dn-design-system-web@21.1.0-beta.0) (2024-10-18)
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
### Features
|
|
35
|
+
|
|
36
|
+
* **web:** one level of bauta with background color ([075ed25](https://github.com/BonnierNews/dn-design-system/commit/075ed259c6f3c50ed6018bd566fdc7b9b5c05c73))
|
|
37
|
+
|
|
38
|
+
## [21.1.0-beta.0](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@21.0.0...@bonniernews/dn-design-system-web@21.1.0-beta.0) (2024-10-18)
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
### Features
|
|
42
|
+
|
|
43
|
+
* **web:** one level of bauta with background color ([075ed25](https://github.com/BonnierNews/dn-design-system/commit/075ed259c6f3c50ed6018bd566fdc7b9b5c05c73))
|
|
13
44
|
|
|
14
45
|
|
|
15
46
|
### Maintenance
|
|
@@ -45,7 +76,6 @@ All changes to @bonniernews/dn-design-system-web will be documented in this file
|
|
|
45
76
|
|
|
46
77
|
## [21.0.0](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@20.6.1...@bonniernews/dn-design-system-web@21.0.0) (2024-10-18)
|
|
47
78
|
|
|
48
|
-
|
|
49
79
|
### ⚠ BREAKING CHANGES
|
|
50
80
|
|
|
51
81
|
* **web:** JS imports requires file extension
|
|
@@ -54,7 +84,6 @@ All changes to @bonniernews/dn-design-system-web will be documented in this file
|
|
|
54
84
|
|
|
55
85
|
* **web:** less specific export ([#1436](https://github.com/BonnierNews/dn-design-system/issues/1436)) ([9da4652](https://github.com/BonnierNews/dn-design-system/commit/9da46527d7e63c800a8391fe2280717e4dd733cd))
|
|
56
86
|
|
|
57
|
-
|
|
58
87
|
### Maintenance
|
|
59
88
|
|
|
60
89
|
* **deps-dev:** bump @actions/core from 1.10.1 to 1.11.1 ([#1433](https://github.com/BonnierNews/dn-design-system/issues/1433)) ([0aa8f7c](https://github.com/BonnierNews/dn-design-system/commit/0aa8f7c87c052599ec75e19c0a03921ef6417afd))
|
|
@@ -87,6 +116,13 @@ All changes to @bonniernews/dn-design-system-web will be documented in this file
|
|
|
87
116
|
* prerelease packages ([ec0ca89](https://github.com/BonnierNews/dn-design-system/commit/ec0ca895f0e4995f0b700ee40140920f3105ef86))
|
|
88
117
|
* revert "chore(deps-dev): bump @react-native/metro-config from 0.75.2 to 0.75.4" ([#1435](https://github.com/BonnierNews/dn-design-system/issues/1435)) ([97a0feb](https://github.com/BonnierNews/dn-design-system/commit/97a0febdabed45c94a01b0600a040d8eb20dbf46))
|
|
89
118
|
|
|
119
|
+
## [20.7.0-beta.0](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@20.6.0...@bonniernews/dn-design-system-web@20.7.0-beta.0) (2024-10-17)
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
### Features
|
|
123
|
+
|
|
124
|
+
* **web:** one level of bauta with background color ([8f843f7](https://github.com/BonnierNews/dn-design-system/commit/8f843f7f24352feaa89b9c2f332a070845749f0f))
|
|
125
|
+
|
|
90
126
|
## [20.6.1](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@20.6.0...@bonniernews/dn-design-system-web@20.6.1) (2024-10-16)
|
|
91
127
|
|
|
92
128
|
|
|
@@ -94,6 +130,7 @@ All changes to @bonniernews/dn-design-system-web will be documented in this file
|
|
|
94
130
|
|
|
95
131
|
* move to figma variables ([#1419](https://github.com/BonnierNews/dn-design-system/issues/1419)) ([96eaa70](https://github.com/BonnierNews/dn-design-system/commit/96eaa701b712e66a0597b2524ae31db34eea6294))
|
|
96
132
|
* prerelease packages ([c2ddd94](https://github.com/BonnierNews/dn-design-system/commit/c2ddd9434e69a243959a1a510394cdacd791ef21))
|
|
133
|
+
|
|
97
134
|
* **web:** running multiple screenshots via test_ids ([#1426](https://github.com/BonnierNews/dn-design-system/issues/1426)) ([996e498](https://github.com/BonnierNews/dn-design-system/commit/996e49813c9a1124cad803760437fba4420cbce7))
|
|
98
135
|
|
|
99
136
|
## [20.6.0](https://github.com/BonnierNews/dn-design-system/compare/@bonniernews/dn-design-system-web@20.5.4...@bonniernews/dn-design-system-web@20.6.0) (2024-10-09)
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
classNamePrefix + (params.type or "icon"),
|
|
14
14
|
classNamePrefix + params.variant if params.variant,
|
|
15
15
|
classNamePrefix + 'bottom-border' if params.showBottomBorder,
|
|
16
|
+
'ds-dark' if params.variant == 'bauta',
|
|
16
17
|
params.classNames if params.classNames
|
|
17
18
|
] | join(" ") %}
|
|
18
19
|
|
|
@@ -45,7 +46,7 @@
|
|
|
45
46
|
{% else %}
|
|
46
47
|
{{ groupHeaderInner | safe }}
|
|
47
48
|
{% endif %}
|
|
48
|
-
{# there is no static-white toggle btn so it is disabled for bauta
|
|
49
|
+
{# there is no static-white toggle btn so it is disabled for bauta for now #}
|
|
49
50
|
{% if params.type == 'toggle' and not params.variant %}
|
|
50
51
|
{{ ButtonToggle({
|
|
51
52
|
variant: "brand",
|
|
@@ -23,15 +23,7 @@ $ds-group-header__icon-size: 24px;
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
&--bauta {
|
|
26
|
-
--group-header-background: #{$ds-
|
|
27
|
-
--group-header-color: #{$ds-color-text-on-brand};
|
|
28
|
-
--group-header-icon-color: #{$ds-color-icon-on-brand};
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
&--bautaxl {
|
|
32
|
-
--group-header-background: #{$ds-color-static-black};
|
|
33
|
-
--group-header-color: #{$ds-color-static-yellow};
|
|
34
|
-
--group-header-icon-color: #{$ds-color-icon-on-brand};
|
|
26
|
+
--group-header-background: #{$ds-color-surface-breaking};
|
|
35
27
|
}
|
|
36
28
|
|
|
37
29
|
&--toggle,
|
|
@@ -116,10 +108,6 @@ $ds-group-header__icon-size: 24px;
|
|
|
116
108
|
padding-bottom: ds-spacing($ds-s-075) - ds-border-width(x1);
|
|
117
109
|
}
|
|
118
110
|
|
|
119
|
-
&--bautaxl .ds-group-header__title {
|
|
120
|
-
@include ds-typography($ds-typography-detailbaota-xl-label);
|
|
121
|
-
}
|
|
122
|
-
|
|
123
111
|
.ds-group-header__image {
|
|
124
112
|
margin-left: ds-spacing($ds-s-100);
|
|
125
113
|
align-self: center;
|
|
File without changes
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
- GitHub: [BonnierNews/dn-design-system/../web/src/components/teaser-breaking](https://github.com/BonnierNews/dn-design-system/tree/main/web/src/components/teaser-breaking)
|
|
2
|
+
- Storybook: [TeaserBreaking](https://designsystem.dn.se/?path=/docs/section-teaserbreaking--docs)
|
|
3
|
+
- Storybook (Latest): [TeaserBreaking](https://designsystem-latest.dn.se/?path=/docs/section-teaserbreaking--docs)
|
|
4
|
+
|
|
5
|
+
----
|
|
6
|
+
|
|
7
|
+
# teaser-breaking
|
|
8
|
+
|
|
9
|
+
This teaser never has a lock-symbol/vip-badge
|
|
10
|
+
|
|
11
|
+
## Parameters
|
|
12
|
+
|
|
13
|
+
|parameter | type | required | options | default | description |
|
|
14
|
+
|:--- | :--- | :--- | :--- | :--- | :--- |
|
|
15
|
+
|title | String | yes | | | Heading of the teaser |
|
|
16
|
+
|targetLink | String | yes | | | Target URL for the teaser |
|
|
17
|
+
|areaType | String | no | "right" or "bauta" | | The area where the column is rendered |
|
|
18
|
+
|theme | String | no | nyheter, kultur, ekonomi, sport, sthlm | (empty) | The theme-class to apply to the teaser |
|
|
19
|
+
|text | String | no | | | Teaser subtext |
|
|
20
|
+
|vignette | String | no | | | Top text in the teaser |
|
|
21
|
+
|highlight | String | no | | | Text before the heading |
|
|
22
|
+
|mediaHtml | HTML String | no | | | Main image or other media |
|
|
23
|
+
|attributes | Object | no | | | Ex. { target: "_blank", "data-test": "lorem ipsum" } |
|
|
24
|
+
|classNames | String | no | | | Ex. "my-special-class" |
|
|
25
|
+
|~forcePx~ | | | | | Not supported |
|
|
26
|
+
|
|
27
|
+
## Minimum requirement example
|
|
28
|
+
|
|
29
|
+
### Nunjucks
|
|
30
|
+
|
|
31
|
+
These are copy paste friendly examples to quickliy get started using a component.
|
|
32
|
+
|
|
33
|
+
```html
|
|
34
|
+
{% from '@bonniernews/dn-design-system-web/components/teaser-breaking/teaser-breaking.njk' import TeaserBreaking %}
|
|
35
|
+
|
|
36
|
+
{{ TeaserBreaking({
|
|
37
|
+
title: "Upp på börsen",
|
|
38
|
+
text: "Det ser ganska normalt ut på Stockholmsbörsen.",
|
|
39
|
+
highlight: "Ekonominytt:"
|
|
40
|
+
})}}
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### SCSS
|
|
44
|
+
```scss
|
|
45
|
+
@use "@bonniernews/dn-design-system-web/components/teaser-breaking/teaser-breaking" as *;
|
|
46
|
+
```
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{% from '@bonniernews/dn-design-system-web/components/teaser-card/teaser-card.njk' import TeaserCard %}
|
|
2
|
+
|
|
3
|
+
{% macro TeaserBreaking(params) %}
|
|
4
|
+
{% set componentClassName = "ds-teaser" %}
|
|
5
|
+
{% set classNamePrefix = componentClassName + "--" %}
|
|
6
|
+
|
|
7
|
+
{% set extraClasses = [
|
|
8
|
+
"ds-teaser--breaking",
|
|
9
|
+
params.classNames if params.classNames
|
|
10
|
+
] | join(" ") %}
|
|
11
|
+
|
|
12
|
+
{% call TeaserCard({
|
|
13
|
+
targetLink: params.targetLink,
|
|
14
|
+
areaType: params.areaType,
|
|
15
|
+
theme: params.theme,
|
|
16
|
+
attributes: params.attributes,
|
|
17
|
+
classNames: extraClasses
|
|
18
|
+
}) %}
|
|
19
|
+
<div class="{{ componentClassName + '__content'}}">
|
|
20
|
+
<div class="ds-teaser__content-inner">
|
|
21
|
+
{% if params.vignette %}
|
|
22
|
+
<div class="ds-teaser__vignette">
|
|
23
|
+
{{ params.vignette }}
|
|
24
|
+
</div>
|
|
25
|
+
{% endif %}
|
|
26
|
+
<h2 class="ds-teaser__title">
|
|
27
|
+
{% if params.highlight %}
|
|
28
|
+
<span class="{{ componentClassName + '__highlight'}}">{{ params.highlight }}</span>
|
|
29
|
+
{% endif %}
|
|
30
|
+
{{ params.title }}
|
|
31
|
+
</h2>
|
|
32
|
+
|
|
33
|
+
{% if params.text %}
|
|
34
|
+
<p class="{{ componentClassName + '__text' }}">
|
|
35
|
+
{{ params.text }}
|
|
36
|
+
</p>
|
|
37
|
+
{% endif %}
|
|
38
|
+
</div>
|
|
39
|
+
</div>
|
|
40
|
+
{% if params.mediaHtml %}
|
|
41
|
+
<div class="{{ componentClassName + '__media'}}">
|
|
42
|
+
{{ params.mediaHtml }}
|
|
43
|
+
</div>
|
|
44
|
+
{% endif %}
|
|
45
|
+
{% endcall %}
|
|
46
|
+
{% endmacro %}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
@use "../../foundations/helpers/forward.helpers.scss" as *;
|
|
2
|
+
@use "../../assets/teaser/teaser.scss" as *;
|
|
3
|
+
|
|
4
|
+
.ds-teaser.ds-teaser--breaking {
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
position: relative;
|
|
8
|
+
|
|
9
|
+
.ds-teaser__media {
|
|
10
|
+
padding: ds-spacing(0 0 $ds-s-100);
|
|
11
|
+
|
|
12
|
+
video {
|
|
13
|
+
max-width: 100%;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.ds-teaser__content {
|
|
18
|
+
display: flex;
|
|
19
|
+
flex-direction: row;
|
|
20
|
+
padding: ds-spacing($ds-s-075 $ds-s-100 $ds-s-100);
|
|
21
|
+
text-align: center;
|
|
22
|
+
|
|
23
|
+
.ds-teaser__content-inner {
|
|
24
|
+
display: flex;
|
|
25
|
+
flex-direction: column;
|
|
26
|
+
flex: 1;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&:focus-visible {
|
|
31
|
+
outline: none !important; /* stylelint-disable-line declaration-no-important */
|
|
32
|
+
|
|
33
|
+
.ds-teaser__content {
|
|
34
|
+
@include ds-teaser-focus(-8px, false);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.ds-teaser__title {
|
|
39
|
+
@include ds-typography($ds-typography-detailteaser-breaking);
|
|
40
|
+
text-align: center;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@include ds-hover(true) {
|
|
44
|
+
.ds-teaser__title {
|
|
45
|
+
@include ds-underline(3px);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -13,11 +13,17 @@
|
|
|
13
13
|
{% set italicsClass = "ds-teaser--large-big-italic" if params.isLargeHeadline and params.areaType !== "right" else "ds-teaser--large-italic" %}
|
|
14
14
|
{% endif %}
|
|
15
15
|
|
|
16
|
+
{# Hide top border if there is media and it's not a compact version. Compact is overruled by italic, if italic we must hide border because we shouldn't change anything related to åsikt #}
|
|
17
|
+
{% set hideTopBorder = false %}
|
|
18
|
+
{% if params.mediaHtml and (params.isItalicHeadline or not params.isCompact) %}
|
|
19
|
+
{% set hideTopBorder = true %}
|
|
20
|
+
{% endif %}
|
|
21
|
+
|
|
16
22
|
{% set extraClasses = [
|
|
17
23
|
"ds-teaser--large",
|
|
18
24
|
classNamePrefix + params.variant if params.variant,
|
|
19
25
|
classNamePrefix + "quote-badge" if isQuoteBadge,
|
|
20
|
-
classNamePrefix + 'top-
|
|
26
|
+
classNamePrefix + 'hide-top-border' if hideTopBorder,
|
|
21
27
|
italicsClass if italicsClass,
|
|
22
28
|
classNamePrefix + "compact" if params.isCompact,
|
|
23
29
|
params.classNames if params.classNames
|
|
@@ -106,6 +106,21 @@
|
|
|
106
106
|
&.ds-teaser--large-big-italic .ds-teaser__title {
|
|
107
107
|
@include ds-typography($ds-typography-detailteaser-large-compact-opinion);
|
|
108
108
|
}
|
|
109
|
+
|
|
110
|
+
&:not(.ds-teaser--large-italic):not(.ds-teaser--large-big-italic) {
|
|
111
|
+
.ds-vip-badge {
|
|
112
|
+
top: ds-spacing($ds-s-100);
|
|
113
|
+
right: ds-spacing($ds-s-100);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.ds-teaser__media {
|
|
117
|
+
padding: ds-spacing($ds-s-100 $ds-s-100 0 $ds-s-100);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.ds-teaser-dot {
|
|
121
|
+
display: none;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
109
124
|
}
|
|
110
125
|
|
|
111
126
|
@include ds-mq-smallest-breakpoint(tablet) {
|
|
@@ -28,12 +28,6 @@
|
|
|
28
28
|
font-family: $ds-font--arial !important; /* stylelint-disable-line declaration-no-important */
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
&::after {
|
|
32
|
-
content: "";
|
|
33
|
-
display: block;
|
|
34
|
-
clear: both;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
31
|
&.ds-teaser--native-right,
|
|
38
32
|
&.ds-teaser--native-large {
|
|
39
33
|
.ds-teaser__media {
|
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
componentClassName,
|
|
9
9
|
classNamePrefix + params.areaType if params.areaType,
|
|
10
10
|
'ds-theme--' + params.theme if params.theme,
|
|
11
|
-
params.classNames if params.classNames
|
|
11
|
+
params.classNames if params.classNames,
|
|
12
|
+
'ds-dark' if params.areaType == 'bauta'
|
|
12
13
|
] | join(" ") %}
|
|
13
14
|
{%- set attributes = getAttributes(params.attributes) %}
|
|
14
15
|
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
background-color: $ds-color-border-primary;
|
|
18
18
|
position: absolute;
|
|
19
19
|
display: block;
|
|
20
|
+
clear: both; // Clears floating media in standard-teaser
|
|
20
21
|
top: 0;
|
|
21
22
|
left: 0;
|
|
22
23
|
right: 0;
|
|
@@ -26,12 +27,22 @@
|
|
|
26
27
|
}
|
|
27
28
|
|
|
28
29
|
// first-child only triggers if there is no vignette
|
|
29
|
-
.ds-teaser--top-
|
|
30
|
+
.ds-teaser--hide-top-border::after,
|
|
30
31
|
> .ds-split-container:first-child::after,
|
|
31
32
|
> .ds-teaser:first-child::after {
|
|
32
33
|
display: none;
|
|
33
34
|
}
|
|
34
35
|
|
|
36
|
+
.ds-teaser--breaking + .ds-teaser--hide-top-border {
|
|
37
|
+
&::after {
|
|
38
|
+
display: block; // Override `display:none to make border visible
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.ds-teaser__media {
|
|
42
|
+
padding-top: ds-spacing($ds-s-100);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
35
46
|
&::after {
|
|
36
47
|
content: "";
|
|
37
48
|
position: absolute;
|
|
@@ -46,38 +57,23 @@
|
|
|
46
57
|
display: none;
|
|
47
58
|
}
|
|
48
59
|
|
|
49
|
-
&.ds-teaser-package--
|
|
50
|
-
|
|
51
|
-
|
|
60
|
+
&.ds-teaser-package--bauta {
|
|
61
|
+
background-color: $ds-color-surface-breaking;
|
|
62
|
+
|
|
63
|
+
& .ds-teaser,
|
|
64
|
+
& .ds-teaser--slideshow {
|
|
65
|
+
background-color: $ds-color-surface-breaking;
|
|
52
66
|
}
|
|
53
67
|
|
|
54
|
-
.ds-
|
|
55
|
-
|
|
56
|
-
|
|
68
|
+
.ds-split-container {
|
|
69
|
+
background-color: $ds-color-surface-breaking;
|
|
70
|
+
&::after {
|
|
71
|
+
background-color: $ds-color-border-primary;
|
|
57
72
|
}
|
|
73
|
+
}
|
|
58
74
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
.ds-teaser__title,
|
|
62
|
-
.ds-teaser__text {
|
|
63
|
-
color: $ds-color-static-white;
|
|
64
|
-
}
|
|
65
|
-
.ds-teaser-dot {
|
|
66
|
-
color: $ds-color-static-red-300;
|
|
67
|
-
}
|
|
68
|
-
.ds-teaser__vignette,
|
|
69
|
-
.ds-teaser__sticker {
|
|
70
|
-
color: $ds-color-static-red-300;
|
|
71
|
-
}
|
|
72
|
-
&::after {
|
|
73
|
-
background-color: $ds-color-static-transparent-white-10;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
& + .ds-teaser::after,
|
|
77
|
-
& + .ds-split-container::after {
|
|
78
|
-
display: none;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
75
|
+
& > .ds-teaser::after {
|
|
76
|
+
background-color: $ds-color-border-primary;
|
|
81
77
|
}
|
|
82
78
|
}
|
|
83
79
|
}
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
{%- set classNamePrefix = componentClassName + "--" %}
|
|
79
79
|
{%- set classes = [
|
|
80
80
|
componentClassName,
|
|
81
|
-
classNamePrefix + params.areaType if params.areaType == "bauta"
|
|
81
|
+
classNamePrefix + params.areaType if params.areaType == "bauta",
|
|
82
82
|
"ds-theme--" + params.theme if params.theme,
|
|
83
83
|
params.classNames if params.classNames
|
|
84
84
|
] | join(" ") %}
|
|
@@ -45,6 +45,7 @@ $ds-color-surface-korsord: var(--ds-color-surface-korsord);
|
|
|
45
45
|
$ds-color-surface-sudoko: var(--ds-color-surface-sudoko);
|
|
46
46
|
$ds-color-surface-brand: var(--ds-color-surface-brand);
|
|
47
47
|
$ds-color-surface-inverted: var(--ds-color-surface-inverted);
|
|
48
|
+
$ds-color-surface-breaking: var(--ds-color-surface-breaking);
|
|
48
49
|
$ds-color-border-primary: var(--ds-color-border-primary);
|
|
49
50
|
$ds-color-border-primary-02: var(--ds-color-border-primary-02);
|
|
50
51
|
$ds-color-border-primary-03: var(--ds-color-border-primary-03);
|
|
@@ -1,84 +1,85 @@
|
|
|
1
|
-
$ds-hex-dark-text-primary: #
|
|
2
|
-
$ds-hex-dark-text-primary-02: #
|
|
1
|
+
$ds-hex-dark-text-primary: #ededed;
|
|
2
|
+
$ds-hex-dark-text-primary-02: #b8b8b8;
|
|
3
3
|
$ds-hex-dark-text-secondary: #050505;
|
|
4
|
-
$ds-hex-dark-text-critical: #
|
|
5
|
-
$ds-hex-dark-text-disabled: #
|
|
4
|
+
$ds-hex-dark-text-critical: #fd2330;
|
|
5
|
+
$ds-hex-dark-text-disabled: #b8b8b8;
|
|
6
6
|
$ds-hex-dark-text-on-brand: #ffffff;
|
|
7
7
|
$ds-hex-dark-text-on-business: #ffffff;
|
|
8
8
|
$ds-hex-dark-text-on-critical: #ffffff;
|
|
9
9
|
$ds-hex-dark-text-on-success: #ffffff;
|
|
10
|
-
$ds-hex-dark-text-brand: #
|
|
11
|
-
$ds-hex-dark-text-body-link: #
|
|
12
|
-
$ds-hex-dark-text-body-link-visited: #
|
|
13
|
-
$ds-hex-dark-text-positive: #
|
|
14
|
-
$ds-hex-dark-icon-primary: #
|
|
15
|
-
$ds-hex-dark-icon-primary-02: #
|
|
10
|
+
$ds-hex-dark-text-brand: #fd2330;
|
|
11
|
+
$ds-hex-dark-text-body-link: #65a0fc;
|
|
12
|
+
$ds-hex-dark-text-body-link-visited: #65a0fc;
|
|
13
|
+
$ds-hex-dark-text-positive: #3a8352;
|
|
14
|
+
$ds-hex-dark-icon-primary: #ededed;
|
|
15
|
+
$ds-hex-dark-icon-primary-02: #cfcfcf;
|
|
16
16
|
$ds-hex-dark-icon-secondary: #050505;
|
|
17
|
-
$ds-hex-dark-icon-critical: #
|
|
18
|
-
$ds-hex-dark-icon-disabled: #
|
|
17
|
+
$ds-hex-dark-icon-critical: #fd2330;
|
|
18
|
+
$ds-hex-dark-icon-disabled: #b8b8b8;
|
|
19
19
|
$ds-hex-dark-icon-on-brand: #141414;
|
|
20
20
|
$ds-hex-dark-icon-on-critical: #ffffff;
|
|
21
21
|
$ds-hex-dark-icon-on-success: #ffffff;
|
|
22
22
|
$ds-hex-dark-icon-on-business: #ffffff;
|
|
23
|
-
$ds-hex-dark-icon-brand: #
|
|
24
|
-
$ds-hex-dark-component-brand: #
|
|
25
|
-
$ds-hex-dark-component-business: #
|
|
26
|
-
$ds-hex-dark-component-primary: #
|
|
27
|
-
$ds-hex-dark-component-primary-overlay:
|
|
28
|
-
$ds-hex-dark-component-primary-overlay-02: #
|
|
23
|
+
$ds-hex-dark-icon-brand: #fd2330;
|
|
24
|
+
$ds-hex-dark-component-brand: #fd2330;
|
|
25
|
+
$ds-hex-dark-component-business: #3a8352;
|
|
26
|
+
$ds-hex-dark-component-primary: #ededed;
|
|
27
|
+
$ds-hex-dark-component-primary-overlay: rgba(255, 255, 255, 0.13);
|
|
28
|
+
$ds-hex-dark-component-primary-overlay-02: #9e9e9e;
|
|
29
29
|
$ds-hex-dark-component-secondary: #050505;
|
|
30
|
-
$ds-hex-dark-component-secondary-overlay:
|
|
31
|
-
$ds-hex-dark-component-secondary-overlay-02:
|
|
32
|
-
$ds-hex-dark-component-critical: #
|
|
33
|
-
$ds-hex-dark-component-critical-overlay: #
|
|
30
|
+
$ds-hex-dark-component-secondary-overlay: rgba(8, 8, 8, 0.13);
|
|
31
|
+
$ds-hex-dark-component-secondary-overlay-02: rgba(8, 8, 8, 0.2);
|
|
32
|
+
$ds-hex-dark-component-critical: #ef7171;
|
|
33
|
+
$ds-hex-dark-component-critical-overlay: #a51d24;
|
|
34
34
|
$ds-hex-dark-component-static-white: #ffffff;
|
|
35
|
-
$ds-hex-dark-component-positive: #
|
|
36
|
-
$ds-hex-dark-component-primary-02: #
|
|
37
|
-
$ds-hex-dark-surface-below: #
|
|
35
|
+
$ds-hex-dark-component-positive: #3a8352;
|
|
36
|
+
$ds-hex-dark-component-primary-02: #cfcfcf;
|
|
37
|
+
$ds-hex-dark-surface-below: #171717;
|
|
38
38
|
$ds-hex-dark-surface-background: #050505;
|
|
39
|
-
$ds-hex-dark-surface-raised: #
|
|
40
|
-
$ds-hex-dark-surface-native-article: #
|
|
41
|
-
$ds-hex-dark-surface-elevated: #
|
|
39
|
+
$ds-hex-dark-surface-raised: #2b2b2b;
|
|
40
|
+
$ds-hex-dark-surface-native-article: #2b2b2b;
|
|
41
|
+
$ds-hex-dark-surface-elevated: #2b2b2b;
|
|
42
42
|
$ds-hex-dark-surface-inverted: #ffffff;
|
|
43
|
-
$ds-hex-dark-surface-overlay:
|
|
44
|
-
$ds-hex-dark-surface-quiz: #
|
|
45
|
-
$ds-hex-dark-surface-korsord: #
|
|
46
|
-
$ds-hex-dark-surface-sudoko: #
|
|
47
|
-
$ds-hex-dark-surface-brand: #
|
|
48
|
-
$ds-hex-dark-
|
|
49
|
-
$ds-hex-dark-border-primary
|
|
50
|
-
$ds-hex-dark-border-primary-
|
|
43
|
+
$ds-hex-dark-surface-overlay: rgba(5, 5, 5, 0.5);
|
|
44
|
+
$ds-hex-dark-surface-quiz: #ea3e3f;
|
|
45
|
+
$ds-hex-dark-surface-korsord: #8bb6e8;
|
|
46
|
+
$ds-hex-dark-surface-sudoko: #90d0bd;
|
|
47
|
+
$ds-hex-dark-surface-brand: #da000d;
|
|
48
|
+
$ds-hex-dark-surface-breaking: #300407;
|
|
49
|
+
$ds-hex-dark-border-primary: rgba(255, 255, 255, 0.19);
|
|
50
|
+
$ds-hex-dark-border-primary-02: rgba(255, 255, 255, 0.4);
|
|
51
|
+
$ds-hex-dark-border-primary-03: #ededed;
|
|
51
52
|
$ds-hex-dark-border-secondary: #141414;
|
|
52
|
-
$ds-hex-dark-border-business: #
|
|
53
|
-
$ds-hex-dark-border-critical: #
|
|
54
|
-
$ds-hex-dark-border-focus: #
|
|
53
|
+
$ds-hex-dark-border-business: #3a8352;
|
|
54
|
+
$ds-hex-dark-border-critical: #fd2330;
|
|
55
|
+
$ds-hex-dark-border-focus: #fd2330;
|
|
55
56
|
$ds-hex-dark-border-focus-02: #ffffff;
|
|
56
|
-
$ds-hex-dark-border-focus-03: #
|
|
57
|
-
$ds-hex-dark-border-focus-04: #
|
|
58
|
-
$ds-hex-dark-border-brand: #
|
|
57
|
+
$ds-hex-dark-border-focus-03: #fd2330;
|
|
58
|
+
$ds-hex-dark-border-focus-04: #3a8352;
|
|
59
|
+
$ds-hex-dark-border-brand: #fd2330;
|
|
59
60
|
$ds-hex-dark-background-primary: #141414;
|
|
60
61
|
$ds-hex-dark-gradient-content-fade-left: linear-gradient(90deg, #05050500 0%, #050505 100%);
|
|
61
62
|
$ds-hex-dark-gradient-content-fade-right: linear-gradient(-90deg, #05050500 0%, #050505 100%);
|
|
62
63
|
$ds-hex-dark-gradient-content-fade-up: linear-gradient(180deg, #05050500 0%, #050505 100%);
|
|
63
64
|
$ds-hex-dark-gradient-content-fade-up-down: linear-gradient(0deg, #05050500 0%, #050505 100%);
|
|
64
65
|
$ds-hex-dark-gradient-content-fade-down: linear-gradient(0deg, #05050500 0%, #050505 100%);
|
|
65
|
-
$ds-hex-dark-static-red-100: #
|
|
66
|
+
$ds-hex-dark-static-red-100: #fad4d4;
|
|
66
67
|
$ds-hex-dark-static-black: #141414;
|
|
67
|
-
$ds-hex-dark-static-transparent-black:
|
|
68
|
+
$ds-hex-dark-static-transparent-black: rgba(20, 20, 20, 0.6);
|
|
68
69
|
$ds-hex-dark-static-white: #ffffff;
|
|
69
|
-
$ds-hex-dark-static-transparent-white:
|
|
70
|
-
$ds-hex-dark-static-green-100: #
|
|
71
|
-
$ds-hex-dark-static-red-300: #
|
|
72
|
-
$ds-hex-dark-static-transparent-white-10:
|
|
73
|
-
$ds-hex-dark-static-kultur: #
|
|
74
|
-
$ds-hex-dark-static-economy: #
|
|
75
|
-
$ds-hex-dark-static-sport: #
|
|
76
|
-
$ds-hex-dark-static-neutral-200: #
|
|
77
|
-
$ds-hex-dark-static-sthlm: #
|
|
78
|
-
$ds-hex-dark-static-ad-yellow: #
|
|
79
|
-
$ds-hex-dark-static-neutral-100: #
|
|
80
|
-
$ds-hex-dark-static-neutral-500: #
|
|
81
|
-
$ds-hex-dark-static-red-500: #
|
|
82
|
-
$ds-hex-dark-static-yellow: #
|
|
83
|
-
$ds-hex-dark-static-red-200: #
|
|
84
|
-
$ds-hex-dark-static-red-0: #
|
|
70
|
+
$ds-hex-dark-static-transparent-white: rgba(255, 255, 255, 0.5);
|
|
71
|
+
$ds-hex-dark-static-green-100: #cee4d6;
|
|
72
|
+
$ds-hex-dark-static-red-300: #ef7171;
|
|
73
|
+
$ds-hex-dark-static-transparent-white-10: rgba(255, 255, 255, 0.13);
|
|
74
|
+
$ds-hex-dark-static-kultur: #568cbb;
|
|
75
|
+
$ds-hex-dark-static-economy: #60bca1;
|
|
76
|
+
$ds-hex-dark-static-sport: #f58d2d;
|
|
77
|
+
$ds-hex-dark-static-neutral-200: #e0e0e0;
|
|
78
|
+
$ds-hex-dark-static-sthlm: #ff589b;
|
|
79
|
+
$ds-hex-dark-static-ad-yellow: #ffeac2;
|
|
80
|
+
$ds-hex-dark-static-neutral-100: #ededed;
|
|
81
|
+
$ds-hex-dark-static-neutral-500: #9e9e9e;
|
|
82
|
+
$ds-hex-dark-static-red-500: #da000d;
|
|
83
|
+
$ds-hex-dark-static-yellow: #ffe600;
|
|
84
|
+
$ds-hex-dark-static-red-200: #f6acad;
|
|
85
|
+
$ds-hex-dark-static-red-0: #fce8e8;
|
|
@@ -1,82 +1,83 @@
|
|
|
1
1
|
$ds-hex-text-primary: #050505;
|
|
2
2
|
$ds-hex-text-primary-02: #666666;
|
|
3
3
|
$ds-hex-text-secondary: #ffffff;
|
|
4
|
-
$ds-hex-text-critical: #
|
|
4
|
+
$ds-hex-text-critical: #da000d;
|
|
5
5
|
$ds-hex-text-disabled: #666666;
|
|
6
6
|
$ds-hex-text-on-brand: #ffffff;
|
|
7
7
|
$ds-hex-text-on-business: #ffffff;
|
|
8
8
|
$ds-hex-text-on-critical: #ffffff;
|
|
9
9
|
$ds-hex-text-on-success: #ffffff;
|
|
10
|
-
$ds-hex-text-brand: #
|
|
11
|
-
$ds-hex-text-body-link: #
|
|
12
|
-
$ds-hex-text-body-link-visited: #
|
|
13
|
-
$ds-hex-text-positive: #
|
|
10
|
+
$ds-hex-text-brand: #da000d;
|
|
11
|
+
$ds-hex-text-body-link: #4373ce;
|
|
12
|
+
$ds-hex-text-body-link-visited: #4373ce;
|
|
13
|
+
$ds-hex-text-positive: #3a8352;
|
|
14
14
|
$ds-hex-icon-primary: #050505;
|
|
15
15
|
$ds-hex-icon-primary-02: #666666;
|
|
16
16
|
$ds-hex-icon-secondary: #ffffff;
|
|
17
|
-
$ds-hex-icon-critical: #
|
|
17
|
+
$ds-hex-icon-critical: #da000d;
|
|
18
18
|
$ds-hex-icon-disabled: #666666;
|
|
19
19
|
$ds-hex-icon-on-brand: #ffffff;
|
|
20
20
|
$ds-hex-icon-on-business: #ffffff;
|
|
21
|
-
$ds-hex-icon-brand: #
|
|
21
|
+
$ds-hex-icon-brand: #da000d;
|
|
22
22
|
$ds-hex-icon-on-critical: #ffffff;
|
|
23
23
|
$ds-hex-icon-on-success: #ffffff;
|
|
24
|
-
$ds-hex-component-brand: #
|
|
25
|
-
$ds-hex-component-business: #
|
|
24
|
+
$ds-hex-component-brand: #da000d;
|
|
25
|
+
$ds-hex-component-business: #3a8352;
|
|
26
26
|
$ds-hex-component-primary: #141414;
|
|
27
|
-
$ds-hex-component-primary-overlay:
|
|
28
|
-
$ds-hex-component-primary-overlay-02:
|
|
27
|
+
$ds-hex-component-primary-overlay: rgba(8, 8, 8, 0.13);
|
|
28
|
+
$ds-hex-component-primary-overlay-02: rgba(8, 8, 8, 0.2);
|
|
29
29
|
$ds-hex-component-secondary: #ffffff;
|
|
30
|
-
$ds-hex-component-secondary-overlay:
|
|
31
|
-
$ds-hex-component-secondary-overlay-02:
|
|
32
|
-
$ds-hex-component-critical: #
|
|
33
|
-
$ds-hex-component-critical-overlay: #
|
|
30
|
+
$ds-hex-component-secondary-overlay: rgba(255, 255, 255, 0.13);
|
|
31
|
+
$ds-hex-component-secondary-overlay-02: rgba(255, 255, 255, 0.2);
|
|
32
|
+
$ds-hex-component-critical: #ea3e3f;
|
|
33
|
+
$ds-hex-component-critical-overlay: #a51d24;
|
|
34
34
|
$ds-hex-component-static-white: #ffffff;
|
|
35
|
-
$ds-hex-component-positive: #
|
|
36
|
-
$ds-hex-component-primary-02: #
|
|
37
|
-
$ds-hex-surface-below: #
|
|
38
|
-
$ds-hex-surface-native-article: #
|
|
35
|
+
$ds-hex-component-positive: #3a8352;
|
|
36
|
+
$ds-hex-component-primary-02: #cfcfcf;
|
|
37
|
+
$ds-hex-surface-below: #f2f2f2;
|
|
38
|
+
$ds-hex-surface-native-article: #ededed;
|
|
39
39
|
$ds-hex-surface-background: #ffffff;
|
|
40
|
-
$ds-hex-surface-raised: #
|
|
40
|
+
$ds-hex-surface-raised: #ededed;
|
|
41
41
|
$ds-hex-surface-elevated: #ffffff;
|
|
42
|
-
$ds-hex-surface-overlay:
|
|
43
|
-
$ds-hex-surface-quiz: #
|
|
44
|
-
$ds-hex-surface-korsord: #
|
|
45
|
-
$ds-hex-surface-sudoko: #
|
|
46
|
-
$ds-hex-surface-brand: #
|
|
42
|
+
$ds-hex-surface-overlay: rgba(5, 5, 5, 0.5);
|
|
43
|
+
$ds-hex-surface-quiz: #ea3e3f;
|
|
44
|
+
$ds-hex-surface-korsord: #8bb6e8;
|
|
45
|
+
$ds-hex-surface-sudoko: #90d0bd;
|
|
46
|
+
$ds-hex-surface-brand: #da000d;
|
|
47
47
|
$ds-hex-surface-inverted: #141414;
|
|
48
|
-
$ds-hex-
|
|
49
|
-
$ds-hex-border-primary
|
|
48
|
+
$ds-hex-surface-breaking: #300407;
|
|
49
|
+
$ds-hex-border-primary: rgba(5, 5, 5, 0.13);
|
|
50
|
+
$ds-hex-border-primary-02: rgba(8, 8, 8, 0.4);
|
|
50
51
|
$ds-hex-border-primary-03: #050505;
|
|
51
52
|
$ds-hex-border-secondary: #ffffff;
|
|
52
|
-
$ds-hex-border-business: #
|
|
53
|
-
$ds-hex-border-critical: #
|
|
54
|
-
$ds-hex-border-focus: #
|
|
53
|
+
$ds-hex-border-business: #3a8352;
|
|
54
|
+
$ds-hex-border-critical: #da000d;
|
|
55
|
+
$ds-hex-border-focus: #da000d;
|
|
55
56
|
$ds-hex-border-focus-02: #141414;
|
|
56
|
-
$ds-hex-border-focus-03: #
|
|
57
|
-
$ds-hex-border-focus-04: #
|
|
58
|
-
$ds-hex-border-brand: #
|
|
57
|
+
$ds-hex-border-focus-03: #da000d;
|
|
58
|
+
$ds-hex-border-focus-04: #3a8352;
|
|
59
|
+
$ds-hex-border-brand: #da000d;
|
|
59
60
|
$ds-hex-background-primary: #ffffff;
|
|
60
|
-
$ds-hex-static-red-100: #
|
|
61
|
+
$ds-hex-static-red-100: #fad4d4;
|
|
61
62
|
$ds-hex-static-black: #141414;
|
|
62
|
-
$ds-hex-static-transparent-black:
|
|
63
|
+
$ds-hex-static-transparent-black: rgba(20, 20, 20, 0.6);
|
|
63
64
|
$ds-hex-static-white: #ffffff;
|
|
64
|
-
$ds-hex-static-transparent-white:
|
|
65
|
-
$ds-hex-static-green-100: #
|
|
66
|
-
$ds-hex-static-red-300: #
|
|
67
|
-
$ds-hex-static-transparent-white-10:
|
|
68
|
-
$ds-hex-static-kultur: #
|
|
69
|
-
$ds-hex-static-economy: #
|
|
70
|
-
$ds-hex-static-sport: #
|
|
71
|
-
$ds-hex-static-neutral-200: #
|
|
72
|
-
$ds-hex-static-sthlm: #
|
|
73
|
-
$ds-hex-static-ad-yellow: #
|
|
74
|
-
$ds-hex-static-neutral-100: #
|
|
75
|
-
$ds-hex-static-neutral-500: #
|
|
76
|
-
$ds-hex-static-red-500: #
|
|
77
|
-
$ds-hex-static-yellow: #
|
|
78
|
-
$ds-hex-static-red-200: #
|
|
79
|
-
$ds-hex-static-red-0: #
|
|
65
|
+
$ds-hex-static-transparent-white: rgba(255, 255, 255, 0.5);
|
|
66
|
+
$ds-hex-static-green-100: #cee4d6;
|
|
67
|
+
$ds-hex-static-red-300: #ef7171;
|
|
68
|
+
$ds-hex-static-transparent-white-10: rgba(255, 255, 255, 0.13);
|
|
69
|
+
$ds-hex-static-kultur: #568cbb;
|
|
70
|
+
$ds-hex-static-economy: #60bca1;
|
|
71
|
+
$ds-hex-static-sport: #f58d2d;
|
|
72
|
+
$ds-hex-static-neutral-200: #e0e0e0;
|
|
73
|
+
$ds-hex-static-sthlm: #ff589b;
|
|
74
|
+
$ds-hex-static-ad-yellow: #ffeac2;
|
|
75
|
+
$ds-hex-static-neutral-100: #ededed;
|
|
76
|
+
$ds-hex-static-neutral-500: #9e9e9e;
|
|
77
|
+
$ds-hex-static-red-500: #da000d;
|
|
78
|
+
$ds-hex-static-yellow: #ffe600;
|
|
79
|
+
$ds-hex-static-red-200: #f6acad;
|
|
80
|
+
$ds-hex-static-red-0: #fce8e8;
|
|
80
81
|
$ds-hex-gradient-content-fade-left: linear-gradient(90deg, #ffffff00 0%, #ffffff 100%);
|
|
81
82
|
$ds-hex-gradient-content-fade-right: linear-gradient(-90deg, #ffffff00 0%, #ffffff 100%);
|
|
82
83
|
$ds-hex-gradient-content-fade-up: linear-gradient(180deg, #ffffff00 0%, #ffffff 100%);
|
|
@@ -15,6 +15,7 @@ $ds-typography-detaildirekt-header: 'detaildirekt-header';
|
|
|
15
15
|
$ds-typography-detailteaser-standard-compact: 'detailteaser-standard-compact';
|
|
16
16
|
$ds-typography-detailteaser-standard-compact-opinion: 'detailteaser-standard-compact-opinion';
|
|
17
17
|
$ds-typography-detailteaser-large: 'detailteaser-large';
|
|
18
|
+
$ds-typography-detailteaser-breaking: 'detailteaser-breaking';
|
|
18
19
|
$ds-typography-detailteaser-large-opinion: 'detailteaser-large-opinion';
|
|
19
20
|
$ds-typography-detailteaser-large-storRubrik: 'detailteaser-large-storRubrik';
|
|
20
21
|
$ds-typography-detailteaser-standard: 'detailteaser-standard';
|
|
@@ -54,15 +54,22 @@ $typographyTokensScreenExtraLarge: (
|
|
|
54
54
|
fontFamily: "DN Serif Display",
|
|
55
55
|
fontWeight: Bold,
|
|
56
56
|
lineHeight: 1.1,
|
|
57
|
-
fontSize:
|
|
57
|
+
fontSize: 48,
|
|
58
|
+
letterSpacing: 0
|
|
59
|
+
),
|
|
60
|
+
detailteaser-breaking: (
|
|
61
|
+
fontFamily: "DN Serif Display",
|
|
62
|
+
fontWeight: ExtraBold,
|
|
63
|
+
lineHeight: 1.1,
|
|
64
|
+
fontSize: 72,
|
|
58
65
|
letterSpacing: 0
|
|
59
66
|
),
|
|
60
67
|
detailteaser-standard: (
|
|
61
68
|
fontFamily: "DN Serif Headline",
|
|
62
|
-
fontSize: 36,
|
|
63
69
|
lineHeight: 1.1,
|
|
64
70
|
letterSpacing: 0,
|
|
65
|
-
fontWeight: Bold
|
|
71
|
+
fontWeight: Bold,
|
|
72
|
+
fontSize: 28
|
|
66
73
|
),
|
|
67
74
|
detailteaser-standard-compact: (
|
|
68
75
|
fontFamily: "DN Serif Headline",
|
|
@@ -74,7 +81,7 @@ $typographyTokensScreenExtraLarge: (
|
|
|
74
81
|
detailteaser-large-compact: (
|
|
75
82
|
fontFamily: "DN Serif Display",
|
|
76
83
|
fontWeight: Bold,
|
|
77
|
-
fontSize:
|
|
84
|
+
fontSize: 36,
|
|
78
85
|
lineHeight: 1.1,
|
|
79
86
|
letterSpacing: 0
|
|
80
87
|
),
|
|
@@ -93,6 +93,13 @@ $typographyTokensScreenLarge: (
|
|
|
93
93
|
fontSize: 40,
|
|
94
94
|
letterSpacing: 0
|
|
95
95
|
),
|
|
96
|
+
detailteaser-breaking: (
|
|
97
|
+
fontFamily: "DN Serif Display",
|
|
98
|
+
fontWeight: ExtraBold,
|
|
99
|
+
lineHeight: 1.1,
|
|
100
|
+
fontSize: 48,
|
|
101
|
+
letterSpacing: 0
|
|
102
|
+
),
|
|
96
103
|
detailteaser-large-opinion: (
|
|
97
104
|
fontFamily: "DN Serif Display",
|
|
98
105
|
fontWeight: Regular,
|
|
@@ -110,10 +117,10 @@ $typographyTokensScreenLarge: (
|
|
|
110
117
|
),
|
|
111
118
|
detailteaser-standard: (
|
|
112
119
|
fontFamily: "DN Serif Headline",
|
|
113
|
-
fontSize: 26,
|
|
114
120
|
lineHeight: 1.1,
|
|
115
121
|
letterSpacing: 0,
|
|
116
|
-
fontWeight: Bold
|
|
122
|
+
fontWeight: Bold,
|
|
123
|
+
fontSize: 28
|
|
117
124
|
),
|
|
118
125
|
detailteaser-standard-opinion: (
|
|
119
126
|
fontFamily: "DN Serif Headline",
|
|
@@ -133,7 +140,7 @@ $typographyTokensScreenLarge: (
|
|
|
133
140
|
detailteaser-large-compact: (
|
|
134
141
|
fontFamily: "DN Serif Display",
|
|
135
142
|
fontWeight: Bold,
|
|
136
|
-
fontSize:
|
|
143
|
+
fontSize: 32,
|
|
137
144
|
lineHeight: 1.1,
|
|
138
145
|
letterSpacing: 0
|
|
139
146
|
),
|
|
@@ -122,6 +122,13 @@ $typographyTokensScreenSmall: (
|
|
|
122
122
|
fontSize: 26,
|
|
123
123
|
letterSpacing: 0
|
|
124
124
|
),
|
|
125
|
+
detailteaser-breaking: (
|
|
126
|
+
fontFamily: "DN Serif Display",
|
|
127
|
+
fontWeight: ExtraBold,
|
|
128
|
+
lineHeight: 1.1,
|
|
129
|
+
fontSize: 40,
|
|
130
|
+
letterSpacing: 0
|
|
131
|
+
),
|
|
125
132
|
detailteaser-large-opinion: (
|
|
126
133
|
fontFamily: "DN Serif Headline",
|
|
127
134
|
fontWeight: Regular,
|
|
@@ -139,10 +146,10 @@ $typographyTokensScreenSmall: (
|
|
|
139
146
|
),
|
|
140
147
|
detailteaser-standard: (
|
|
141
148
|
fontFamily: "DN Serif Headline",
|
|
142
|
-
fontSize: 20,
|
|
143
149
|
lineHeight: 1.2,
|
|
144
150
|
letterSpacing: 0,
|
|
145
|
-
fontWeight: Bold
|
|
151
|
+
fontWeight: Bold,
|
|
152
|
+
fontSize: 20
|
|
146
153
|
),
|
|
147
154
|
detailteaser-standard-opinion: (
|
|
148
155
|
fontFamily: "DN Serif Headline",
|
|
@@ -156,14 +163,14 @@ $typographyTokensScreenSmall: (
|
|
|
156
163
|
fontFamily: "DN Serif Text",
|
|
157
164
|
fontWeight: Bold,
|
|
158
165
|
lineHeight: 1.2,
|
|
159
|
-
fontSize:
|
|
166
|
+
fontSize: 18,
|
|
160
167
|
letterSpacing: 0
|
|
161
168
|
),
|
|
162
169
|
detailteaser-large-compact: (
|
|
163
170
|
fontFamily: "DN Serif Headline",
|
|
164
171
|
fontWeight: Bold,
|
|
165
|
-
fontSize:
|
|
166
|
-
lineHeight: 1.
|
|
172
|
+
fontSize: 20,
|
|
173
|
+
lineHeight: 1.2,
|
|
167
174
|
letterSpacing: 0
|
|
168
175
|
),
|
|
169
176
|
detailteaser-large-compact-opinion: (
|
|
@@ -205,7 +212,7 @@ $typographyTokensScreenSmall: (
|
|
|
205
212
|
detailteaser-tipsa: (
|
|
206
213
|
fontFamily: "DN Serif Text",
|
|
207
214
|
fontWeight: Bold,
|
|
208
|
-
fontSize:
|
|
215
|
+
fontSize: 18,
|
|
209
216
|
lineHeight: 1.2,
|
|
210
217
|
letterSpacing: 0
|
|
211
218
|
),
|
package/package.json
CHANGED
|
@@ -46,6 +46,7 @@
|
|
|
46
46
|
"surface-sudoko": "var(--ds-color-surface-sudoko)",
|
|
47
47
|
"surface-brand": "var(--ds-color-surface-brand)",
|
|
48
48
|
"surface-inverted": "var(--ds-color-surface-inverted)",
|
|
49
|
+
"surface-breaking": "var(--ds-color-surface-breaking)",
|
|
49
50
|
"border-primary": "var(--ds-color-border-primary)",
|
|
50
51
|
"border-primary-02": "var(--ds-color-border-primary-02)",
|
|
51
52
|
"border-primary-03": "var(--ds-color-border-primary-03)",
|
|
@@ -82,4 +83,4 @@
|
|
|
82
83
|
"gradient-content-fade-right": "var(--ds-color-gradient-content-fade-right)",
|
|
83
84
|
"gradient-content-fade-up": "var(--ds-color-gradient-content-fade-up)",
|
|
84
85
|
"gradient-content-fade-down": "var(--ds-color-gradient-content-fade-down)"
|
|
85
|
-
}
|
|
86
|
+
}
|
|
@@ -1,71 +1,72 @@
|
|
|
1
1
|
{
|
|
2
2
|
"text": {
|
|
3
|
-
"primary": "#
|
|
4
|
-
"primary-02": "#
|
|
3
|
+
"primary": "#ededed",
|
|
4
|
+
"primary-02": "#b8b8b8",
|
|
5
5
|
"secondary": "#050505",
|
|
6
|
-
"critical": "#
|
|
7
|
-
"disabled": "#
|
|
6
|
+
"critical": "#fd2330",
|
|
7
|
+
"disabled": "#b8b8b8",
|
|
8
8
|
"on-brand": "#ffffff",
|
|
9
9
|
"on-business": "#ffffff",
|
|
10
10
|
"on-critical": "#ffffff",
|
|
11
11
|
"on-success": "#ffffff",
|
|
12
|
-
"brand": "#
|
|
13
|
-
"body-link": "#
|
|
14
|
-
"body-link-visited": "#
|
|
15
|
-
"positive": "#
|
|
12
|
+
"brand": "#fd2330",
|
|
13
|
+
"body-link": "#65a0fc",
|
|
14
|
+
"body-link-visited": "#65a0fc",
|
|
15
|
+
"positive": "#3a8352"
|
|
16
16
|
},
|
|
17
17
|
"icon": {
|
|
18
|
-
"primary": "#
|
|
19
|
-
"primary-02": "#
|
|
18
|
+
"primary": "#ededed",
|
|
19
|
+
"primary-02": "#cfcfcf",
|
|
20
20
|
"secondary": "#050505",
|
|
21
|
-
"critical": "#
|
|
22
|
-
"disabled": "#
|
|
21
|
+
"critical": "#fd2330",
|
|
22
|
+
"disabled": "#b8b8b8",
|
|
23
23
|
"on-brand": "#141414",
|
|
24
24
|
"on-critical": "#ffffff",
|
|
25
25
|
"on-success": "#ffffff",
|
|
26
26
|
"on-business": "#ffffff",
|
|
27
|
-
"brand": "#
|
|
27
|
+
"brand": "#fd2330"
|
|
28
28
|
},
|
|
29
29
|
"component": {
|
|
30
|
-
"brand": "#
|
|
31
|
-
"business": "#
|
|
32
|
-
"primary": "#
|
|
33
|
-
"primary-overlay": "
|
|
34
|
-
"primary-overlay-02": "#
|
|
30
|
+
"brand": "#fd2330",
|
|
31
|
+
"business": "#3a8352",
|
|
32
|
+
"primary": "#ededed",
|
|
33
|
+
"primary-overlay": "rgba(255, 255, 255, 0.13)",
|
|
34
|
+
"primary-overlay-02": "#9e9e9e",
|
|
35
35
|
"secondary": "#050505",
|
|
36
|
-
"secondary-overlay": "
|
|
37
|
-
"secondary-overlay-02": "
|
|
38
|
-
"critical": "#
|
|
39
|
-
"critical-overlay": "#
|
|
36
|
+
"secondary-overlay": "rgba(8, 8, 8, 0.13)",
|
|
37
|
+
"secondary-overlay-02": "rgba(8, 8, 8, 0.2)",
|
|
38
|
+
"critical": "#ef7171",
|
|
39
|
+
"critical-overlay": "#a51d24",
|
|
40
40
|
"static-white": "#ffffff",
|
|
41
|
-
"positive": "#
|
|
42
|
-
"primary-02": "#
|
|
41
|
+
"positive": "#3a8352",
|
|
42
|
+
"primary-02": "#cfcfcf"
|
|
43
43
|
},
|
|
44
44
|
"surface": {
|
|
45
|
-
"below": "#
|
|
45
|
+
"below": "#171717",
|
|
46
46
|
"background": "#050505",
|
|
47
|
-
"raised": "#
|
|
48
|
-
"native-article": "#
|
|
49
|
-
"elevated": "#
|
|
47
|
+
"raised": "#2b2b2b",
|
|
48
|
+
"native-article": "#2b2b2b",
|
|
49
|
+
"elevated": "#2b2b2b",
|
|
50
50
|
"inverted": "#ffffff",
|
|
51
|
-
"overlay": "
|
|
52
|
-
"quiz": "#
|
|
53
|
-
"korsord": "#
|
|
54
|
-
"sudoko": "#
|
|
55
|
-
"brand": "#
|
|
51
|
+
"overlay": "rgba(5, 5, 5, 0.5)",
|
|
52
|
+
"quiz": "#ea3e3f",
|
|
53
|
+
"korsord": "#8bb6e8",
|
|
54
|
+
"sudoko": "#90d0bd",
|
|
55
|
+
"brand": "#da000d",
|
|
56
|
+
"breaking": "#300407"
|
|
56
57
|
},
|
|
57
58
|
"border": {
|
|
58
|
-
"primary": "
|
|
59
|
-
"primary-02": "
|
|
60
|
-
"primary-03": "#
|
|
59
|
+
"primary": "rgba(255, 255, 255, 0.19)",
|
|
60
|
+
"primary-02": "rgba(255, 255, 255, 0.4)",
|
|
61
|
+
"primary-03": "#ededed",
|
|
61
62
|
"secondary": "#141414",
|
|
62
|
-
"business": "#
|
|
63
|
-
"critical": "#
|
|
64
|
-
"focus": "#
|
|
63
|
+
"business": "#3a8352",
|
|
64
|
+
"critical": "#fd2330",
|
|
65
|
+
"focus": "#fd2330",
|
|
65
66
|
"focus-02": "#ffffff",
|
|
66
|
-
"focus-03": "#
|
|
67
|
-
"focus-04": "#
|
|
68
|
-
"brand": "#
|
|
67
|
+
"focus-03": "#fd2330",
|
|
68
|
+
"focus-04": "#3a8352",
|
|
69
|
+
"brand": "#fd2330"
|
|
69
70
|
},
|
|
70
71
|
"background": {
|
|
71
72
|
"primary": "#141414"
|
|
@@ -78,25 +79,25 @@
|
|
|
78
79
|
"content-fade-down": "linear-gradient(0deg, #05050500 0%, #050505 100%)"
|
|
79
80
|
},
|
|
80
81
|
"static": {
|
|
81
|
-
"red-100": "#
|
|
82
|
+
"red-100": "#fad4d4",
|
|
82
83
|
"black": "#141414",
|
|
83
|
-
"transparent-black": "
|
|
84
|
+
"transparent-black": "rgba(20, 20, 20, 0.6)",
|
|
84
85
|
"white": "#ffffff",
|
|
85
|
-
"transparent-white": "
|
|
86
|
-
"green-100": "#
|
|
87
|
-
"red-300": "#
|
|
88
|
-
"transparent-white-10": "
|
|
89
|
-
"kultur": "#
|
|
90
|
-
"economy": "#
|
|
91
|
-
"sport": "#
|
|
92
|
-
"neutral-200": "#
|
|
93
|
-
"sthlm": "#
|
|
94
|
-
"ad-yellow": "#
|
|
95
|
-
"neutral-100": "#
|
|
96
|
-
"neutral-500": "#
|
|
97
|
-
"red-500": "#
|
|
98
|
-
"yellow": "#
|
|
99
|
-
"red-200": "#
|
|
100
|
-
"red-0": "#
|
|
86
|
+
"transparent-white": "rgba(255, 255, 255, 0.5)",
|
|
87
|
+
"green-100": "#cee4d6",
|
|
88
|
+
"red-300": "#ef7171",
|
|
89
|
+
"transparent-white-10": "rgba(255, 255, 255, 0.13)",
|
|
90
|
+
"kultur": "#568cbb",
|
|
91
|
+
"economy": "#60bca1",
|
|
92
|
+
"sport": "#f58d2d",
|
|
93
|
+
"neutral-200": "#e0e0e0",
|
|
94
|
+
"sthlm": "#ff589b",
|
|
95
|
+
"ad-yellow": "#ffeac2",
|
|
96
|
+
"neutral-100": "#ededed",
|
|
97
|
+
"neutral-500": "#9e9e9e",
|
|
98
|
+
"red-500": "#da000d",
|
|
99
|
+
"yellow": "#ffe600",
|
|
100
|
+
"red-200": "#f6acad",
|
|
101
|
+
"red-0": "#fce8e8"
|
|
101
102
|
}
|
|
102
|
-
}
|
|
103
|
+
}
|
|
@@ -3,94 +3,95 @@
|
|
|
3
3
|
"primary": "#050505",
|
|
4
4
|
"primary-02": "#666666",
|
|
5
5
|
"secondary": "#ffffff",
|
|
6
|
-
"critical": "#
|
|
6
|
+
"critical": "#da000d",
|
|
7
7
|
"disabled": "#666666",
|
|
8
8
|
"on-brand": "#ffffff",
|
|
9
9
|
"on-business": "#ffffff",
|
|
10
10
|
"on-critical": "#ffffff",
|
|
11
11
|
"on-success": "#ffffff",
|
|
12
|
-
"brand": "#
|
|
13
|
-
"body-link": "#
|
|
14
|
-
"body-link-visited": "#
|
|
15
|
-
"positive": "#
|
|
12
|
+
"brand": "#da000d",
|
|
13
|
+
"body-link": "#4373ce",
|
|
14
|
+
"body-link-visited": "#4373ce",
|
|
15
|
+
"positive": "#3a8352"
|
|
16
16
|
},
|
|
17
17
|
"icon": {
|
|
18
18
|
"primary": "#050505",
|
|
19
19
|
"primary-02": "#666666",
|
|
20
20
|
"secondary": "#ffffff",
|
|
21
|
-
"critical": "#
|
|
21
|
+
"critical": "#da000d",
|
|
22
22
|
"disabled": "#666666",
|
|
23
23
|
"on-brand": "#ffffff",
|
|
24
24
|
"on-business": "#ffffff",
|
|
25
|
-
"brand": "#
|
|
25
|
+
"brand": "#da000d",
|
|
26
26
|
"on-critical": "#ffffff",
|
|
27
27
|
"on-success": "#ffffff"
|
|
28
28
|
},
|
|
29
29
|
"component": {
|
|
30
|
-
"brand": "#
|
|
31
|
-
"business": "#
|
|
30
|
+
"brand": "#da000d",
|
|
31
|
+
"business": "#3a8352",
|
|
32
32
|
"primary": "#141414",
|
|
33
|
-
"primary-overlay": "
|
|
34
|
-
"primary-overlay-02": "
|
|
33
|
+
"primary-overlay": "rgba(8, 8, 8, 0.13)",
|
|
34
|
+
"primary-overlay-02": "rgba(8, 8, 8, 0.2)",
|
|
35
35
|
"secondary": "#ffffff",
|
|
36
|
-
"secondary-overlay": "
|
|
37
|
-
"secondary-overlay-02": "
|
|
38
|
-
"critical": "#
|
|
39
|
-
"critical-overlay": "#
|
|
36
|
+
"secondary-overlay": "rgba(255, 255, 255, 0.13)",
|
|
37
|
+
"secondary-overlay-02": "rgba(255, 255, 255, 0.2)",
|
|
38
|
+
"critical": "#ea3e3f",
|
|
39
|
+
"critical-overlay": "#a51d24",
|
|
40
40
|
"static-white": "#ffffff",
|
|
41
|
-
"positive": "#
|
|
42
|
-
"primary-02": "#
|
|
41
|
+
"positive": "#3a8352",
|
|
42
|
+
"primary-02": "#cfcfcf"
|
|
43
43
|
},
|
|
44
44
|
"surface": {
|
|
45
|
-
"below": "#
|
|
46
|
-
"native-article": "#
|
|
45
|
+
"below": "#f2f2f2",
|
|
46
|
+
"native-article": "#ededed",
|
|
47
47
|
"background": "#ffffff",
|
|
48
|
-
"raised": "#
|
|
48
|
+
"raised": "#ededed",
|
|
49
49
|
"elevated": "#ffffff",
|
|
50
|
-
"overlay": "
|
|
51
|
-
"quiz": "#
|
|
52
|
-
"korsord": "#
|
|
53
|
-
"sudoko": "#
|
|
54
|
-
"brand": "#
|
|
55
|
-
"inverted": "#141414"
|
|
50
|
+
"overlay": "rgba(5, 5, 5, 0.5)",
|
|
51
|
+
"quiz": "#ea3e3f",
|
|
52
|
+
"korsord": "#8bb6e8",
|
|
53
|
+
"sudoko": "#90d0bd",
|
|
54
|
+
"brand": "#da000d",
|
|
55
|
+
"inverted": "#141414",
|
|
56
|
+
"breaking": "#300407"
|
|
56
57
|
},
|
|
57
58
|
"border": {
|
|
58
|
-
"primary": "
|
|
59
|
-
"primary-02": "
|
|
59
|
+
"primary": "rgba(5, 5, 5, 0.13)",
|
|
60
|
+
"primary-02": "rgba(8, 8, 8, 0.4)",
|
|
60
61
|
"primary-03": "#050505",
|
|
61
62
|
"secondary": "#ffffff",
|
|
62
|
-
"business": "#
|
|
63
|
-
"critical": "#
|
|
64
|
-
"focus": "#
|
|
63
|
+
"business": "#3a8352",
|
|
64
|
+
"critical": "#da000d",
|
|
65
|
+
"focus": "#da000d",
|
|
65
66
|
"focus-02": "#141414",
|
|
66
|
-
"focus-03": "#
|
|
67
|
-
"focus-04": "#
|
|
68
|
-
"brand": "#
|
|
67
|
+
"focus-03": "#da000d",
|
|
68
|
+
"focus-04": "#3a8352",
|
|
69
|
+
"brand": "#da000d"
|
|
69
70
|
},
|
|
70
71
|
"background": {
|
|
71
72
|
"primary": "#ffffff"
|
|
72
73
|
},
|
|
73
74
|
"static": {
|
|
74
|
-
"red-100": "#
|
|
75
|
+
"red-100": "#fad4d4",
|
|
75
76
|
"black": "#141414",
|
|
76
|
-
"transparent-black": "
|
|
77
|
+
"transparent-black": "rgba(20, 20, 20, 0.6)",
|
|
77
78
|
"white": "#ffffff",
|
|
78
|
-
"transparent-white": "
|
|
79
|
-
"green-100": "#
|
|
80
|
-
"red-300": "#
|
|
81
|
-
"transparent-white-10": "
|
|
82
|
-
"kultur": "#
|
|
83
|
-
"economy": "#
|
|
84
|
-
"sport": "#
|
|
85
|
-
"neutral-200": "#
|
|
86
|
-
"sthlm": "#
|
|
87
|
-
"ad-yellow": "#
|
|
88
|
-
"neutral-100": "#
|
|
89
|
-
"neutral-500": "#
|
|
90
|
-
"red-500": "#
|
|
91
|
-
"yellow": "#
|
|
92
|
-
"red-200": "#
|
|
93
|
-
"red-0": "#
|
|
79
|
+
"transparent-white": "rgba(255, 255, 255, 0.5)",
|
|
80
|
+
"green-100": "#cee4d6",
|
|
81
|
+
"red-300": "#ef7171",
|
|
82
|
+
"transparent-white-10": "rgba(255, 255, 255, 0.13)",
|
|
83
|
+
"kultur": "#568cbb",
|
|
84
|
+
"economy": "#60bca1",
|
|
85
|
+
"sport": "#f58d2d",
|
|
86
|
+
"neutral-200": "#e0e0e0",
|
|
87
|
+
"sthlm": "#ff589b",
|
|
88
|
+
"ad-yellow": "#ffeac2",
|
|
89
|
+
"neutral-100": "#ededed",
|
|
90
|
+
"neutral-500": "#9e9e9e",
|
|
91
|
+
"red-500": "#da000d",
|
|
92
|
+
"yellow": "#ffe600",
|
|
93
|
+
"red-200": "#f6acad",
|
|
94
|
+
"red-0": "#fce8e8"
|
|
94
95
|
},
|
|
95
96
|
"gradient": {
|
|
96
97
|
"content-fade-left": "linear-gradient(90deg, #ffffff00 0%, #ffffff 100%)",
|
|
@@ -98,4 +99,4 @@
|
|
|
98
99
|
"content-fade-up": "linear-gradient(180deg, #ffffff00 0%, #ffffff 100%)",
|
|
99
100
|
"content-fade-down": "linear-gradient(0deg, #ffffff00 0%, #ffffff 100%)"
|
|
100
101
|
}
|
|
101
|
-
}
|
|
102
|
+
}
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
"detailteaser-standard-compact": "'detailteaser-standard-compact'",
|
|
17
17
|
"detailteaser-standard-compact-opinion": "'detailteaser-standard-compact-opinion'",
|
|
18
18
|
"detailteaser-large": "'detailteaser-large'",
|
|
19
|
+
"detailteaser-breaking": "'detailteaser-breaking'",
|
|
19
20
|
"detailteaser-large-opinion": "'detailteaser-large-opinion'",
|
|
20
21
|
"detailteaser-large-storRubrik": "'detailteaser-large-storRubrik'",
|
|
21
22
|
"detailteaser-standard": "'detailteaser-standard'",
|