@helsenorge/designsystem-react 10.6.0 → 10.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +852 -1402
- package/components/AnchorLink/styles.module.scss +9 -8
- package/components/Avatar/styles.module.scss +9 -9
- package/components/Badge/styles.module.scss +9 -9
- package/components/Button/styles.module.scss +59 -65
- package/components/Checkbox/styles.module.scss +103 -103
- package/components/Chip/styles.module.scss +22 -22
- package/components/Close/styles.module.scss +4 -4
- package/components/DictionaryTrigger/styles.module.scss +5 -5
- package/components/Drawer/styles.module.scss +16 -16
- package/components/Dropdown/styles.module.scss +51 -51
- package/components/Duolist/styles.module.scss +4 -5
- package/components/EmptyState/styles.module.scss +12 -12
- package/components/Expander/styles.module.scss +46 -46
- package/components/ExpanderHierarchy/expander.module.scss +29 -29
- package/components/ExpanderHierarchy/styles.module.scss +5 -4
- package/components/ExpanderList/styles.module.scss +30 -30
- package/components/EyebrowHeader/styles.module.scss +2 -0
- package/components/FormGroup/styles.module.scss +9 -9
- package/components/FormLayout/styles.module.scss +5 -4
- package/components/HelpBubble/styles.module.scss +13 -13
- package/components/HelpPanel/styles.module.scss +2 -2
- package/components/HelpQuestion/styles.module.scss +19 -19
- package/components/HighlightPanel/styles.module.scss +20 -20
- package/components/HorizontalScroll/styles.module.scss +3 -4
- package/components/Input/styles.module.scss +12 -12
- package/components/Label/styles.module.scss +15 -15
- package/components/LinkList/styles.module.scss +33 -33
- package/components/ListHeader/styles.module.scss +8 -8
- package/components/Loader/styles.module.scss +14 -14
- package/components/MaxCharacters/styles.module.scss +11 -11
- package/components/Modal/styles.module.scss +34 -34
- package/components/NotificationPanel/styles.module.scss +33 -33
- package/components/Panel/styles.module.scss +45 -45
- package/components/PanelList/styles.module.scss +5 -5
- package/components/PopMenu/styles.module.scss +15 -15
- package/components/PopOver/styles.module.scss +14 -13
- package/components/PopOver/styles.module.scss.d.ts +3 -0
- package/components/Progressbar/styles.module.scss +4 -4
- package/components/PromoPanel/styles.module.scss +22 -22
- package/components/RadioButton/styles.module.scss +99 -99
- package/components/Select/styles.module.scss +21 -21
- package/components/ServiceMessage/styles.module.scss +49 -49
- package/components/SharingStatus/styles.module.scss +13 -13
- package/components/Slider/styles.module.scss +24 -24
- package/components/Spacer/styles.module.scss +14 -14
- package/components/StatusDot/styles.module.scss +22 -22
- package/components/Step/styles.module.scss +3 -3
- package/components/StepButtons/styles.module.scss +9 -9
- package/components/Stepper/styles.module.scss +15 -23
- package/components/StickyNote/styles.module.scss +3 -3
- package/components/Table/styles.module.scss +32 -32
- package/components/Tabs/TabList/styles.module.scss +1 -1
- package/components/Tabs/TabPanel/styles.module.scss +5 -5
- package/components/Tabs/styles.module.scss +1 -1
- package/components/Tag/styles.module.scss +16 -16
- package/components/TagList/styles.module.scss +4 -4
- package/components/Textarea/styles.module.scss +9 -9
- package/components/Tile/styles.module.scss +25 -25
- package/components/Title/styles.module.scss +8 -8
- package/components/Toggle/styles.module.scss +14 -14
- package/components/Tooltip/TooltipWord/styles.module.scss +4 -4
- package/components/Trigger/styles.module.scss +21 -21
- package/components/Validation/styles.module.scss +10 -10
- package/package.json +1 -1
- package/scss/_body.scss +6 -5
- package/scss/_breakpoints.scss +2 -2
- package/scss/_font-mixins.scss +2 -2
- package/scss/_fonts.scss +2 -0
- package/scss/_input.scss +50 -53
- package/scss/_print.scss +2 -2
- package/scss/layout.module.scss +2 -2
- package/scss/typography.module.scss +43 -44
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
|
-
@
|
|
3
|
-
@
|
|
2
|
+
@import '../../scss/spacers';
|
|
3
|
+
@import '../../scss/breakpoints';
|
|
4
|
+
@import '../../scss/palette';
|
|
4
5
|
|
|
5
6
|
$underline-width: 0.0625rem;
|
|
6
7
|
$focus-width: 0.15rem;
|
|
7
8
|
|
|
8
9
|
@mixin anchorlink-hover {
|
|
9
10
|
cursor: pointer;
|
|
10
|
-
color:
|
|
11
|
-
background-color:
|
|
12
|
-
text-decoration-color:
|
|
11
|
+
color: $blueberry700;
|
|
12
|
+
background-color: $blueberry60010;
|
|
13
|
+
text-decoration-color: $blueberry600;
|
|
13
14
|
}
|
|
14
15
|
|
|
15
16
|
@mixin anchorlink-focus {
|
|
16
17
|
outline: none;
|
|
17
|
-
border: $focus-width solid
|
|
18
|
+
border: $focus-width solid $black;
|
|
18
19
|
}
|
|
19
20
|
|
|
20
21
|
@mixin anchorlink {
|
|
@@ -23,11 +24,11 @@ $focus-width: 0.15rem;
|
|
|
23
24
|
overflow-wrap: break-word;
|
|
24
25
|
word-break: break-word;
|
|
25
26
|
text-align: left;
|
|
26
|
-
color:
|
|
27
|
+
color: $blueberry600;
|
|
27
28
|
border: $focus-width solid transparent;
|
|
28
29
|
text-decoration: underline;
|
|
29
30
|
text-underline-offset: 0.16rem;
|
|
30
|
-
text-decoration-color:
|
|
31
|
+
text-decoration-color: $blueberry400;
|
|
31
32
|
text-decoration-thickness: $underline-width;
|
|
32
33
|
padding: 0.1rem;
|
|
33
34
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
@
|
|
2
|
-
@
|
|
1
|
+
@import '../../scss/palette';
|
|
2
|
+
@import '../../scss/font-settings';
|
|
3
3
|
|
|
4
4
|
.avatar {
|
|
5
5
|
display: flex;
|
|
6
6
|
justify-content: center;
|
|
7
7
|
align-items: center;
|
|
8
8
|
font-weight: 600;
|
|
9
|
-
background-color:
|
|
10
|
-
color:
|
|
9
|
+
background-color: $blueberry500;
|
|
10
|
+
color: $white;
|
|
11
11
|
|
|
12
12
|
&--circle {
|
|
13
13
|
border-radius: 50%;
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
&--black {
|
|
21
|
-
background-color:
|
|
21
|
+
background-color: $neutral900;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
&--selected#{&}--black {
|
|
@@ -28,14 +28,14 @@
|
|
|
28
28
|
&--xsmall {
|
|
29
29
|
width: 2.375rem;
|
|
30
30
|
height: 2.375rem;
|
|
31
|
-
font-size: font-
|
|
32
|
-
line-height:
|
|
31
|
+
font-size: $font-size-md;
|
|
32
|
+
line-height: $lineheight-size-md;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
&--small {
|
|
36
36
|
width: 3rem;
|
|
37
37
|
height: 3rem;
|
|
38
|
-
font-size: font-
|
|
39
|
-
line-height:
|
|
38
|
+
font-size: $font-size-lg;
|
|
39
|
+
line-height: $lineheight-size-lg;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@
|
|
1
|
+
@import '../../scss/palette';
|
|
2
2
|
|
|
3
3
|
.badge {
|
|
4
4
|
display: inline-flex;
|
|
@@ -10,23 +10,23 @@
|
|
|
10
10
|
height: 1.375rem;
|
|
11
11
|
border-radius: 1rem;
|
|
12
12
|
padding: 0 0.375rem;
|
|
13
|
-
color:
|
|
14
|
-
background-color:
|
|
13
|
+
color: $white;
|
|
14
|
+
background-color: $black;
|
|
15
15
|
border: 1px solid;
|
|
16
16
|
|
|
17
17
|
&--blueberry {
|
|
18
|
-
background-color:
|
|
19
|
-
border-color:
|
|
18
|
+
background-color: $blueberry500;
|
|
19
|
+
border-color: $blueberry600;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
&--cherry {
|
|
23
|
-
background-color:
|
|
24
|
-
border-color:
|
|
23
|
+
background-color: $cherry500;
|
|
24
|
+
border-color: $cherry600;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
&--neutral {
|
|
28
|
-
color:
|
|
28
|
+
color: $black;
|
|
29
29
|
background-color: transparent;
|
|
30
|
-
border-color:
|
|
30
|
+
border-color: $neutral600;
|
|
31
31
|
}
|
|
32
32
|
}
|
|
@@ -1,31 +1,25 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
|
-
@
|
|
3
|
-
@
|
|
4
|
-
@
|
|
5
|
-
@
|
|
6
|
-
@
|
|
2
|
+
@import '../../scss/spacers';
|
|
3
|
+
@import '../../scss/breakpoints';
|
|
4
|
+
@import '../../scss/palette';
|
|
5
|
+
@import '../../scss/font-settings';
|
|
6
|
+
@import '../../scss/screen-reader';
|
|
7
7
|
@import '../../scss/supernova/styles/colors';
|
|
8
8
|
|
|
9
9
|
$dark-mode-disabled-transparrent: #ffffffb3;
|
|
10
10
|
$with-icons: // icon-class, size-class, padding-left, padding-right, padding-left desktop, padding-right desktop, svg-margin-left, svg-margin-right, svg-margin-left desktop, svg-margin-right desktop
|
|
11
|
-
'left-icon' 'normal'
|
|
12
|
-
|
|
13
|
-
'
|
|
14
|
-
|
|
15
|
-
'
|
|
16
|
-
|
|
17
|
-
'
|
|
18
|
-
|
|
19
|
-
'arrow' 'normal' spacers.getSpacer(s) spacers.getSpacer(xs) spacers.getSpacer(m) spacers.getSpacer(xs) spacers.getSpacer(m) 0
|
|
20
|
-
spacers.getSpacer(l) 0,
|
|
21
|
-
'arrow' 'large' spacers.getSpacer(m) spacers.getSpacer(xs) spacers.getSpacer(l) spacers.getSpacer(xs) spacers.getSpacer(l) 0
|
|
22
|
-
spacers.getSpacer(xl) 0,
|
|
23
|
-
'arrow--both-icons' 'normal' 0 0 0 0 spacers.getSpacer(s) 0 spacers.getSpacer(m) 0,
|
|
24
|
-
'arrow--both-icons' 'large' 0 0 0 0 spacers.getSpacer(m) 0 spacers.getSpacer(l) 0,
|
|
11
|
+
'left-icon' 'normal' getSpacer(xs) getSpacer(s) getSpacer(xs) getSpacer(m) 0 getSpacer(3xs) 0 getSpacer(2xs),
|
|
12
|
+
'right-icon' 'normal' getSpacer(s) getSpacer(xs) getSpacer(m) getSpacer(xs) getSpacer(3xs) 0 getSpacer(2xs) 0,
|
|
13
|
+
'left-icon' 'large' getSpacer(xs) getSpacer(m) getSpacer(s) getSpacer(l) 0 getSpacer(2xs) 0 getSpacer(xs),
|
|
14
|
+
'right-icon' 'large' getSpacer(m) getSpacer(xs) getSpacer(l) getSpacer(s) getSpacer(2xs) 0 getSpacer(xs) 0,
|
|
15
|
+
'arrow' 'normal' getSpacer(s) getSpacer(xs) getSpacer(m) getSpacer(xs) getSpacer(m) 0 getSpacer(l) 0,
|
|
16
|
+
'arrow' 'large' getSpacer(m) getSpacer(xs) getSpacer(l) getSpacer(xs) getSpacer(l) 0 getSpacer(xl) 0,
|
|
17
|
+
'arrow--both-icons' 'normal' 0 0 0 0 getSpacer(s) 0 getSpacer(m) 0,
|
|
18
|
+
'arrow--both-icons' 'large' 0 0 0 0 getSpacer(m) 0 getSpacer(l) 0,
|
|
25
19
|
'only-icon' 'normal' 0.062rem 0.062rem 0.375rem 0.375rem 0 0 0 0,
|
|
26
|
-
'only-icon' 'large' 0.312rem 0.312rem
|
|
27
|
-
'both-icons' 'normal'
|
|
28
|
-
'both-icons' 'large'
|
|
20
|
+
'only-icon' 'large' 0.312rem 0.312rem getSpacer(3xs) getSpacer(3xs) 0 0 0 0,
|
|
21
|
+
'both-icons' 'normal' getSpacer(xs) getSpacer(xs) getSpacer(xs) getSpacer(xs) 0 0 0 0,
|
|
22
|
+
'both-icons' 'large' getSpacer(xs) getSpacer(xs) getSpacer(xs) getSpacer(xs) 0 0 0 0;
|
|
29
23
|
|
|
30
24
|
// Brukes til å aktivere hover styling uten at button hovres
|
|
31
25
|
@mixin outline-borderless-hover {
|
|
@@ -40,11 +34,11 @@ $with-icons: // icon-class, size-class, padding-left, padding-right, padding-lef
|
|
|
40
34
|
}
|
|
41
35
|
|
|
42
36
|
@mixin focus-shadow {
|
|
43
|
-
box-shadow: 0 0 0
|
|
37
|
+
box-shadow: 0 0 0 getSpacer(3xs) $black;
|
|
44
38
|
}
|
|
45
39
|
|
|
46
40
|
@mixin focus-shadow-on-dark {
|
|
47
|
-
box-shadow: 0 0 0
|
|
41
|
+
box-shadow: 0 0 0 getSpacer(3xs) $white;
|
|
48
42
|
}
|
|
49
43
|
|
|
50
44
|
@mixin outline-borderless-background($background-color, $hover-background-color) {
|
|
@@ -60,18 +54,18 @@ $with-icons: // icon-class, size-class, padding-left, padding-right, padding-lef
|
|
|
60
54
|
}
|
|
61
55
|
|
|
62
56
|
@mixin outline($ouline-color, $hover-outline-color) {
|
|
63
|
-
outline:
|
|
64
|
-
outline-offset:
|
|
57
|
+
outline: getSpacer(4xs) solid $ouline-color;
|
|
58
|
+
outline-offset: getSpacer(4xs) * -1;
|
|
65
59
|
|
|
66
60
|
&:hover {
|
|
67
61
|
box-shadow: none;
|
|
68
62
|
}
|
|
69
63
|
|
|
70
64
|
:disabled > & {
|
|
71
|
-
outline-color:
|
|
65
|
+
outline-color: $neutral700;
|
|
72
66
|
|
|
73
67
|
@media (min-width: map.get($grid-breakpoints, md)) {
|
|
74
|
-
outline-color:
|
|
68
|
+
outline-color: $neutral500;
|
|
75
69
|
}
|
|
76
70
|
}
|
|
77
71
|
}
|
|
@@ -85,13 +79,13 @@ $with-icons: // icon-class, size-class, padding-left, padding-right, padding-lef
|
|
|
85
79
|
|
|
86
80
|
:disabled > & {
|
|
87
81
|
@media (min-width: map.get($grid-breakpoints, md)) {
|
|
88
|
-
color:
|
|
82
|
+
color: $neutral700;
|
|
89
83
|
}
|
|
90
84
|
}
|
|
91
85
|
}
|
|
92
86
|
|
|
93
87
|
@mixin fill-on-dark($background-color) {
|
|
94
|
-
background-color:
|
|
88
|
+
background-color: $white;
|
|
95
89
|
|
|
96
90
|
&:hover {
|
|
97
91
|
box-shadow: none;
|
|
@@ -108,7 +102,7 @@ $with-icons: // icon-class, size-class, padding-left, padding-right, padding-lef
|
|
|
108
102
|
&:hover {
|
|
109
103
|
@include focus-shadow-on-dark;
|
|
110
104
|
|
|
111
|
-
background-color:
|
|
105
|
+
background-color: $white;
|
|
112
106
|
}
|
|
113
107
|
}
|
|
114
108
|
|
|
@@ -122,7 +116,7 @@ $with-icons: // icon-class, size-class, padding-left, padding-right, padding-lef
|
|
|
122
116
|
color: $color;
|
|
123
117
|
|
|
124
118
|
:disabled > & {
|
|
125
|
-
color:
|
|
119
|
+
color: $neutral700;
|
|
126
120
|
}
|
|
127
121
|
}
|
|
128
122
|
|
|
@@ -131,7 +125,7 @@ $with-icons: // icon-class, size-class, padding-left, padding-right, padding-lef
|
|
|
131
125
|
@include fill-on-dark(var(--color-action-background-ondark-hover));
|
|
132
126
|
}
|
|
133
127
|
&--on-dark#{&}--destructive {
|
|
134
|
-
@include fill-on-dark(
|
|
128
|
+
@include fill-on-dark($cherry50);
|
|
135
129
|
}
|
|
136
130
|
&--on-dark#{&}--outline,
|
|
137
131
|
&--on-dark#{&}--borderless,
|
|
@@ -140,11 +134,11 @@ $with-icons: // icon-class, size-class, padding-left, padding-right, padding-lef
|
|
|
140
134
|
background-color: transparent;
|
|
141
135
|
|
|
142
136
|
&:hover {
|
|
143
|
-
background-color:
|
|
137
|
+
background-color: $inverted-hover;
|
|
144
138
|
}
|
|
145
139
|
}
|
|
146
140
|
&--on-dark#{&}--outline {
|
|
147
|
-
outline-color:
|
|
141
|
+
outline-color: $white;
|
|
148
142
|
|
|
149
143
|
:disabled > & {
|
|
150
144
|
@media (min-width: map.get($grid-breakpoints, md)) {
|
|
@@ -159,14 +153,14 @@ $with-icons: // icon-class, size-class, padding-left, padding-right, padding-lef
|
|
|
159
153
|
}
|
|
160
154
|
|
|
161
155
|
&--on-dark &__text {
|
|
162
|
-
@include on-dark-text(
|
|
156
|
+
@include on-dark-text($blueberry600);
|
|
163
157
|
}
|
|
164
158
|
&--on-dark#{&}--destructive &__text {
|
|
165
|
-
@include on-dark-text(
|
|
159
|
+
@include on-dark-text($cherry600);
|
|
166
160
|
}
|
|
167
161
|
&--on-dark#{&}--outline &__text,
|
|
168
162
|
&--on-dark#{&}--borderless &__text {
|
|
169
|
-
color:
|
|
163
|
+
color: $white;
|
|
170
164
|
|
|
171
165
|
:disabled > & {
|
|
172
166
|
@media (min-width: map.get($grid-breakpoints, md)) {
|
|
@@ -201,9 +195,9 @@ $with-icons: // icon-class, size-class, padding-left, padding-right, padding-lef
|
|
|
201
195
|
|
|
202
196
|
.button {
|
|
203
197
|
display: inline-flex;
|
|
204
|
-
background-color:
|
|
205
|
-
padding: 0
|
|
206
|
-
font-size: font-
|
|
198
|
+
background-color: $blueberry500;
|
|
199
|
+
padding: 0 getSpacer(m);
|
|
200
|
+
font-size: $font-size-sm;
|
|
207
201
|
font-weight: 600;
|
|
208
202
|
font-family: inherit;
|
|
209
203
|
line-height: 1.375rem;
|
|
@@ -217,37 +211,37 @@ $with-icons: // icon-class, size-class, padding-left, padding-right, padding-lef
|
|
|
217
211
|
letter-spacing: unset;
|
|
218
212
|
|
|
219
213
|
&:hover {
|
|
220
|
-
background-color:
|
|
221
|
-
box-shadow: 0 0 0
|
|
214
|
+
background-color: $blueberry700;
|
|
215
|
+
box-shadow: 0 0 0 getSpacer(3xs) $blueberry700;
|
|
222
216
|
}
|
|
223
217
|
|
|
224
218
|
:disabled > & {
|
|
225
219
|
pointer-events: none;
|
|
226
|
-
outline:
|
|
227
|
-
outline-offset:
|
|
228
|
-
background-color:
|
|
220
|
+
outline: getSpacer(4xs) dashed $neutral700;
|
|
221
|
+
outline-offset: getSpacer(4xs) * -1;
|
|
222
|
+
background-color: $neutral200;
|
|
229
223
|
}
|
|
230
224
|
|
|
231
225
|
:disabled > & &__text {
|
|
232
|
-
color:
|
|
226
|
+
color: $neutral800;
|
|
233
227
|
}
|
|
234
228
|
|
|
235
229
|
@media (min-width: map.get($grid-breakpoints, md)) {
|
|
236
230
|
min-height: 3.125rem;
|
|
237
|
-
padding: 0
|
|
238
|
-
font-size: font-
|
|
231
|
+
padding: 0 getSpacer(l);
|
|
232
|
+
font-size: $font-size-md;
|
|
239
233
|
line-height: 1.5rem;
|
|
240
234
|
}
|
|
241
235
|
|
|
242
236
|
&--large {
|
|
243
237
|
min-height: 3.5rem;
|
|
244
|
-
padding: 0
|
|
238
|
+
padding: 0 getSpacer(l);
|
|
245
239
|
font-size: 1.3125rem;
|
|
246
240
|
|
|
247
241
|
@media (min-width: map.get($grid-breakpoints, md)) {
|
|
248
242
|
min-height: 4.5rem;
|
|
249
|
-
padding: 0
|
|
250
|
-
font-size: font-
|
|
243
|
+
padding: 0 getSpacer(xl);
|
|
244
|
+
font-size: $font-size-lg;
|
|
251
245
|
line-height: 1.5rem;
|
|
252
246
|
}
|
|
253
247
|
}
|
|
@@ -277,11 +271,11 @@ $with-icons: // icon-class, size-class, padding-left, padding-right, padding-lef
|
|
|
277
271
|
}
|
|
278
272
|
|
|
279
273
|
&--destructive {
|
|
280
|
-
background-color:
|
|
274
|
+
background-color: $cherry500;
|
|
281
275
|
|
|
282
276
|
&:hover {
|
|
283
|
-
background-color:
|
|
284
|
-
box-shadow: 0 0 0
|
|
277
|
+
background-color: $cherry700;
|
|
278
|
+
box-shadow: 0 0 0 getSpacer(3xs) $cherry700;
|
|
285
279
|
}
|
|
286
280
|
}
|
|
287
281
|
|
|
@@ -291,19 +285,19 @@ $with-icons: // icon-class, size-class, padding-left, padding-right, padding-lef
|
|
|
291
285
|
}
|
|
292
286
|
&--outline#{&}--destructive,
|
|
293
287
|
&--borderless#{&}--destructive {
|
|
294
|
-
@include outline-borderless-background(transparent,
|
|
288
|
+
@include outline-borderless-background(transparent, $cherry50);
|
|
295
289
|
}
|
|
296
290
|
|
|
297
291
|
&--outline {
|
|
298
|
-
@include outline(
|
|
292
|
+
@include outline($blueberry700, $blueberry50);
|
|
299
293
|
}
|
|
300
294
|
&--outline#{&}--destructive {
|
|
301
|
-
@include outline(
|
|
295
|
+
@include outline($cherry700, $cherry50);
|
|
302
296
|
}
|
|
303
297
|
|
|
304
298
|
/* stylelint-disable-next-line */
|
|
305
299
|
&--borderless:not(.button--only-icon) {
|
|
306
|
-
padding: 0
|
|
300
|
+
padding: 0 getSpacer(3xs);
|
|
307
301
|
}
|
|
308
302
|
|
|
309
303
|
/* stylelint-disable-next-line */
|
|
@@ -329,7 +323,7 @@ $with-icons: // icon-class, size-class, padding-left, padding-right, padding-lef
|
|
|
329
323
|
|
|
330
324
|
/* stylelint-disable-next-line */
|
|
331
325
|
&__text {
|
|
332
|
-
color:
|
|
326
|
+
color: $white;
|
|
333
327
|
margin: 0 auto 0 0;
|
|
334
328
|
position: relative;
|
|
335
329
|
display: flex;
|
|
@@ -362,7 +356,7 @@ $with-icons: // icon-class, size-class, padding-left, padding-right, padding-lef
|
|
|
362
356
|
}
|
|
363
357
|
&--outline#{&}--destructive &__text,
|
|
364
358
|
&--borderless#{&}--destructive &__text {
|
|
365
|
-
@include text-color(
|
|
359
|
+
@include text-color($cherry600, $cherry700);
|
|
366
360
|
}
|
|
367
361
|
|
|
368
362
|
/* stylelint-disable-next-line */
|
|
@@ -373,8 +367,8 @@ $with-icons: // icon-class, size-class, padding-left, padding-right, padding-lef
|
|
|
373
367
|
@include on-dark;
|
|
374
368
|
|
|
375
369
|
@include tiny-screens-media-query {
|
|
376
|
-
min-height:
|
|
377
|
-
padding: 0
|
|
370
|
+
min-height: getSpacer(l);
|
|
371
|
+
padding: 0 getSpacer(xs);
|
|
378
372
|
}
|
|
379
373
|
}
|
|
380
374
|
|
|
@@ -387,13 +381,13 @@ $with-icons: // icon-class, size-class, padding-left, padding-right, padding-lef
|
|
|
387
381
|
|
|
388
382
|
&__line {
|
|
389
383
|
display: block;
|
|
390
|
-
border-bottom:
|
|
384
|
+
border-bottom: getSpacer(4xs) dashed $neutral500;
|
|
391
385
|
transform-origin: top left;
|
|
392
386
|
transform: rotate(37.4deg);
|
|
393
387
|
}
|
|
394
388
|
|
|
395
389
|
&--on-dark &__line {
|
|
396
|
-
border-color:
|
|
390
|
+
border-color: $white;
|
|
397
391
|
|
|
398
392
|
@media (min-width: map.get($grid-breakpoints, md)) {
|
|
399
393
|
border-color: $dark-mode-disabled-transparrent;
|