@siemens/element-theme 51.5.0 → 51.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/package.json +1 -1
  2. package/src/styles/_density.scss +43 -130
  3. package/src/styles/_variables.scss +2 -1
  4. package/src/styles/bootstrap/_alert.scss +22 -23
  5. package/src/styles/bootstrap/_badges.scss +42 -43
  6. package/src/styles/bootstrap/_button-group.scss +14 -15
  7. package/src/styles/bootstrap/_buttons.scss +70 -71
  8. package/src/styles/bootstrap/_card.scss +16 -16
  9. package/src/styles/bootstrap/_dropdowns.scss +6 -7
  10. package/src/styles/bootstrap/_functions.scss +4 -8
  11. package/src/styles/bootstrap/_images.scss +2 -2
  12. package/src/styles/bootstrap/_list-group.scss +14 -15
  13. package/src/styles/bootstrap/_modals.scss +4 -9
  14. package/src/styles/bootstrap/_nav.scss +12 -14
  15. package/src/styles/bootstrap/_pagination.scss +6 -8
  16. package/src/styles/bootstrap/_popovers.scss +4 -5
  17. package/src/styles/bootstrap/_reboot.scss +4 -3
  18. package/src/styles/bootstrap/_root.scss +11 -0
  19. package/src/styles/bootstrap/_tables.scss +4 -4
  20. package/src/styles/bootstrap/_type.scss +92 -91
  21. package/src/styles/bootstrap/_utilities.scss +39 -39
  22. package/src/styles/bootstrap/_variables.scss +129 -126
  23. package/src/styles/bootstrap/forms/_form-check.scss +22 -23
  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-range.scss +13 -13
  27. package/src/styles/bootstrap/forms/_validation.scss +2 -2
  28. package/src/styles/bootstrap/mixins/_badge-text.scss +2 -1
  29. package/src/styles/components/_application-header.scss +24 -25
  30. package/src/styles/components/_datatable.scss +19 -21
  31. package/src/styles/components/_drag_drop.scss +1 -1
  32. package/src/styles/components/_elevation.scss +5 -5
  33. package/src/styles/components/_layout.scss +9 -9
  34. package/src/styles/components/_links.scss +2 -2
  35. package/src/styles/components/_list-item.scss +8 -8
  36. package/src/styles/components/_markdown.scss +1 -1
  37. package/src/styles/components/_scrollbar.scss +4 -4
  38. package/src/styles/components/_search-bar.scss +10 -10
  39. package/src/styles/components/_skeleton.scss +5 -6
  40. package/src/styles/components/_widgets.scss +6 -3
  41. package/src/styles/mixins/_utilities.scss +87 -87
  42. package/src/styles/variables/_elevation.scss +9 -9
  43. package/src/styles/variables/_focus.scss +20 -19
  44. package/src/styles/variables/_si-sys-variables-compat.scss +10 -0
  45. package/src/styles/variables/_sizing.scss +22 -20
  46. package/src/styles/variables/_spacers.scss +29 -28
  47. package/src/styles/variables/_system-tokens.scss +2 -202
  48. package/src/styles/variables/_typography.scss +97 -95
  49. package/src/styles/variables/_utilities.scss +56 -56
  50. package/src/styles/variables/si-sys-sizing.compact.map-flat.scss +86 -0
  51. package/src/styles/variables/si-sys-sizing.default.map-flat.scss +86 -0
  52. package/src/styles/variables/si-sys-typography.compact.map-flat.scss +140 -0
  53. package/src/styles/variables/si-sys-typography.default.map-flat.scss +140 -0
  54. package/src/styles/variables/si-sys-variables.scss +400 -0
@@ -1,8 +1,7 @@
1
1
  @use '../variables';
2
2
  @use '../variables/focus';
3
- @use '../variables/semantic-tokens';
4
3
  @use '../variables/spacers';
5
- @use '../variables/system-tokens';
4
+ @use '../variables/si-sys-variables';
6
5
  @use '../variables/typography';
7
6
  @use './mixins/transition';
8
7
  @use './variables' as bootstrap-variables;
@@ -13,7 +12,7 @@ $btn-icon-font-size: variables.$si-icon-font-size;
13
12
 
14
13
  // there are some non .btn buttons used in element
15
14
  button {
16
- color: system-tokens.$si-sys-color-text-primary;
15
+ color: si-sys-variables.$si-sys-color-text-primary;
17
16
  }
18
17
 
19
18
  :is(.btn, .btn-close) {
@@ -41,7 +40,7 @@ button {
41
40
  &:is(:disabled, .disabled),
42
41
  fieldset:disabled & {
43
42
  pointer-events: none;
44
- opacity: semantic-tokens.$element-action-disabled-opacity;
43
+ opacity: si-sys-variables.$si-sys-color-effects-disable-opacity;
45
44
  }
46
45
 
47
46
  // If the case of a link looking like a button <a class="btn btn-primary" href="#" target="_blank">Go Back</a>,
@@ -74,55 +73,55 @@ button {
74
73
  }
75
74
 
76
75
  .btn-primary {
77
- --btn-bg: #{system-tokens.$si-sys-color-background-accent};
78
- --btn-bg-hover: #{system-tokens.$si-sys-color-background-accent-hover};
79
- --btn-bg-active: #{system-tokens.$si-sys-color-background-accent-active};
80
- --btn-color: #{system-tokens.$si-sys-color-text-on-accent};
81
- --btn-color-hover: #{system-tokens.$si-sys-color-text-on-accent};
82
- --btn-color-active: #{system-tokens.$si-sys-color-text-on-accent};
76
+ --btn-bg: #{si-sys-variables.$si-sys-color-background-accent};
77
+ --btn-bg-hover: #{si-sys-variables.$si-sys-color-background-accent-hover};
78
+ --btn-bg-active: #{si-sys-variables.$si-sys-color-background-accent-active};
79
+ --btn-color: #{si-sys-variables.$si-sys-color-text-on-accent};
80
+ --btn-color-hover: #{si-sys-variables.$si-sys-color-text-on-accent};
81
+ --btn-color-active: #{si-sys-variables.$si-sys-color-text-on-accent};
83
82
  }
84
83
 
85
84
  .btn-danger {
86
- --btn-bg: #{system-tokens.$si-sys-color-background-danger};
87
- --btn-bg-hover: #{system-tokens.$si-sys-color-background-danger-hover};
88
- --btn-bg-active: #{system-tokens.$si-sys-color-background-danger-active};
89
- --btn-color: #{system-tokens.$si-sys-color-text-on-danger};
90
- --btn-color-hover: #{system-tokens.$si-sys-color-text-on-danger};
91
- --btn-color-active: #{system-tokens.$si-sys-color-text-on-danger};
85
+ --btn-bg: #{si-sys-variables.$si-sys-color-background-danger};
86
+ --btn-bg-hover: #{si-sys-variables.$si-sys-color-background-danger-hover};
87
+ --btn-bg-active: #{si-sys-variables.$si-sys-color-background-danger-active};
88
+ --btn-color: #{si-sys-variables.$si-sys-color-text-on-danger};
89
+ --btn-color-hover: #{si-sys-variables.$si-sys-color-text-on-danger};
90
+ --btn-color-active: #{si-sys-variables.$si-sys-color-text-on-danger};
92
91
  }
93
92
 
94
93
  .btn-warning {
95
- --btn-bg: #{system-tokens.$si-sys-color-background-warning};
96
- --btn-bg-hover: #{system-tokens.$si-sys-color-background-warning-hover};
97
- --btn-bg-active: #{system-tokens.$si-sys-color-background-warning-active};
98
- --btn-color: #{system-tokens.$si-sys-color-text-on-warning};
99
- --btn-color-hover: #{system-tokens.$si-sys-color-text-on-warning};
100
- --btn-color-active: #{system-tokens.$si-sys-color-text-on-warning};
94
+ --btn-bg: #{si-sys-variables.$si-sys-color-background-warning};
95
+ --btn-bg-hover: #{si-sys-variables.$si-sys-color-background-warning-hover};
96
+ --btn-bg-active: #{si-sys-variables.$si-sys-color-background-warning-active};
97
+ --btn-color: #{si-sys-variables.$si-sys-color-text-on-warning};
98
+ --btn-color-hover: #{si-sys-variables.$si-sys-color-text-on-warning};
99
+ --btn-color-active: #{si-sys-variables.$si-sys-color-text-on-warning};
101
100
  }
102
101
 
103
102
  .btn-ghost {
104
- --btn-bg: #{system-tokens.$si-sys-color-background-1};
105
- --btn-bg-hover: #{system-tokens.$si-sys-color-background-hover};
106
- --btn-bg-active: #{system-tokens.$si-sys-color-background-active};
107
- --btn-color: #{system-tokens.$si-sys-color-text-primary};
108
- --btn-color-hover: #{system-tokens.$si-sys-color-text-primary};
109
- --btn-color-active: #{system-tokens.$si-sys-color-text-primary};
103
+ --btn-bg: #{si-sys-variables.$si-sys-color-background-1};
104
+ --btn-bg-hover: #{si-sys-variables.$si-sys-color-background-hover};
105
+ --btn-bg-active: #{si-sys-variables.$si-sys-color-background-active};
106
+ --btn-color: #{si-sys-variables.$si-sys-color-text-primary};
107
+ --btn-color-hover: #{si-sys-variables.$si-sys-color-text-primary};
108
+ --btn-color-active: #{si-sys-variables.$si-sys-color-text-primary};
110
109
  }
111
110
 
112
111
  .btn-secondary,
113
112
  .btn-secondary-warning,
114
113
  .btn-secondary-danger,
115
114
  .btn-secondary-ghost {
116
- --btn-bg: #{system-tokens.$si-sys-color-background-accent-secondary};
117
- --btn-bg-hover: #{system-tokens.$si-sys-color-background-accent-secondary-hover};
118
- --btn-bg-active: #{system-tokens.$si-sys-color-background-accent-secondary-active};
119
- --btn-color: #{system-tokens.$si-sys-color-text-on-accent-secondary};
120
- --btn-color-hover: #{system-tokens.$si-sys-color-text-on-accent-secondary-hover};
121
- --btn-color-active: #{system-tokens.$si-sys-color-text-on-accent-secondary-active};
115
+ --btn-bg: #{si-sys-variables.$si-sys-color-background-accent-secondary};
116
+ --btn-bg-hover: #{si-sys-variables.$si-sys-color-background-accent-secondary-hover};
117
+ --btn-bg-active: #{si-sys-variables.$si-sys-color-background-accent-secondary-active};
118
+ --btn-color: #{si-sys-variables.$si-sys-color-text-on-accent-secondary};
119
+ --btn-color-hover: #{si-sys-variables.$si-sys-color-text-on-accent-secondary-hover};
120
+ --btn-color-active: #{si-sys-variables.$si-sys-color-text-on-accent-secondary-active};
122
121
  --btn-border-width: 1px;
123
- --btn-border-color: #{system-tokens.$si-sys-color-border-accent};
124
- --btn-border-color-hover: #{system-tokens.$si-sys-color-border-accent-hover};
125
- --btn-border-color-active: #{system-tokens.$si-sys-color-border-accent-active};
122
+ --btn-border-color: #{si-sys-variables.$si-sys-color-border-accent};
123
+ --btn-border-color-hover: #{si-sys-variables.$si-sys-color-border-accent-hover};
124
+ --btn-border-color-active: #{si-sys-variables.$si-sys-color-border-accent-active};
126
125
  }
127
126
 
128
127
  .btn-tertiary,
@@ -130,45 +129,45 @@ button {
130
129
  .btn-tertiary-danger,
131
130
  .btn-tertiary-ghost {
132
131
  --btn-bg: transparent;
133
- --btn-bg-hover: #{system-tokens.$si-sys-color-background-accent-secondary-hover};
134
- --btn-bg-active: #{system-tokens.$si-sys-color-background-accent-secondary-active};
135
- --btn-color: #{system-tokens.$si-sys-color-text-on-accent-secondary};
136
- --btn-color-hover: #{system-tokens.$si-sys-color-text-on-accent-secondary-hover};
137
- --btn-color-active: #{system-tokens.$si-sys-color-text-on-accent-secondary-active};
132
+ --btn-bg-hover: #{si-sys-variables.$si-sys-color-background-accent-secondary-hover};
133
+ --btn-bg-active: #{si-sys-variables.$si-sys-color-background-accent-secondary-active};
134
+ --btn-color: #{si-sys-variables.$si-sys-color-text-on-accent-secondary};
135
+ --btn-color-hover: #{si-sys-variables.$si-sys-color-text-on-accent-secondary-hover};
136
+ --btn-color-active: #{si-sys-variables.$si-sys-color-text-on-accent-secondary-active};
138
137
  }
139
138
 
140
139
  .btn-secondary-warning,
141
140
  .btn-tertiary-warning {
142
- --btn-bg-hover: #{system-tokens.$si-sys-color-background-warning-hover};
143
- --btn-bg-active: #{system-tokens.$si-sys-color-background-warning-active};
144
- --btn-color: #{system-tokens.$si-sys-color-text-on-warning-secondary};
145
- --btn-color-hover: #{system-tokens.$si-sys-color-text-on-warning};
146
- --btn-color-active: #{system-tokens.$si-sys-color-text-on-warning};
147
- --btn-border-color: #{system-tokens.$si-sys-color-border-warning-secondary};
141
+ --btn-bg-hover: #{si-sys-variables.$si-sys-color-background-warning-hover};
142
+ --btn-bg-active: #{si-sys-variables.$si-sys-color-background-warning-active};
143
+ --btn-color: #{si-sys-variables.$si-sys-color-text-on-warning-secondary};
144
+ --btn-color-hover: #{si-sys-variables.$si-sys-color-text-on-warning};
145
+ --btn-color-active: #{si-sys-variables.$si-sys-color-text-on-warning};
146
+ --btn-border-color: #{si-sys-variables.$si-sys-color-border-warning-secondary};
148
147
  --btn-border-color-hover: transparent;
149
148
  --btn-border-color-active: transparent;
150
149
  }
151
150
 
152
151
  .btn-secondary-danger,
153
152
  .btn-tertiary-danger {
154
- --btn-bg-hover: #{system-tokens.$si-sys-color-background-danger-hover};
155
- --btn-bg-active: #{system-tokens.$si-sys-color-background-danger-active};
156
- --btn-color: #{system-tokens.$si-sys-color-text-on-danger-secondary};
157
- --btn-color-hover: #{system-tokens.$si-sys-color-text-on-danger};
158
- --btn-color-active: #{system-tokens.$si-sys-color-text-on-danger};
159
- --btn-border-color: #{system-tokens.$si-sys-color-border-danger-secondary};
153
+ --btn-bg-hover: #{si-sys-variables.$si-sys-color-background-danger-hover};
154
+ --btn-bg-active: #{si-sys-variables.$si-sys-color-background-danger-active};
155
+ --btn-color: #{si-sys-variables.$si-sys-color-text-on-danger-secondary};
156
+ --btn-color-hover: #{si-sys-variables.$si-sys-color-text-on-danger};
157
+ --btn-color-active: #{si-sys-variables.$si-sys-color-text-on-danger};
158
+ --btn-border-color: #{si-sys-variables.$si-sys-color-border-danger-secondary};
160
159
  --btn-border-color-hover: transparent;
161
160
  --btn-border-color-active: transparent;
162
161
  }
163
162
 
164
163
  .btn-secondary-ghost,
165
164
  .btn-tertiary-ghost {
166
- --btn-bg-hover: #{system-tokens.$si-sys-color-background-hover};
167
- --btn-bg-active: #{system-tokens.$si-sys-color-background-active};
168
- --btn-color: #{system-tokens.$si-sys-color-text-primary};
169
- --btn-color-hover: #{system-tokens.$si-sys-color-text-primary};
170
- --btn-color-active: #{system-tokens.$si-sys-color-text-primary};
171
- --btn-border-color: #{system-tokens.$si-sys-color-border-3};
165
+ --btn-bg-hover: #{si-sys-variables.$si-sys-color-background-hover};
166
+ --btn-bg-active: #{si-sys-variables.$si-sys-color-background-active};
167
+ --btn-color: #{si-sys-variables.$si-sys-color-text-primary};
168
+ --btn-color-hover: #{si-sys-variables.$si-sys-color-text-primary};
169
+ --btn-color-active: #{si-sys-variables.$si-sys-color-text-primary};
170
+ --btn-border-color: #{si-sys-variables.$si-sys-color-border-3};
172
171
  --btn-border-color-hover: transparent;
173
172
  --btn-border-color-active: transparent;
174
173
  }
@@ -176,8 +175,8 @@ button {
176
175
  .btn-link {
177
176
  --btn-color: #{bootstrap-variables.$btn-link-color};
178
177
  --btn-color-hover: #{bootstrap-variables.$btn-link-hover-color};
179
- --btn-color-active: #{system-tokens.$si-sys-color-text-accent-active};
180
- --btn-font-weight: #{typography.$si-font-weight-body};
178
+ --btn-color-active: #{si-sys-variables.$si-sys-color-text-accent-active};
179
+ --btn-font-weight: #{si-sys-variables.$si-sys-typography-body-font-weight};
181
180
  justify-content: flex-start;
182
181
  text-decoration: bootstrap-variables.$link-decoration;
183
182
  padding: 0;
@@ -227,17 +226,17 @@ button {
227
226
  .btn-close {
228
227
  --btn-font-weight: #{typography.$si-font-weight-normal};
229
228
  --btn-bg: transparent;
230
- --btn-bg-hover: #{system-tokens.$si-sys-color-background-hover};
231
- --btn-bg-active: #{system-tokens.$si-sys-color-background-active};
232
- --btn-color: #{system-tokens.$si-sys-color-text-primary};
233
- --btn-color-active: #{system-tokens.$si-sys-color-text-primary};
229
+ --btn-bg-hover: #{si-sys-variables.$si-sys-color-background-hover};
230
+ --btn-bg-active: #{si-sys-variables.$si-sys-color-background-active};
231
+ --btn-color: #{si-sys-variables.$si-sys-color-text-primary};
232
+ --btn-color-active: #{si-sys-variables.$si-sys-color-text-primary};
234
233
 
235
234
  &.btn-tertiary {
236
- --btn-bg-hover: #{system-tokens.$si-sys-color-background-accent-secondary-hover};
237
- --btn-bg-active: #{system-tokens.$si-sys-color-background-accent-secondary-active};
238
- --btn-color: #{system-tokens.$si-sys-color-text-on-accent-secondary};
239
- --btn-color-hover: #{system-tokens.$si-sys-color-text-on-accent-secondary-hover};
240
- --btn-color-active: #{system-tokens.$si-sys-color-text-on-accent-secondary-active};
235
+ --btn-bg-hover: #{si-sys-variables.$si-sys-color-background-accent-secondary-hover};
236
+ --btn-bg-active: #{si-sys-variables.$si-sys-color-background-accent-secondary-active};
237
+ --btn-color: #{si-sys-variables.$si-sys-color-text-on-accent-secondary};
238
+ --btn-color-hover: #{si-sys-variables.$si-sys-color-text-on-accent-secondary-hover};
239
+ --btn-color-active: #{si-sys-variables.$si-sys-color-text-on-accent-secondary-active};
241
240
  }
242
241
 
243
242
  &::before {
@@ -1,5 +1,5 @@
1
1
  @use '../variables/focus';
2
- @use '../variables/system-tokens';
2
+ @use '../variables/si-sys-variables';
3
3
  @use '../variables/spacers';
4
4
  @use '../variables/typography';
5
5
  @use 'mixins/breakpoints';
@@ -44,62 +44,62 @@
44
44
 
45
45
  &.accent-primary {
46
46
  border-inline-start: map.get(spacers.$spacers-inline, 4) solid
47
- system-tokens.$si-sys-color-border-accent;
47
+ si-sys-variables.$si-sys-color-border-accent;
48
48
  }
49
49
 
50
50
  &.accent-inactive {
51
51
  border-inline-start: map.get(spacers.$spacers-inline, 4) solid
52
- system-tokens.$si-sys-color-border-4;
52
+ si-sys-variables.$si-sys-color-border-4;
53
53
  }
54
54
 
55
55
  &.accent-info {
56
56
  border-inline-start: map.get(spacers.$spacers-inline, 4) solid
57
- system-tokens.$si-sys-color-border-information;
57
+ si-sys-variables.$si-sys-color-border-information;
58
58
  }
59
59
 
60
60
  &.accent-success {
61
61
  border-inline-start: map.get(spacers.$spacers-inline, 4) solid
62
- system-tokens.$si-sys-color-border-success;
62
+ si-sys-variables.$si-sys-color-border-success;
63
63
  }
64
64
 
65
65
  &.accent-warning {
66
66
  border-inline-start: map.get(spacers.$spacers-inline, 4) solid
67
- system-tokens.$si-sys-color-border-warning;
67
+ si-sys-variables.$si-sys-color-border-warning;
68
68
  }
69
69
 
70
70
  &.accent-caution {
71
71
  border-inline-start: map.get(spacers.$spacers-inline, 4) solid
72
- system-tokens.$si-sys-color-border-caution;
72
+ si-sys-variables.$si-sys-color-border-caution;
73
73
  }
74
74
 
75
75
  &.accent-danger {
76
76
  border-inline-start: map.get(spacers.$spacers-inline, 4) solid
77
- system-tokens.$si-sys-color-border-danger;
77
+ si-sys-variables.$si-sys-color-border-danger;
78
78
  }
79
79
 
80
80
  &.accent-critical {
81
81
  border-inline-start: map.get(spacers.$spacers-inline, 4) solid
82
- system-tokens.$si-sys-color-border-critical;
82
+ si-sys-variables.$si-sys-color-border-critical;
83
83
  }
84
84
 
85
85
  &.action-card:not(:disabled) {
86
86
  &:hover {
87
87
  &,
88
88
  .card-footer {
89
- background-color: system-tokens.$si-sys-color-background-hover;
89
+ background-color: si-sys-variables.$si-sys-color-background-hover;
90
90
  }
91
91
  }
92
92
 
93
93
  &:active {
94
94
  &,
95
95
  .card-footer {
96
- background-color: system-tokens.$si-sys-color-background-active;
96
+ background-color: si-sys-variables.$si-sys-color-background-active;
97
97
  }
98
98
  }
99
99
  }
100
100
 
101
101
  &.selected {
102
- box-shadow: 0 0 0 1px system-tokens.$si-sys-color-border-accent-active;
102
+ box-shadow: 0 0 0 1px si-sys-variables.$si-sys-color-border-accent-active;
103
103
  }
104
104
 
105
105
  &:focus-visible {
@@ -108,7 +108,7 @@
108
108
 
109
109
  &.card-outline {
110
110
  background-color: transparent;
111
- box-shadow: inset 0 0 0 1px system-tokens.$si-sys-color-border-4;
111
+ box-shadow: inset 0 0 0 1px si-sys-variables.$si-sys-color-border-4;
112
112
  }
113
113
  }
114
114
 
@@ -134,9 +134,9 @@ button.card {
134
134
  color: variables.$card-cap-color;
135
135
 
136
136
  @include typography.si-font(
137
- typography.$si-font-size-h5,
138
- typography.$si-line-height-h5,
139
- typography.$si-font-weight-h5
137
+ si-sys-variables.$si-sys-typography-h5-font-size,
138
+ si-sys-variables.$si-sys-typography-h5-line-height,
139
+ si-sys-variables.$si-sys-typography-h5-font-weight
140
140
  );
141
141
 
142
142
  + * .card-body, // for action cards, where we wrap the content
@@ -1,7 +1,6 @@
1
1
  @use '../variables';
2
- @use '../variables/system-tokens';
2
+ @use '../variables/si-sys-variables';
3
3
  @use '../variables/spacers';
4
- @use '../variables/typography';
5
4
  @use '../variables/zindex';
6
5
  @use './variables' as bootstrap-variables;
7
6
 
@@ -133,8 +132,8 @@
133
132
 
134
133
  // duplicating hover styles from bootstrap. To split them from focus styles. Otherwise hover on focus elements will not work.
135
134
  &:hover {
136
- color: system-tokens.$si-sys-color-text-primary;
137
- background-color: system-tokens.$si-sys-color-background-hover;
135
+ color: si-sys-variables.$si-sys-color-text-primary;
136
+ background-color: si-sys-variables.$si-sys-color-background-hover;
138
137
  text-decoration: none;
139
138
  }
140
139
 
@@ -169,7 +168,7 @@
169
168
  // FIXME: drop when dropping si-menu-legacy
170
169
  .dropdown-item-static {
171
170
  &:is(.active, :active, :hover, :hover:focus:not(:focus-visible), :focus) {
172
- background-color: system-tokens.$si-sys-color-background-1;
171
+ background-color: si-sys-variables.$si-sys-color-background-1;
173
172
  }
174
173
  }
175
174
 
@@ -180,8 +179,8 @@
180
179
  margin-block-end: 0; // for use with heading elements
181
180
  color: bootstrap-variables.$dropdown-header-color;
182
181
  white-space: nowrap; // as with > li > a
183
- font-size: typography.$si-font-size-h5;
184
- font-weight: typography.$si-font-weight-h5;
182
+ font-size: si-sys-variables.$si-sys-typography-h5-font-size;
183
+ font-weight: si-sys-variables.$si-sys-typography-h5-font-weight;
185
184
  line-height: bootstrap-variables.$dropdown-line-height;
186
185
  }
187
186
 
@@ -96,10 +96,8 @@ $escaped-characters: (
96
96
  @return $value1;
97
97
  }
98
98
 
99
- @if meta.type-of($value1) ==
100
- number and
101
- meta.type-of($value2) ==
102
- number and
99
+ @if meta.type-of($value1) == number and
100
+ meta.type-of($value2) == number and
103
101
  math.compatible($value1, $value2)
104
102
  {
105
103
  @return $value1 + $value2;
@@ -125,10 +123,8 @@ $escaped-characters: (
125
123
  @return $value1;
126
124
  }
127
125
 
128
- @if meta.type-of($value1) ==
129
- number and
130
- meta.type-of($value2) ==
131
- number and
126
+ @if meta.type-of($value1) == number and
127
+ meta.type-of($value2) == number and
132
128
  math.compatible($value1, $value2)
133
129
  {
134
130
  @return $value1 - $value2;
@@ -1,6 +1,6 @@
1
1
  @use 'sass:map';
2
2
  @use '../variables/spacers';
3
- @use '../variables/system-tokens';
3
+ @use '../variables/si-sys-variables';
4
4
  @use './mixins/image';
5
5
  @use './variables';
6
6
 
@@ -21,7 +21,7 @@
21
21
  background-color: variables.$thumbnail-bg;
22
22
  border: variables.$thumbnail-border-width solid variables.$thumbnail-border-color;
23
23
  border-radius: variables.$thumbnail-border-radius;
24
- box-shadow: system-tokens.$si-sys-color-effects-shadow-1;
24
+ box-shadow: si-sys-variables.$si-sys-color-effects-shadow-10;
25
25
 
26
26
  // Keep them at most 100% wide
27
27
  @include image.img-fluid();
@@ -27,8 +27,7 @@
27
27
  @use 'sass:map';
28
28
 
29
29
  @use '../variables/focus';
30
- @use '../variables/system-tokens';
31
- @use '../variables/typography';
30
+ @use '../variables/si-sys-variables';
32
31
  @use 'mixins/breakpoints';
33
32
  @use 'variables';
34
33
 
@@ -143,7 +142,7 @@
143
142
 
144
143
  // @deprecated No replacement, use a heading element.
145
144
  .list-header {
146
- font-size: typography.$si-font-size-body-sm;
145
+ font-size: si-sys-variables.$si-sys-typography-body-sm-font-size;
147
146
  padding-block: variables.$list-group-item-padding-y;
148
147
  padding-inline: variables.$list-group-item-padding-x;
149
148
  color: variables.$headings-color;
@@ -206,31 +205,31 @@
206
205
  // @deprecated No replacement for the `.list-group-item-*` variants below,
207
206
  // use the background and text utilities on a `.list-item` instead.
208
207
  .list-group-item-secondary {
209
- background-color: system-tokens.$si-sys-color-background-neutral;
210
- color: system-tokens.$si-sys-color-text-on-neutral;
208
+ background-color: si-sys-variables.$si-sys-color-background-neutral;
209
+ color: si-sys-variables.$si-sys-color-text-on-neutral;
211
210
  }
212
211
 
213
212
  .list-group-item-success {
214
- color: system-tokens.$si-sys-color-text-success;
215
- background: system-tokens.$si-sys-color-background-success-subtle;
213
+ color: si-sys-variables.$si-sys-color-text-success;
214
+ background: si-sys-variables.$si-sys-color-background-success-subtle;
216
215
  }
217
216
 
218
217
  .list-group-item-warning {
219
- color: system-tokens.$si-sys-color-text-warning;
220
- background: system-tokens.$si-sys-color-background-warning-subtle;
218
+ color: si-sys-variables.$si-sys-color-text-warning;
219
+ background: si-sys-variables.$si-sys-color-background-warning-subtle;
221
220
  }
222
221
 
223
222
  .list-group-item-caution {
224
- background-color: system-tokens.$si-sys-color-background-caution-subtle;
225
- color: system-tokens.$si-sys-color-text-caution;
223
+ background-color: si-sys-variables.$si-sys-color-background-caution-subtle;
224
+ color: si-sys-variables.$si-sys-color-text-caution;
226
225
  }
227
226
 
228
227
  .list-group-item-danger {
229
- color: system-tokens.$si-sys-color-text-danger;
230
- background: system-tokens.$si-sys-color-background-danger-subtle;
228
+ color: si-sys-variables.$si-sys-color-text-danger;
229
+ background: si-sys-variables.$si-sys-color-background-danger-subtle;
231
230
  }
232
231
 
233
232
  .list-group-item-info {
234
- color: system-tokens.$si-sys-color-text-information;
235
- background: system-tokens.$si-sys-color-background-information-subtle;
233
+ color: si-sys-variables.$si-sys-color-text-information;
234
+ background: si-sys-variables.$si-sys-color-background-information-subtle;
236
235
  }
@@ -1,6 +1,5 @@
1
1
  @use '../variables/spacers';
2
- @use '../variables/system-tokens';
3
- @use '../variables/typography';
2
+ @use '../variables/si-sys-variables';
4
3
  @use '../variables/zindex';
5
4
  @use '../variables/si-vars';
6
5
  @use '../variables/animations';
@@ -107,8 +106,8 @@
107
106
  }
108
107
 
109
108
  .modal-title {
110
- font-size: typography.$si-font-size-h4;
111
- font-weight: typography.$si-font-weight-h4;
109
+ font-size: si-sys-variables.$si-sys-typography-h4-font-size;
110
+ font-weight: si-sys-variables.$si-sys-typography-h4-font-weight;
112
111
  line-height: variables.$modal-title-line-height;
113
112
  margin-block-end: 0;
114
113
  }
@@ -132,7 +131,7 @@
132
131
  background-color: variables.$modal-content-bg;
133
132
  background-clip: padding-box;
134
133
  border-radius: variables.$modal-content-border-radius;
135
- box-shadow: system-tokens.$si-sys-color-effects-shadow-3;
134
+ box-shadow: si-sys-variables.$si-sys-color-effects-shadow-40;
136
135
  // Remove focus outline from opened modal
137
136
  outline: 0;
138
137
  }
@@ -194,10 +193,6 @@
194
193
  min-block-size: calc(100% - (variables.$modal-dialog-margin-y-sm-up * 2));
195
194
  }
196
195
 
197
- .modal-content {
198
- box-shadow: system-tokens.$si-sys-color-effects-shadow-2;
199
- }
200
-
201
196
  .modal-sm {
202
197
  max-inline-size: variables.$modal-sm;
203
198
  }
@@ -1,6 +1,5 @@
1
- @use '../variables/system-tokens';
1
+ @use '../variables/si-sys-variables';
2
2
  @use '../variables/spacers';
3
- @use '../variables/typography';
4
3
  @use './variables';
5
4
 
6
5
  @use 'sass:map';
@@ -17,9 +16,9 @@ $nav-tabs-min-width: 100px;
17
16
 
18
17
  .nav-link {
19
18
  &:hover {
20
- color: system-tokens.$si-sys-color-text-on-accent-secondary-hover;
21
- background: system-tokens.$si-sys-color-background-accent-secondary-hover;
22
- border-color: system-tokens.$si-sys-color-border-accent-hover;
19
+ color: si-sys-variables.$si-sys-color-text-on-accent-secondary-hover;
20
+ background: si-sys-variables.$si-sys-color-background-accent-secondary-hover;
21
+ border-color: si-sys-variables.$si-sys-color-border-accent-hover;
23
22
  }
24
23
  }
25
24
  }
@@ -58,12 +57,12 @@ $nav-tabs-min-width: 100px;
58
57
  inset-inline: 0;
59
58
  inset-block-end: 0;
60
59
  block-size: 1px;
61
- background: system-tokens.$si-sys-color-border-4;
60
+ background: si-sys-variables.$si-sys-color-border-4;
62
61
  }
63
62
 
64
63
  &:focus-visible::before {
65
64
  // because otherwise the focus is cut off
66
- background: system-tokens.$si-sys-color-effects-focus;
65
+ background: si-sys-variables.$si-sys-color-effects-focus;
67
66
  }
68
67
 
69
68
  .nav-link {
@@ -76,20 +75,19 @@ $nav-tabs-min-width: 100px;
76
75
  border-style: solid;
77
76
  border-color: transparent;
78
77
  border-width: 0 0 variables.$nav-tabs-border-width;
79
- border-start-start-radius: variables.$btn-border-radius;
80
- border-start-end-radius: variables.$btn-border-radius;
78
+ border-radius: 0;
81
79
  cursor: pointer;
82
- font-weight: typography.$si-font-weight-body-lg;
80
+ font-weight: si-sys-variables.$si-sys-typography-body-lg-font-weight;
83
81
 
84
82
  .badge {
85
83
  margin-inline-end: 0;
86
84
  }
87
85
 
88
86
  &.active {
89
- border-color: system-tokens.$si-sys-color-border-accent-hover;
90
- font-size: typography.$si-font-size-body-lg-sbold;
91
- font-weight: typography.$si-font-weight-body-lg-sbold;
92
- line-height: typography.$si-line-height-body-lg-sbold;
87
+ border-color: si-sys-variables.$si-sys-color-border-accent-hover;
88
+ font-size: si-sys-variables.$si-sys-typography-body-lg-sbold-font-size;
89
+ font-weight: si-sys-variables.$si-sys-typography-body-lg-sbold-font-weight;
90
+ line-height: si-sys-variables.$si-sys-typography-body-lg-sbold-line-height;
93
91
  }
94
92
 
95
93
  &:hover {
@@ -1,7 +1,5 @@
1
- @use '../variables/system-tokens';
2
- @use '../variables/semantic-tokens';
1
+ @use '../variables/si-sys-variables';
3
2
  @use '../variables/spacers';
4
- @use '../variables/typography';
5
3
  @use 'mixins/lists';
6
4
 
7
5
  @use 'sass:map';
@@ -26,13 +24,13 @@ $page-button-size: 1.5rem;
26
24
  padding-inline: map.get(spacers.$spacers-inline, 2);
27
25
  margin-inline: map.get(spacers.$spacers-inline, 1);
28
26
  background: transparent;
29
- font-size: typography.$si-font-size-h5;
30
- font-weight: typography.$si-font-weight-h5;
31
- color: system-tokens.$si-sys-color-text-primary;
27
+ font-size: si-sys-variables.$si-sys-typography-h5-font-size;
28
+ font-weight: si-sys-variables.$si-sys-typography-h5-font-weight;
29
+ color: si-sys-variables.$si-sys-color-text-primary;
32
30
  border: 0;
33
31
 
34
32
  &:is(.active, :hover:not(:disabled)):not(.separator) {
35
- background: system-tokens.$si-sys-color-background-active;
33
+ background: si-sys-variables.$si-sys-color-background-active;
36
34
  }
37
35
 
38
36
  &:has(.icon) {
@@ -40,7 +38,7 @@ $page-button-size: 1.5rem;
40
38
  }
41
39
 
42
40
  &.disabled {
43
- opacity: semantic-tokens.$element-action-disabled-opacity;
41
+ opacity: si-sys-variables.$si-sys-color-effects-disable-opacity;
44
42
  }
45
43
 
46
44
  &.separator {
@@ -1,6 +1,5 @@
1
- @use '../variables/semantic-tokens';
2
1
  @use '../variables/spacers';
3
- @use '../variables/system-tokens';
2
+ @use '../variables/si-sys-variables';
4
3
  @use '../variables/zindex';
5
4
  @use './mixins/reset-text';
6
5
  @use './variables';
@@ -28,8 +27,8 @@ $si-popover-bg: var(--popover-bg-color, variables.$popover-bg);
28
27
  word-wrap: break-word;
29
28
  background-color: $si-popover-bg;
30
29
  background-clip: padding-box;
31
- box-shadow: system-tokens.$si-sys-color-effects-shadow-3;
32
- border-radius: semantic-tokens.$element-radius-2;
30
+ box-shadow: si-sys-variables.$si-sys-color-effects-shadow-30;
31
+ border-radius: si-sys-variables.$si-sys-sizing-border-radius-sm;
33
32
 
34
33
  &.auto-width {
35
34
  max-inline-size: unset;
@@ -39,7 +38,7 @@ $si-popover-bg: var(--popover-bg-color, variables.$popover-bg);
39
38
  .popover-body {
40
39
  padding: 0;
41
40
  overflow: hidden;
42
- border-radius: semantic-tokens.$element-radius-2;
41
+ border-radius: si-sys-variables.$si-sys-sizing-border-radius-sm;
43
42
  }
44
43
  }
45
44