@siemens/element-theme 51.0.0-rc.5 → 51.0.0-rc.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/package.json +1 -1
  2. package/src/styles/_accessibility.scss +4 -2
  3. package/src/styles/_reboot-shadow-dom.scss +5 -0
  4. package/src/styles/_root-font-size.scss +4 -2
  5. package/src/styles/_selectors.scss +3 -0
  6. package/src/styles/_themes.scss +15 -3
  7. package/src/styles/_variables.scss +1 -0
  8. package/src/styles/bootstrap/_alert.scss +19 -19
  9. package/src/styles/bootstrap/_badges.scss +38 -38
  10. package/src/styles/bootstrap/_button-group.scss +9 -8
  11. package/src/styles/bootstrap/_buttons.scss +83 -82
  12. package/src/styles/bootstrap/_card.scss +13 -14
  13. package/src/styles/bootstrap/_dropdowns.scss +6 -6
  14. package/src/styles/bootstrap/_list-group.scss +13 -13
  15. package/src/styles/bootstrap/_nav.scss +17 -8
  16. package/src/styles/bootstrap/_pagination.scss +3 -2
  17. package/src/styles/bootstrap/_reboot.scss +8 -2
  18. package/src/styles/bootstrap/_root.scss +2 -1
  19. package/src/styles/bootstrap/_tables.scss +2 -2
  20. package/src/styles/bootstrap/_type.scss +64 -2
  21. package/src/styles/bootstrap/_utilities.scss +45 -45
  22. package/src/styles/bootstrap/_variables.scss +77 -75
  23. package/src/styles/bootstrap/forms/_form-check.scss +34 -62
  24. package/src/styles/bootstrap/forms/_form-control.scss +15 -15
  25. package/src/styles/bootstrap/forms/_form-file.scss +7 -7
  26. package/src/styles/bootstrap/forms/_form-layout.scss +36 -0
  27. package/src/styles/bootstrap/forms/_form-range.scss +13 -13
  28. package/src/styles/bootstrap/mixins/_form-layout.scss +3 -1
  29. package/src/styles/components/_application-header.scss +23 -22
  30. package/src/styles/components/_datatable.scss +29 -29
  31. package/src/styles/components/_drag_drop.scss +6 -5
  32. package/src/styles/components/_layout.scss +14 -1
  33. package/src/styles/components/_links.scss +2 -2
  34. package/src/styles/components/_list-item.scss +7 -7
  35. package/src/styles/components/_markdown.scss +28 -14
  36. package/src/styles/components/_pills.scss +3 -3
  37. package/src/styles/components/_scrollbar.scss +6 -5
  38. package/src/styles/components/_skeleton.scss +4 -3
  39. package/src/styles/components/_switch.scss +12 -14
  40. package/src/styles/components/_widgets.scss +1 -1
  41. package/src/styles/variables/_focus.scss +4 -3
  42. package/src/styles/variables/_system-tokens.scss +180 -0
  43. package/src/styles/variables/_typography.scss +53 -18
  44. package/src/theme/_theme-element.scss +362 -2
  45. package/src/theme-shadow-dom.scss +17 -0
  46. package/src/theme.scss +11 -3
@@ -1,5 +1,5 @@
1
1
  @use '../variables/focus';
2
- @use '../variables/semantic-tokens';
2
+ @use '../variables/system-tokens';
3
3
  @use '../variables/spacers';
4
4
  @use '../variables/typography';
5
5
  @use 'mixins/breakpoints';
@@ -43,56 +43,55 @@
43
43
  }
44
44
 
45
45
  &.accent-primary {
46
- border-inline-start: map.get(spacers.$spacers, 4) solid semantic-tokens.$element-ui-0;
46
+ border-inline-start: map.get(spacers.$spacers, 4) solid system-tokens.$si-sys-border-accent;
47
47
  }
48
48
 
49
49
  &.accent-inactive {
50
- border-inline-start: map.get(spacers.$spacers, 4) solid semantic-tokens.$element-ui-4;
50
+ border-inline-start: map.get(spacers.$spacers, 4) solid system-tokens.$si-sys-border-4;
51
51
  }
52
52
 
53
53
  &.accent-info {
54
- border-inline-start: map.get(spacers.$spacers, 4) solid
55
- semantic-tokens.$element-status-information;
54
+ border-inline-start: map.get(spacers.$spacers, 4) solid system-tokens.$si-sys-border-information;
56
55
  }
57
56
 
58
57
  &.accent-success {
59
- border-inline-start: map.get(spacers.$spacers, 4) solid semantic-tokens.$element-status-success;
58
+ border-inline-start: map.get(spacers.$spacers, 4) solid system-tokens.$si-sys-border-success;
60
59
  }
61
60
 
62
61
  &.accent-warning {
63
- border-inline-start: map.get(spacers.$spacers, 4) solid semantic-tokens.$element-status-warning;
62
+ border-inline-start: map.get(spacers.$spacers, 4) solid system-tokens.$si-sys-border-warning;
64
63
  }
65
64
 
66
65
  &.accent-caution {
67
- border-inline-start: map.get(spacers.$spacers, 4) solid semantic-tokens.$element-status-caution;
66
+ border-inline-start: map.get(spacers.$spacers, 4) solid system-tokens.$si-sys-border-caution;
68
67
  }
69
68
 
70
69
  &.accent-danger {
71
- border-inline-start: map.get(spacers.$spacers, 4) solid semantic-tokens.$element-status-danger;
70
+ border-inline-start: map.get(spacers.$spacers, 4) solid system-tokens.$si-sys-border-danger;
72
71
  }
73
72
 
74
73
  &.accent-critical {
75
- border-inline-start: map.get(spacers.$spacers, 4) solid semantic-tokens.$element-status-critical;
74
+ border-inline-start: map.get(spacers.$spacers, 4) solid system-tokens.$si-sys-border-critical;
76
75
  }
77
76
 
78
77
  &.action-card:not(:disabled) {
79
78
  &:hover {
80
79
  &,
81
80
  .card-footer {
82
- background-color: semantic-tokens.$element-base-1-hover;
81
+ background-color: system-tokens.$si-sys-background-hover;
83
82
  }
84
83
  }
85
84
 
86
85
  &:active {
87
86
  &,
88
87
  .card-footer {
89
- background-color: semantic-tokens.$element-base-1-selected;
88
+ background-color: system-tokens.$si-sys-background-selected;
90
89
  }
91
90
  }
92
91
  }
93
92
 
94
93
  &.selected {
95
- box-shadow: 0 0 0 1px semantic-tokens.$element-ui-0;
94
+ box-shadow: 0 0 0 1px system-tokens.$si-sys-border-accent-active;
96
95
  }
97
96
 
98
97
  &:focus-visible {
@@ -101,7 +100,7 @@
101
100
 
102
101
  &.card-outline {
103
102
  background-color: transparent;
104
- box-shadow: inset 0 0 0 1px semantic-tokens.$element-ui-4;
103
+ box-shadow: inset 0 0 0 1px system-tokens.$si-sys-border-4;
105
104
  }
106
105
  }
107
106
 
@@ -1,5 +1,5 @@
1
1
  @use '../variables';
2
- @use '../variables/semantic-tokens';
2
+ @use '../variables/system-tokens';
3
3
  @use '../variables/spacers';
4
4
  @use '../variables/typography';
5
5
  @use '../variables/zindex';
@@ -126,15 +126,15 @@
126
126
 
127
127
  // duplicating hover styles from bootstrap. To split them from focus styles. Otherwise hover on focus elements will not work.
128
128
  &:hover {
129
- color: semantic-tokens.$element-text-primary;
130
- background-color: semantic-tokens.$element-base-1-hover;
129
+ color: system-tokens.$si-sys-text-primary;
130
+ background-color: system-tokens.$si-sys-background-hover;
131
131
  text-decoration: none;
132
132
  }
133
133
 
134
134
  // duplicating hover styles from bootstrap. To split them from focus styles. Otherwise hover on focus elements will not work.
135
135
  &:is(:active, .active) {
136
- color: var(--element-text-primary);
137
- background-color: var(--element-base-1-selected);
136
+ color: var(--si-sys-text-primary);
137
+ background-color: var(--si-sys-background-selected);
138
138
  }
139
139
 
140
140
  &:is(.disabled, :disabled) {
@@ -162,7 +162,7 @@
162
162
  // FIXME: drop when dropping si-menu-legacy
163
163
  .dropdown-item-static {
164
164
  &:is(.active, :active, :hover, :hover:focus:not(:focus-visible), :focus) {
165
- background-color: semantic-tokens.$element-base-1;
165
+ background-color: system-tokens.$si-sys-background-1;
166
166
  }
167
167
  }
168
168
 
@@ -1,7 +1,7 @@
1
1
  @use 'sass:map';
2
2
 
3
3
  @use '../variables/focus';
4
- @use '../variables/semantic-tokens';
4
+ @use '../variables/system-tokens';
5
5
  @use '../variables/typography';
6
6
  @use 'mixins/breakpoints';
7
7
  @use 'variables';
@@ -168,31 +168,31 @@
168
168
  }
169
169
 
170
170
  .list-group-item-secondary {
171
- background-color: semantic-tokens.$element-ui-4;
172
- color: semantic-tokens.$element-text-primary;
171
+ background-color: system-tokens.$si-sys-background-neutral;
172
+ color: system-tokens.$si-sys-text-primary;
173
173
  }
174
174
 
175
175
  .list-group-item-success {
176
- color: semantic-tokens.$element-text-success;
177
- background: semantic-tokens.$element-base-success;
176
+ color: system-tokens.$si-sys-text-success;
177
+ background: system-tokens.$si-sys-background-success-subtle;
178
178
  }
179
179
 
180
180
  .list-group-item-warning {
181
- color: semantic-tokens.$element-text-warning;
182
- background: semantic-tokens.$element-base-warning;
181
+ color: system-tokens.$si-sys-text-warning;
182
+ background: system-tokens.$si-sys-background-warning-subtle;
183
183
  }
184
184
 
185
185
  .list-group-item-caution {
186
- background-color: semantic-tokens.$element-base-caution;
187
- color: semantic-tokens.$element-text-caution;
186
+ background-color: system-tokens.$si-sys-background-caution-subtle;
187
+ color: system-tokens.$si-sys-text-caution;
188
188
  }
189
189
 
190
190
  .list-group-item-danger {
191
- color: semantic-tokens.$element-text-danger;
192
- background: semantic-tokens.$element-base-danger;
191
+ color: system-tokens.$si-sys-text-danger;
192
+ background: system-tokens.$si-sys-background-danger-subtle;
193
193
  }
194
194
 
195
195
  .list-group-item-info {
196
- color: semantic-tokens.$element-text-information;
197
- background: semantic-tokens.$element-base-information;
196
+ color: system-tokens.$si-sys-text-information;
197
+ background: system-tokens.$si-sys-background-information-subtle;
198
198
  }
@@ -1,5 +1,6 @@
1
- @use '../variables/semantic-tokens';
1
+ @use '../variables/system-tokens';
2
2
  @use '../variables/spacers';
3
+ @use '../variables/typography';
3
4
  @use './variables';
4
5
 
5
6
  @use 'sass:map';
@@ -16,9 +17,9 @@ $nav-tabs-min-width: 100px;
16
17
 
17
18
  .nav-link {
18
19
  &:hover {
19
- color: semantic-tokens.$element-action-secondary-text-hover;
20
- background: semantic-tokens.$element-action-secondary-hover;
21
- border-color: semantic-tokens.$element-action-secondary-border-hover;
20
+ color: system-tokens.$si-sys-text-on-accent-secondary-hover;
21
+ background: system-tokens.$si-sys-background-accent-secondary-hover;
22
+ border-color: system-tokens.$si-sys-border-accent-hover;
22
23
  }
23
24
  }
24
25
  }
@@ -56,13 +57,13 @@ $nav-tabs-min-width: 100px;
56
57
  position: absolute;
57
58
  inset-inline: 0;
58
59
  inset-block-end: 0;
59
- block-size: variables.$nav-tabs-border-width;
60
- background: semantic-tokens.$element-ui-4;
60
+ block-size: 1px;
61
+ background: system-tokens.$si-sys-border-4;
61
62
  }
62
63
 
63
64
  &:focus-visible::before {
64
65
  // because otherwise the focus is cut off
65
- background: semantic-tokens.$element-focus-default;
66
+ background: system-tokens.$si-sys-effects-focus;
66
67
  }
67
68
 
68
69
  .nav-link {
@@ -78,19 +79,27 @@ $nav-tabs-min-width: 100px;
78
79
  border-start-start-radius: variables.$btn-border-radius;
79
80
  border-start-end-radius: variables.$btn-border-radius;
80
81
  cursor: pointer;
82
+ font-weight: typography.$si-font-weight-body-lg;
81
83
 
82
84
  .badge {
83
85
  margin-inline-end: 0;
84
86
  }
85
87
 
86
88
  &.active {
87
- border-color: semantic-tokens.$element-action-secondary-border-hover;
89
+ border-color: system-tokens.$si-sys-border-accent-hover;
90
+ font-size: typography.$si-font-size-body-lg-bold;
91
+ font-weight: typography.$si-font-weight-body-lg-bold;
92
+ line-height: typography.$si-line-height-body-lg-bold;
88
93
  }
89
94
 
90
95
  &:hover {
91
96
  isolation: isolate;
92
97
  }
93
98
 
99
+ &:not(.active):hover {
100
+ color: variables.$nav-link-color;
101
+ }
102
+
94
103
  &.disabled {
95
104
  color: variables.$nav-link-disabled-color;
96
105
  background-color: transparent;
@@ -1,3 +1,4 @@
1
+ @use '../variables/system-tokens';
1
2
  @use '../variables/semantic-tokens';
2
3
  @use '../variables/spacers';
3
4
  @use '../variables/typography';
@@ -27,11 +28,11 @@ $page-button-size: 1.5rem;
27
28
  background: transparent;
28
29
  font-size: typography.$si-font-size-h5;
29
30
  font-weight: typography.$si-font-weight-h5;
30
- color: semantic-tokens.$element-text-primary;
31
+ color: system-tokens.$si-sys-text-primary;
31
32
  border: 0;
32
33
 
33
34
  &:is(.active, :hover:not(:disabled)):not(.separator) {
34
- background: semantic-tokens.$element-base-1-selected;
35
+ background: system-tokens.$si-sys-background-selected;
35
36
  }
36
37
 
37
38
  &:has(.icon) {
@@ -1,4 +1,5 @@
1
1
  @use '../variables/typography';
2
+ @use '../selectors';
2
3
  @use './variables';
3
4
 
4
5
  // stylelint-disable declaration-no-important, selector-no-qualifying-type, property-no-vendor-prefix
@@ -25,7 +26,7 @@
25
26
  // Ability to the value of the root font sizes, affecting the value of `rem`.
26
27
  // null by default, thus nothing is generated.
27
28
 
28
- :root {
29
+ #{selectors.$root} {
29
30
  @if variables.$enable-smooth-scroll {
30
31
  @media (prefers-reduced-motion: no-preference) {
31
32
  scroll-behavior: smooth;
@@ -41,7 +42,7 @@
41
42
  // 4. Change the default tap highlight to be completely transparent in iOS.
42
43
 
43
44
  // scss-docs-start reboot-body-rules
44
- body {
45
+ #{selectors.$body} {
45
46
  margin: 0; // 1
46
47
  font-family: var(--#{variables.$variable-prefix}body-font-family);
47
48
  font-size: var(--#{variables.$variable-prefix}body-font-size);
@@ -341,6 +342,11 @@ table {
341
342
  }
342
343
 
343
344
  caption {
345
+ @include typography.si-font(
346
+ typography.$si-font-size-caption,
347
+ typography.$si-line-height-caption,
348
+ typography.$si-font-weight-caption
349
+ );
344
350
  padding-block: variables.$table-cell-padding-y;
345
351
  color: variables.$table-caption-color;
346
352
  text-align: start;
@@ -1,9 +1,10 @@
1
1
  @use './variables';
2
+ @use '../selectors';
2
3
 
3
4
  @use 'sass:meta';
4
5
 
5
6
  // this is _root.scss without the automatic `to-rgb` brain damage
6
- :root {
7
+ #{selectors.$root} {
7
8
  // Note: Use `inspect` for lists so that quoted items keep the quotes.
8
9
  // See https://github.com/sass/sass/issues/2383#issuecomment-336349172
9
10
  --#{variables.$variable-prefix}font-sans-serif: #{meta.inspect(variables.$font-family-sans-serif)};
@@ -96,7 +96,7 @@
96
96
  }
97
97
 
98
98
  :is(th, td) {
99
- block-size: 64px;
99
+ block-size: calc(2lh + 2 * map.get(spacers.$spacers, 2) + 2 * map.get(spacers.$spacers, 5));
100
100
  }
101
101
  }
102
102
  }
@@ -118,7 +118,7 @@
118
118
 
119
119
  tbody {
120
120
  :is(th, td) {
121
- block-size: 48px;
121
+ block-size: calc(2lh + 2 * map.get(spacers.$spacers, 4));
122
122
  }
123
123
  }
124
124
  }
@@ -167,9 +167,7 @@ h4,
167
167
  }
168
168
 
169
169
  h5,
170
- h6,
171
170
  .h5,
172
- .h6,
173
171
  .si-h5 {
174
172
  @include typography.si-font(
175
173
  typography.$si-font-size-h5,
@@ -178,6 +176,16 @@ h6,
178
176
  );
179
177
  }
180
178
 
179
+ h6,
180
+ .h6,
181
+ .si-h6 {
182
+ @include typography.si-font(
183
+ typography.$si-font-size-h6,
184
+ typography.$si-line-height-h6,
185
+ typography.$si-font-weight-h6
186
+ );
187
+ }
188
+
181
189
  .si-body-lg {
182
190
  @include typography.si-font(
183
191
  typography.$si-font-size-body-lg,
@@ -194,6 +202,22 @@ h6,
194
202
  );
195
203
  }
196
204
 
205
+ .si-body-paragraph {
206
+ @include typography.si-font(
207
+ typography.$si-font-size-body-paragraph,
208
+ typography.$si-line-height-body-paragraph,
209
+ typography.$si-font-weight-body-paragraph
210
+ );
211
+ }
212
+
213
+ .si-body-sm {
214
+ @include typography.si-font(
215
+ typography.$si-font-size-body-sm,
216
+ typography.$si-line-height-body-sm,
217
+ typography.$si-font-weight-body-sm
218
+ );
219
+ }
220
+
197
221
  .si-caption {
198
222
  @include typography.si-font(
199
223
  typography.$si-font-size-caption,
@@ -211,6 +235,14 @@ h6,
211
235
  );
212
236
  }
213
237
 
238
+ .si-display-xxl {
239
+ @include typography.si-font(
240
+ typography.$si-font-size-display-xxl,
241
+ typography.$si-line-height-display-xxl,
242
+ typography.$si-font-weight-display-xxl
243
+ );
244
+ }
245
+
214
246
  .si-display-lg,
215
247
  .display-2 {
216
248
  @include typography.si-font(
@@ -238,6 +270,36 @@ h6,
238
270
  );
239
271
  }
240
272
 
273
+ .si-code-sm,
274
+ .si-code,
275
+ .si-code-lg {
276
+ font-family: typography.$si-font-family-mono;
277
+ }
278
+
279
+ .si-code-sm {
280
+ @include typography.si-font(
281
+ typography.$si-font-size-code-sm,
282
+ typography.$si-line-height-code-sm,
283
+ typography.$si-font-weight-code-sm
284
+ );
285
+ }
286
+
287
+ .si-code {
288
+ @include typography.si-font(
289
+ typography.$si-font-size-code,
290
+ typography.$si-line-height-code,
291
+ typography.$si-font-weight-code
292
+ );
293
+ }
294
+
295
+ .si-code-lg {
296
+ @include typography.si-font(
297
+ typography.$si-font-size-code-lg,
298
+ typography.$si-line-height-code-lg,
299
+ typography.$si-font-weight-code-lg
300
+ );
301
+ }
302
+
241
303
  .text-pre {
242
304
  white-space: pre;
243
305
  }
@@ -1,4 +1,4 @@
1
- @use '../variables/semantic-tokens';
1
+ @use '../variables/system-tokens';
2
2
  @use '../variables/utilities' as variables-utilities;
3
3
  @use 'mixins/breakpoints';
4
4
  @use 'mixins/utilities' as mixins-utilities;
@@ -36,17 +36,17 @@
36
36
  }
37
37
 
38
38
  $text-colors: (
39
- 'primary': semantic-tokens.$element-text-active,
40
- 'body': semantic-tokens.$element-text-primary,
41
- 'secondary': semantic-tokens.$element-text-secondary,
42
- 'tertiary': semantic-tokens.$element-text-disabled,
43
- 'success': semantic-tokens.$element-text-success,
44
- 'info': semantic-tokens.$element-text-information,
45
- 'warning': semantic-tokens.$element-text-warning,
46
- 'caution': semantic-tokens.$element-text-caution,
47
- 'danger': semantic-tokens.$element-text-danger,
48
- 'inverse': semantic-tokens.$element-text-inverse,
49
- 'muted': semantic-tokens.$element-text-disabled
39
+ 'primary': system-tokens.$si-sys-text-accent,
40
+ 'body': system-tokens.$si-sys-text-primary,
41
+ 'secondary': system-tokens.$si-sys-text-secondary,
42
+ 'tertiary': system-tokens.$si-sys-text-disabled,
43
+ 'success': system-tokens.$si-sys-text-success,
44
+ 'info': system-tokens.$si-sys-text-information,
45
+ 'warning': system-tokens.$si-sys-text-warning,
46
+ 'caution': system-tokens.$si-sys-text-caution,
47
+ 'danger': system-tokens.$si-sys-text-danger,
48
+ 'inverse': system-tokens.$si-sys-text-inverse,
49
+ 'muted': system-tokens.$si-sys-text-disabled
50
50
  ) !default;
51
51
 
52
52
  @each $color, $value in $text-colors {
@@ -56,26 +56,26 @@ $text-colors: (
56
56
  }
57
57
 
58
58
  $background-colors: (
59
- 'primary': semantic-tokens.$element-ui-0,
60
- 'secondary': semantic-tokens.$element-text-secondary,
61
- 'tertiary': semantic-tokens.$element-text-disabled,
62
- 'success': semantic-tokens.$element-status-success,
63
- 'info': semantic-tokens.$element-status-information,
64
- 'warning': semantic-tokens.$element-status-warning,
65
- 'danger': semantic-tokens.$element-status-danger,
66
- 'base-0': semantic-tokens.$element-base-0,
67
- 'base-1': semantic-tokens.$element-base-1,
68
- 'base-2': semantic-tokens.$element-base-2,
69
- 'base-3': semantic-tokens.$element-base-3,
70
- 'base-4': semantic-tokens.$element-base-4,
71
- 'base-success': semantic-tokens.$element-base-success,
72
- 'base-info': semantic-tokens.$element-base-information,
73
- 'base-caution': semantic-tokens.$element-base-caution,
74
- 'base-warning': semantic-tokens.$element-base-warning,
75
- 'base-danger': semantic-tokens.$element-base-danger,
76
- 'base-critical': semantic-tokens.$element-base-critical,
77
- 'base-translucent-1': semantic-tokens.$element-base-translucent-1,
78
- 'base-translucent-2': semantic-tokens.$element-base-translucent-2
59
+ 'primary': system-tokens.$si-sys-background-accent,
60
+ 'secondary': system-tokens.$si-sys-text-secondary,
61
+ 'tertiary': system-tokens.$si-sys-text-disabled,
62
+ 'success': system-tokens.$si-sys-background-success,
63
+ 'info': system-tokens.$si-sys-background-information,
64
+ 'warning': system-tokens.$si-sys-background-warning,
65
+ 'danger': system-tokens.$si-sys-background-danger,
66
+ 'base-0': system-tokens.$si-sys-background-0,
67
+ 'base-1': system-tokens.$si-sys-background-1,
68
+ 'base-2': system-tokens.$si-sys-background-2,
69
+ 'base-3': system-tokens.$si-sys-background-3,
70
+ 'base-4': system-tokens.$si-sys-background-4,
71
+ 'base-success': system-tokens.$si-sys-background-success-subtle,
72
+ 'base-info': system-tokens.$si-sys-background-information-subtle,
73
+ 'base-caution': system-tokens.$si-sys-background-caution-subtle,
74
+ 'base-warning': system-tokens.$si-sys-background-warning-subtle,
75
+ 'base-danger': system-tokens.$si-sys-background-danger-subtle,
76
+ 'base-critical': system-tokens.$si-sys-background-critical-subtle,
77
+ 'base-translucent-1': system-tokens.$si-sys-effects-backdrop,
78
+ 'base-translucent-2': system-tokens.$si-sys-background-inverse
79
79
  ) !default;
80
80
 
81
81
  @each $color, $value in $background-colors {
@@ -85,19 +85,19 @@ $background-colors: (
85
85
  }
86
86
 
87
87
  $status-colors: (
88
- 'success': semantic-tokens.$element-status-success,
89
- 'info': semantic-tokens.$element-status-information,
90
- 'caution': semantic-tokens.$element-status-caution,
91
- 'warning': semantic-tokens.$element-status-warning,
92
- 'danger': semantic-tokens.$element-status-danger,
93
- 'critical': semantic-tokens.$element-status-critical,
94
- 'neutral': semantic-tokens.$element-ui-4,
95
- 'success-contrast': semantic-tokens.$element-status-success-contrast,
96
- 'info-contrast': semantic-tokens.$element-status-information-contrast,
97
- 'caution-contrast': semantic-tokens.$element-status-caution-contrast,
98
- 'warning-contrast': semantic-tokens.$element-status-warning-contrast,
99
- 'danger-contrast': semantic-tokens.$element-status-danger-contrast,
100
- 'critical-contrast': semantic-tokens.$element-status-critical-contrast
88
+ 'success': system-tokens.$si-sys-background-success,
89
+ 'info': system-tokens.$si-sys-background-information,
90
+ 'caution': system-tokens.$si-sys-background-caution,
91
+ 'warning': system-tokens.$si-sys-background-warning,
92
+ 'danger': system-tokens.$si-sys-background-danger,
93
+ 'critical': system-tokens.$si-sys-background-critical,
94
+ 'neutral': system-tokens.$si-sys-background-neutral,
95
+ 'success-contrast': system-tokens.$si-sys-text-on-success,
96
+ 'info-contrast': system-tokens.$si-sys-text-on-information,
97
+ 'caution-contrast': system-tokens.$si-sys-text-on-caution,
98
+ 'warning-contrast': system-tokens.$si-sys-text-on-warning,
99
+ 'danger-contrast': system-tokens.$si-sys-text-on-danger,
100
+ 'critical-contrast': system-tokens.$si-sys-text-on-critical
101
101
  ) !default;
102
102
 
103
103
  @each $color, $value in $status-colors {