@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/utilities';
5
5
  @use '../../variables/si-vars';
@@ -8,8 +8,8 @@
8
8
  @use 'sass:map';
9
9
 
10
10
  :is(.form-control, .form-select) {
11
- --border-color: #{semantic-tokens.$element-ui-2};
12
- --si-textarea-mask: #{semantic-tokens.$element-base-1};
11
+ --border-color: #{system-tokens.$si-sys-border-2};
12
+ --si-textarea-mask: #{system-tokens.$si-sys-background-1};
13
13
  // Formula:
14
14
  // (1.25rem / 0px) (feedback icon size)
15
15
  // + (action-size / 0px) (action-offset includes a padding)
@@ -27,8 +27,8 @@
27
27
  font-size: variables.$input-font-size;
28
28
  font-weight: variables.$input-font-weight;
29
29
  line-height: variables.$input-line-height;
30
- color: semantic-tokens.$element-text-primary;
31
- background-color: semantic-tokens.$element-base-1;
30
+ color: system-tokens.$si-sys-text-primary;
31
+ background-color: system-tokens.$si-sys-background-1;
32
32
  background-clip: padding-box;
33
33
  border: variables.$input-border-width solid var(--border-color);
34
34
  border-radius: variables.$input-border-radius;
@@ -65,32 +65,32 @@
65
65
  }
66
66
 
67
67
  &:autofill {
68
- background: semantic-tokens.$element-base-information;
68
+ background: system-tokens.$si-sys-background-information-subtle;
69
69
  }
70
70
 
71
71
  &:is(:focus, :hover, :has(+ .form-control-actions:is(:hover, :focus-within))) {
72
- --border-color: #{semantic-tokens.$element-ui-1};
73
- --si-textarea-mask: #{semantic-tokens.$element-base-input-experimental};
74
- background-color: semantic-tokens.$element-base-input-experimental;
72
+ --border-color: #{system-tokens.$si-sys-border-1};
73
+ --si-textarea-mask: #{system-tokens.$si-sys-background-4};
74
+ background-color: system-tokens.$si-sys-background-4;
75
75
  }
76
76
 
77
77
  &:is(.readonly, [readonly]) {
78
78
  &,
79
79
  &:is(:hover, :focus, :has(+ .form-control-actions:is(:hover, :focus-within))) {
80
- --border-color: #{semantic-tokens.$element-ui-4};
80
+ --border-color: #{system-tokens.$si-sys-border-4};
81
81
  --si-textarea-mask: transparent;
82
82
  background-color: transparent;
83
- color: semantic-tokens.$element-text-primary;
83
+ color: system-tokens.$si-sys-text-primary;
84
84
  }
85
85
  }
86
86
 
87
87
  &:is(.disabled, :disabled) {
88
88
  &,
89
89
  &:is(:hover, :focus, :has(+ .form-control-actions:is(:hover, :focus-within))) {
90
- --border-color: #{semantic-tokens.$element-ui-4};
90
+ --border-color: #{system-tokens.$si-sys-border-4};
91
91
  --si-textarea-mask: transparent;
92
92
  background-color: transparent;
93
- color: semantic-tokens.$element-text-disabled;
93
+ color: system-tokens.$si-sys-text-disabled;
94
94
  }
95
95
 
96
96
  &::placeholder {
@@ -216,7 +216,7 @@ select:is(.form-control, .form-select)[multiple] {
216
216
 
217
217
  option:checked,
218
218
  &:not(:disabled) option:not(:disabled):hover {
219
- background: semantic-tokens.$element-base-0;
220
- color: semantic-tokens.$element-text-active;
219
+ background: system-tokens.$si-sys-background-0;
220
+ color: system-tokens.$si-sys-text-accent;
221
221
  }
222
222
  }
@@ -1,4 +1,4 @@
1
- @use '../../variables/semantic-tokens';
1
+ @use '../../variables/system-tokens';
2
2
  @use '../variables';
3
3
 
4
4
  .form-control {
@@ -11,8 +11,8 @@
11
11
  }
12
12
 
13
13
  &::file-selector-button {
14
- color: semantic-tokens.$element-action-secondary-text;
15
- background: semantic-tokens.$element-action-secondary;
14
+ color: system-tokens.$si-sys-text-on-accent-secondary;
15
+ background: system-tokens.$si-sys-background-accent-secondary;
16
16
  border-color: inherit;
17
17
  border-block-width: 0;
18
18
  border-inline-width: 0 1px;
@@ -23,12 +23,12 @@
23
23
  }
24
24
 
25
25
  &:hover::file-selector-button {
26
- color: semantic-tokens.$element-action-secondary-text-hover;
27
- background: semantic-tokens.$element-action-secondary-hover;
26
+ color: system-tokens.$si-sys-text-on-accent-secondary-hover;
27
+ background: system-tokens.$si-sys-background-accent-secondary-hover;
28
28
  }
29
29
 
30
30
  &:active::file-selector-button {
31
- color: semantic-tokens.$element-action-primary-active;
32
- background: semantic-tokens.$element-action-secondary-active;
31
+ color: system-tokens.$si-sys-text-on-accent-secondary-active;
32
+ background: system-tokens.$si-sys-background-accent-secondary-active;
33
33
  }
34
34
  }
@@ -1,4 +1,40 @@
1
+ @use 'sass:map';
1
2
  @use '../mixins/form-layout';
3
+ @use '../../variables/spacers';
4
+
5
+ .si-form-fieldset,
6
+ .si-form-input {
7
+ display: flex;
8
+ flex-direction: column;
9
+ margin-block-end: map.get(spacers.$spacers, 6);
10
+
11
+ .form-item-content {
12
+ flex-grow: 1;
13
+ }
14
+ }
15
+
16
+ .si-form-fieldset {
17
+ .form-label {
18
+ margin-block-end: map.get(spacers.$spacers, 2);
19
+ }
20
+
21
+ .form-check:not(.form-check-inline) {
22
+ display: block;
23
+ }
24
+ }
25
+
26
+ :is(.si-form-fieldset, .si-form-input) .form-label:empty {
27
+ display: none;
28
+ }
29
+
30
+ // Maintain compatibility with the old si-form-item style which allows wrapping multiple checkboxes.
31
+ :is(.si-form-fieldset, .si-form-input).form-check:not(.form-check-inline) {
32
+ display: block;
33
+ }
34
+
35
+ :is(.si-form-fieldset, .si-form-input).form-check:has(.form-check) {
36
+ padding-block: 0;
37
+ }
2
38
 
3
39
  .form-col-layout {
4
40
  @include form-layout.form-col-layout;
@@ -1,8 +1,8 @@
1
1
  @use '../../variables/elevation';
2
2
  @use '../../variables/focus';
3
- @use '../../variables/semantic-tokens';
3
+ @use '../../variables/system-tokens';
4
4
 
5
- $track-color: semantic-tokens.$element-ui-4 !default;
5
+ $track-color: system-tokens.$si-sys-border-4 !default;
6
6
  $track-height: 4px !default;
7
7
  $thumb-size: 24px !default;
8
8
 
@@ -15,36 +15,36 @@ $thumb-size: 24px !default;
15
15
 
16
16
  @mixin range-thumb {
17
17
  box-shadow: var(--thumb-shadow);
18
- border: 1px solid semantic-tokens.$element-action-secondary-border;
18
+ border: 1px solid system-tokens.$si-sys-border-accent;
19
19
  block-size: $thumb-size;
20
20
  inline-size: $thumb-size;
21
21
  border-radius: 50%;
22
- background: semantic-tokens.$element-base-1;
22
+ background: system-tokens.$si-sys-background-1;
23
23
  cursor: pointer;
24
24
 
25
25
  &:hover {
26
- border-color: semantic-tokens.$element-action-secondary-border-hover;
26
+ border-color: system-tokens.$si-sys-border-accent-hover;
27
27
  background: radial-gradient(
28
28
  circle,
29
- semantic-tokens.$element-action-secondary-text-hover 0%,
30
- semantic-tokens.$element-action-secondary-text-hover 35%,
31
- semantic-tokens.$element-action-secondary-hover 36%
29
+ system-tokens.$si-sys-text-accent-hover 0%,
30
+ system-tokens.$si-sys-text-accent-hover 35%,
31
+ system-tokens.$si-sys-background-accent-secondary-hover 36%
32
32
  );
33
33
  }
34
34
 
35
35
  &:active {
36
- border-color: semantic-tokens.$element-action-primary-active;
36
+ border-color: system-tokens.$si-sys-border-accent-active;
37
37
  background: radial-gradient(
38
38
  circle,
39
- semantic-tokens.$element-action-primary-active 0%,
40
- semantic-tokens.$element-action-primary-active 35%,
41
- semantic-tokens.$element-action-secondary-active 36%
39
+ system-tokens.$si-sys-background-accent-active 0%,
40
+ system-tokens.$si-sys-background-accent-active 35%,
41
+ system-tokens.$si-sys-background-accent-secondary-active 36%
42
42
  );
43
43
  }
44
44
  }
45
45
 
46
46
  .form-range {
47
- --thumb-shadow: #{elevation.$element-elevation-1};
47
+ --thumb-shadow: #{system-tokens.$si-sys-effects-shadow-2};
48
48
  -webkit-appearance: none; // stylelint-disable-line property-no-vendor-prefix
49
49
  background: transparent;
50
50
  inline-size: 100%;
@@ -6,6 +6,7 @@ $form-col-layout-label-width: 16ch !default;
6
6
 
7
7
  /* Turns every inner form-field into a column layout */
8
8
  @mixin form-col-layout {
9
+ .si-form-fieldset,
9
10
  .si-form-input:not(.form-check),
10
11
  .si-form-input.form-check:not(.form-check-inline) {
11
12
  display: flex;
@@ -40,12 +41,13 @@ $form-col-layout-label-width: 16ch !default;
40
41
  }
41
42
  }
42
43
 
43
- si-form-fieldset.si-form-input {
44
+ .si-form-fieldset {
44
45
  align-items: start;
45
46
 
46
47
  > .form-label {
47
48
  align-self: start;
48
49
  padding-block: map.get(spacers.$spacers, 1) 0 !important; // stylelint-disable-line declaration-no-important
50
+ margin-block-end: 0 !important; // stylelint-disable-line declaration-no-important
49
51
  }
50
52
  }
51
53
  }
@@ -1,7 +1,8 @@
1
1
  @use '../bootstrap/mixins/breakpoints';
2
2
  @use '../bootstrap/variables' as bootstrap-variables;
3
- @use '../variables';
3
+ @use '../variables/si-vars';
4
4
  @use '../variables/elevation';
5
+ @use '../variables/system-tokens';
5
6
  @use '../variables/semantic-tokens';
6
7
  @use '../variables/spacers';
7
8
  @use '../variables/typography';
@@ -12,8 +13,8 @@
12
13
  .has-application-header,
13
14
  .has-navbar-fixed-top {
14
15
  padding-block-start: calc(
15
- variables.$si-application-header-height + variables.$si-titlebar-spacing +
16
- variables.$si-system-banner-spacing
16
+ si-vars.$si-application-header-height + si-vars.$si-titlebar-spacing +
17
+ si-vars.$si-system-banner-spacing
17
18
  );
18
19
  }
19
20
 
@@ -26,10 +27,10 @@
26
27
  var(--element-titlebar-spacing, 0px) + var(--element-system-banner-spacing, 0px)
27
28
  );
28
29
  z-index: zindex.$zindex-application-header;
29
- background: semantic-tokens.$element-base-1;
30
- min-block-size: variables.$si-application-header-height;
30
+ background: system-tokens.$si-sys-background-1;
31
+ min-block-size: si-vars.$si-application-header-height;
31
32
  align-items: stretch;
32
- border-block-end: 1px solid semantic-tokens.$element-ui-4;
33
+ border-block-end: 1px solid system-tokens.$si-sys-border-4;
33
34
 
34
35
  // hide border when mobile styles are applied and either the dropdown-menu is shown or navigation is expanded
35
36
  &:has(.dropdown-menu.show),
@@ -42,7 +43,7 @@
42
43
  order: 2;
43
44
  flex-basis: 100%;
44
45
  box-shadow: none;
45
- border-block-start: 1px solid semantic-tokens.$element-ui-4;
46
+ border-block-start: 1px solid system-tokens.$si-sys-border-4;
46
47
  margin-block: 0;
47
48
  border-radius: 0;
48
49
  }
@@ -94,7 +95,7 @@
94
95
  display: flex;
95
96
  flex-flow: column;
96
97
  padding-block: map.get(spacers.$spacers, 4);
97
- border-block-start: 1px solid semantic-tokens.$element-ui-4;
98
+ border-block-start: 1px solid system-tokens.$si-sys-border-4;
98
99
  }
99
100
 
100
101
  .header-navigation {
@@ -106,13 +107,13 @@
106
107
 
107
108
  .header-item {
108
109
  &.active {
109
- --si-header-item-border: #{semantic-tokens.$element-action-primary};
110
- color: semantic-tokens.$element-action-primary;
110
+ --si-header-item-border: #{system-tokens.$si-sys-border-accent};
111
+ color: system-tokens.$si-sys-text-accent;
111
112
  }
112
113
 
113
114
  &:hover {
114
- --si-header-item-border: #{semantic-tokens.$element-action-primary-hover};
115
- color: semantic-tokens.$element-action-primary-hover;
115
+ --si-header-item-border: #{system-tokens.$si-sys-border-accent-hover};
116
+ color: system-tokens.$si-sys-text-accent-hover;
116
117
  }
117
118
  }
118
119
  }
@@ -130,13 +131,13 @@
130
131
  }
131
132
 
132
133
  .header-toggle {
133
- color: semantic-tokens.$element-text-primary;
134
+ color: system-tokens.$si-sys-text-primary;
134
135
  border: 0;
135
136
  padding: map.get(spacers.$spacers, 5);
136
137
  background-color: transparent; // remove default button style
137
138
 
138
139
  &:is(:hover, .show, :active) {
139
- background: semantic-tokens.$element-base-1-hover;
140
+ background: system-tokens.$si-sys-background-hover;
140
141
  text-decoration: none;
141
142
  }
142
143
  }
@@ -147,20 +148,20 @@
147
148
  flex-basis: 0;
148
149
  align-items: center;
149
150
  position: relative;
150
- color: semantic-tokens.$element-text-primary;
151
+ color: system-tokens.$si-sys-text-primary;
151
152
  inline-size: 100%;
152
153
  font-size: typography.$si-font-size-h4;
153
154
  line-height: typography.$si-line-height-h4;
154
155
  font-weight: typography.$si-font-weight-h4;
155
- padding-block: 13px;
156
+ padding-block: map.get(spacers.$spacers, 5);
156
157
  padding-inline: map.get(spacers.$spacers, 5);
157
158
  background: none;
158
159
  box-shadow: none;
159
160
  border: 0;
160
161
  white-space: nowrap;
161
162
 
162
- .icon-lg {
163
- margin-block: -3px;
163
+ .icon {
164
+ margin-block: -0.125rem;
164
165
 
165
166
  ~ .item-title {
166
167
  padding-inline-start: map.get(spacers.$spacers, 5);
@@ -176,8 +177,8 @@
176
177
  }
177
178
 
178
179
  &:hover {
179
- color: semantic-tokens.$element-text-primary;
180
- background-color: semantic-tokens.$element-base-1-hover;
180
+ color: system-tokens.$si-sys-text-primary;
181
+ background-color: system-tokens.$si-sys-background-hover;
181
182
  text-decoration: none;
182
183
  }
183
184
 
@@ -193,13 +194,13 @@
193
194
  }
194
195
 
195
196
  &.header-selection-item {
196
- color: semantic-tokens.$element-action-secondary-text;
197
+ color: system-tokens.$si-sys-text-accent;
197
198
  font-size: typography.$si-font-size-h5;
198
199
  font-weight: typography.$si-font-weight-h5;
199
200
  line-height: typography.$si-line-height-h5;
200
201
 
201
202
  &:hover {
202
- color: semantic-tokens.$element-action-secondary-text-hover;
203
+ color: system-tokens.$si-sys-text-accent-hover;
203
204
  }
204
205
  }
205
206
  }
@@ -4,6 +4,7 @@
4
4
  @use '../variables/focus';
5
5
  @use '../variables/semantic-tokens';
6
6
  @use '../variables/spacers';
7
+ @use '../variables/system-tokens';
7
8
  @use '../variables/typography';
8
9
  @use '../variables/utilities';
9
10
 
@@ -11,10 +12,10 @@
11
12
 
12
13
  $datatable-header-border-color: variables.$table-border-color !default;
13
14
  $datatable-header-background-color: variables.$table-bg !default;
14
- $datatable-header-color: semantic-tokens.$element-text-primary !default;
15
+ $datatable-header-color: system-tokens.$si-sys-text-primary !default;
15
16
  $datatable-footer-background-color: transparent !default;
16
17
 
17
- $datatable-summary-background-color: semantic-tokens.$element-base-4 !default;
18
+ $datatable-summary-background-color: system-tokens.$si-sys-background-2 !default;
18
19
 
19
20
  $datatable-header-height: 40px !default;
20
21
  $datatable-cell-min-width: 40px !default;
@@ -22,12 +23,12 @@ $datatable-body-row-min-height: 48px !default;
22
23
 
23
24
  $datatable-ghost-cell-container-background: variables.$table-bg !default;
24
25
 
25
- $datatable-ghost-cell-strip-background: semantic-tokens.$element-base-1-hover !default;
26
+ $datatable-ghost-cell-strip-background: system-tokens.$si-sys-background-hover !default;
26
27
  $datatable-ghost-cell-strip-background-image: linear-gradient(
27
28
  90deg,
28
- semantic-tokens.$element-base-1-hover 0%,
29
- semantic-tokens.$element-base-1-selected 25%,
30
- semantic-tokens.$element-base-1-hover 50%
29
+ system-tokens.$si-sys-background-hover 0%,
30
+ system-tokens.$si-sys-background-selected 25%,
31
+ system-tokens.$si-sys-background-hover 50%
31
32
  ) !default;
32
33
  $datatable-ghost-cell-strip-radius: 0 !default;
33
34
 
@@ -104,6 +105,24 @@ $datatable-ghost-cell-strip-radius: 0 !default;
104
105
  }
105
106
  }
106
107
 
108
+ &.scroll-horz {
109
+ .datatable-row-left {
110
+ .datatable-body-cell:last-child,
111
+ .datatable-header-cell:last-child {
112
+ box-shadow: system-tokens.$si-sys-effects-shadow-3;
113
+ clip-path: inset(0 -8px 0 0);
114
+ }
115
+ }
116
+
117
+ .datatable-row-right {
118
+ .datatable-body-cell:first-child,
119
+ .datatable-header-cell:first-child {
120
+ box-shadow: system-tokens.$si-sys-effects-shadow-3;
121
+ clip-path: inset(0 0 0 -8px);
122
+ }
123
+ }
124
+ }
125
+
107
126
  // 'checkbox' selection
108
127
  :is(.datatable-header-cell, .datatable-body-cell) {
109
128
  label.datatable-checkbox {
@@ -184,24 +203,6 @@ $datatable-ghost-cell-strip-radius: 0 !default;
184
203
  }
185
204
  }
186
205
  }
187
-
188
- .horizontal-overflow {
189
- .datatable-row-left {
190
- .datatable-body-cell:last-child,
191
- .datatable-header-cell:last-child {
192
- box-shadow: 0 0 8px var(--element-box-shadow-color-1);
193
- clip-path: inset(0 -8px 0 0);
194
- }
195
- }
196
-
197
- .datatable-row-right {
198
- .datatable-body-cell:first-child,
199
- .datatable-header-cell:first-child {
200
- box-shadow: 0 0 8px var(--element-box-shadow-color-1);
201
- clip-path: inset(0 0 0 -8px);
202
- }
203
- }
204
- }
205
206
  }
206
207
 
207
208
  // Header Styles
@@ -224,7 +225,7 @@ $datatable-ghost-cell-strip-radius: 0 !default;
224
225
  // Resizable handle
225
226
  .resizeable:hover {
226
227
  .resize-handle {
227
- background-color: semantic-tokens.$element-base-0;
228
+ background-color: system-tokens.$si-sys-background-0;
228
229
  inline-size: 2px;
229
230
  border-radius: 2px;
230
231
  padding-block: 0;
@@ -238,7 +239,6 @@ $datatable-ghost-cell-strip-radius: 0 !default;
238
239
 
239
240
  :is(.datatable-row-left, .datatable-row-right) {
240
241
  background-color: variables.$table-bg;
241
- display: flex;
242
242
 
243
243
  .datatable-header-cell {
244
244
  flex-shrink: 0;
@@ -246,7 +246,7 @@ $datatable-ghost-cell-strip-radius: 0 !default;
246
246
  }
247
247
 
248
248
  .datatable-header-cell:focus-visible {
249
- @include focus.make-outline-focus();
249
+ @include focus.make-outline-focus-inside();
250
250
  }
251
251
  }
252
252
 
@@ -322,7 +322,7 @@ $datatable-ghost-cell-strip-radius: 0 !default;
322
322
  align-items: flex-end;
323
323
  align-content: flex-end;
324
324
  background-color: $datatable-footer-background-color;
325
- color: semantic-tokens.$element-text-secondary;
325
+ color: system-tokens.$si-sys-text-secondary;
326
326
  font-size: typography.$si-font-size-caption;
327
327
  margin-block-start: -1px;
328
328
  position: relative;
@@ -341,7 +341,7 @@ $datatable-ghost-cell-strip-radius: 0 !default;
341
341
  inset-inline-start: 0;
342
342
  inline-size: 100%;
343
343
  block-size: 1px;
344
- background-color: var(--element-base-0);
344
+ background-color: system-tokens.$si-sys-background-0;
345
345
  }
346
346
  }
347
347
  }
@@ -1,8 +1,9 @@
1
1
  @use '../variables';
2
+ @use '../selectors';
2
3
 
3
4
  /* stylelint-disable declaration-no-important */
4
5
 
5
- body:has(.cdk-drag-preview, .ui-draggable-dragging) {
6
+ #{selectors.$body}:has(.cdk-drag-preview, .ui-draggable-dragging) {
6
7
  cursor: grabbing !important;
7
8
 
8
9
  .cdk-drop-list:not(.cdk-drop-list-dragging) {
@@ -22,7 +23,7 @@ body:has(.cdk-drag-preview, .ui-draggable-dragging) {
22
23
  }
23
24
 
24
25
  .cdk-drag-preview {
25
- background-color: variables.$element-base-3 !important;
26
+ background-color: variables.$si-sys-background-3 !important;
26
27
  box-shadow: variables.$element-elevation-2 !important;
27
28
  position: relative !important;
28
29
  inset-inline-start: -5px !important;
@@ -36,7 +37,7 @@ body:has(.cdk-drag-preview, .ui-draggable-dragging) {
36
37
  }
37
38
 
38
39
  .cdk-drag-handle {
39
- color: variables.$element-ui-2;
40
+ color: variables.$si-sys-text-secondary;
40
41
  }
41
42
 
42
43
  .cdk-drag-disabled {
@@ -70,7 +71,7 @@ body:has(.cdk-drag-preview, .ui-draggable-dragging) {
70
71
 
71
72
  .cdk-drop-list:not([cdkDropListHasAnchor]) .cdk-drag-placeholder {
72
73
  opacity: 0.3;
73
- background-color: variables.$element-base-information !important;
74
+ background-color: variables.$si-sys-background-information-subtle !important;
74
75
  transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
75
76
  min-block-size: 45px;
76
77
  font-size: 0; // hide direct text
@@ -92,7 +93,7 @@ body:has(.cdk-drag-preview, .ui-draggable-dragging) {
92
93
 
93
94
  .droppable-container {
94
95
  &.drop-border {
95
- border: 1px dashed variables.$element-ui-2;
96
+ border: 1px dashed variables.$si-sys-border-2;
96
97
  }
97
98
 
98
99
  .cdk-drag-placeholder {
@@ -51,6 +51,11 @@
51
51
  .si-layout-title {
52
52
  grid-area: title;
53
53
  margin-block-end: 0;
54
+ @include variables.si-font(
55
+ variables.$si-font-size-h3,
56
+ variables.$si-line-height-h3,
57
+ variables.$si-font-weight-h3
58
+ );
54
59
 
55
60
  &.si-layout-top-element + .si-layout-subtitle {
56
61
  margin-inline: var(--si-layout-header-first-element-offset, 0)
@@ -62,7 +67,7 @@
62
67
  grid-area: subtitle;
63
68
  margin-block-start: map.get(variables.$spacers, 4);
64
69
  margin-block-end: 0;
65
- color: variables.$element-text-secondary;
70
+ color: variables.$si-sys-text-secondary;
66
71
  @include variables.si-font(
67
72
  variables.$si-font-size-body,
68
73
  variables.$si-line-height-body,
@@ -82,6 +87,14 @@
82
87
  4
83
88
  ) !important; // stylelint-disable-line declaration-no-important
84
89
  }
90
+
91
+ .si-layout-title {
92
+ @include variables.si-font(
93
+ variables.$si-font-size-h2,
94
+ variables.$si-line-height-h2,
95
+ variables.$si-font-weight-h2
96
+ );
97
+ }
85
98
  }
86
99
 
87
100
  @include breakpoints.media-breakpoint-up(md) {
@@ -1,4 +1,4 @@
1
- @use '../variables/semantic-tokens';
1
+ @use '../variables/system-tokens';
2
2
  @use '../variables/si-vars';
3
3
 
4
4
  @use 'sass:math';
@@ -10,7 +10,7 @@ $si-link-icon-line-height: math.div(14em, 16);
10
10
  $si-link-icon-spacing: math.div(4em, 16);
11
11
 
12
12
  a:active {
13
- color: semantic-tokens.$element-action-primary-active;
13
+ color: system-tokens.$si-sys-text-accent-active;
14
14
  text-decoration: underline;
15
15
  }
16
16
 
@@ -49,7 +49,7 @@ ol:has(.list-item) {
49
49
 
50
50
  .list-item-timestamp {
51
51
  grid-area: timestamp;
52
- color: variables.$element-text-secondary;
52
+ color: variables.$si-sys-text-secondary;
53
53
  margin-block-end: 0;
54
54
  }
55
55
 
@@ -79,7 +79,7 @@ ol:has(.list-item) {
79
79
  block-size: 0.375rem;
80
80
  inline-size: 0.375rem;
81
81
  border-radius: 50%;
82
- background-color: variables.$element-ui-1;
82
+ background-color: variables.$si-sys-background-inverse;
83
83
  inset-inline-start: -0.625rem;
84
84
  inset-block-start: 50%;
85
85
  translate: 0 -50%;
@@ -102,11 +102,11 @@ ol:has(.list-item) {
102
102
  display: flex;
103
103
  flex-direction: row;
104
104
  align-items: center;
105
- color: variables.$element-text-secondary;
105
+ color: variables.$si-sys-text-secondary;
106
106
  margin-block-end: map.get(variables.$spacers, 4);
107
107
 
108
108
  a:not(:hover) {
109
- color: variables.$element-text-secondary;
109
+ color: variables.$si-sys-text-secondary;
110
110
  }
111
111
 
112
112
  .badge {
@@ -117,7 +117,7 @@ ol:has(.list-item) {
117
117
  inline-size: 0.125rem;
118
118
  block-size: 0.125rem;
119
119
  border-radius: 50%;
120
- background-color: variables.$element-text-secondary;
120
+ background-color: variables.$si-sys-text-secondary;
121
121
  margin-inline: map.get(variables.$spacers, 2);
122
122
  }
123
123
  }
@@ -134,11 +134,11 @@ ol:has(.list-item) {
134
134
  color: inherit;
135
135
 
136
136
  &:hover {
137
- background-color: variables.$element-base-1-hover;
137
+ background-color: variables.$si-sys-background-hover;
138
138
  }
139
139
 
140
140
  &:active {
141
- background-color: variables.$element-base-1-selected;
141
+ background-color: variables.$si-sys-background-selected;
142
142
  }
143
143
 
144
144
  &:focus-visible {