@siemens/element-theme 51.0.0-rc.8 → 51.0.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.
- package/package.json +1 -1
- package/src/styles/bootstrap/_badges.scss +1 -1
- package/src/styles/bootstrap/_buttons.scss +3 -3
- package/src/styles/bootstrap/_card.scss +1 -1
- package/src/styles/bootstrap/_dropdowns.scss +1 -1
- package/src/styles/bootstrap/_images.scss +2 -1
- package/src/styles/bootstrap/_list-group.scss +40 -2
- package/src/styles/bootstrap/_modals.scss +3 -2
- package/src/styles/bootstrap/_nav.scss +3 -3
- package/src/styles/bootstrap/_pagination.scss +1 -1
- package/src/styles/bootstrap/_popovers.scss +2 -1
- package/src/styles/bootstrap/_reboot.scss +3 -3
- package/src/styles/bootstrap/_type.scss +4 -0
- package/src/styles/bootstrap/_utilities.scss +2 -1
- package/src/styles/bootstrap/_variables.scss +24 -18
- package/src/styles/bootstrap/forms/_form-check.scss +1 -3
- package/src/styles/bootstrap/forms/_form-control.scss +1 -1
- package/src/styles/bootstrap/forms/_form-range.scss +0 -1
- package/src/styles/bootstrap/forms/_validation.scss +1 -1
- package/src/styles/bootstrap/mixins/_badge-text.scss +1 -1
- package/src/styles/components/_application-header.scss +0 -1
- package/src/styles/components/_datatable.scss +3 -3
- package/src/styles/components/_drag_drop.scss +1 -1
- package/src/styles/components/_elevation.scss +11 -6
- package/src/styles/components/_list-item.scss +5 -10
- package/src/styles/components/_pills.scss +1 -1
- package/src/styles/components/_search-bar.scss +1 -1
- package/src/styles/components/_skeleton.scss +1 -1
- package/src/styles/components/_widgets.scss +4 -4
- package/src/styles/mixins/_utilities.scss +12 -0
- package/src/styles/variables/_elevation.scss +14 -12
- package/src/styles/variables/_si-vars.scss +1 -1
- package/src/styles/variables/_system-tokens.scss +31 -21
- package/src/styles/variables/_typography.scss +5 -0
- package/src/styles/variables/_utilities.scss +8 -0
- package/src/theme/_theme-element.scss +60 -36
package/package.json
CHANGED
|
@@ -103,7 +103,7 @@ button {
|
|
|
103
103
|
.btn-ghost {
|
|
104
104
|
--btn-bg: #{system-tokens.$si-sys-background-1};
|
|
105
105
|
--btn-bg-hover: #{system-tokens.$si-sys-background-hover};
|
|
106
|
-
--btn-bg-active: #{system-tokens.$si-sys-background-
|
|
106
|
+
--btn-bg-active: #{system-tokens.$si-sys-background-active};
|
|
107
107
|
--btn-color: #{system-tokens.$si-sys-text-primary};
|
|
108
108
|
--btn-color-hover: #{system-tokens.$si-sys-text-primary};
|
|
109
109
|
--btn-color-active: #{system-tokens.$si-sys-text-primary};
|
|
@@ -164,7 +164,7 @@ button {
|
|
|
164
164
|
.btn-secondary-ghost,
|
|
165
165
|
.btn-tertiary-ghost {
|
|
166
166
|
--btn-bg-hover: #{system-tokens.$si-sys-background-hover};
|
|
167
|
-
--btn-bg-active: #{system-tokens.$si-sys-background-
|
|
167
|
+
--btn-bg-active: #{system-tokens.$si-sys-background-active};
|
|
168
168
|
--btn-color: #{system-tokens.$si-sys-text-primary};
|
|
169
169
|
--btn-color-hover: #{system-tokens.$si-sys-text-primary};
|
|
170
170
|
--btn-color-active: #{system-tokens.$si-sys-text-primary};
|
|
@@ -228,7 +228,7 @@ button {
|
|
|
228
228
|
--btn-font-weight: #{typography.$si-font-weight-normal};
|
|
229
229
|
--btn-bg: transparent;
|
|
230
230
|
--btn-bg-hover: #{system-tokens.$si-sys-background-hover};
|
|
231
|
-
--btn-bg-active: #{system-tokens.$si-sys-background-
|
|
231
|
+
--btn-bg-active: #{system-tokens.$si-sys-background-active};
|
|
232
232
|
--btn-color: #{system-tokens.$si-sys-text-primary};
|
|
233
233
|
--btn-color-active: #{system-tokens.$si-sys-text-primary};
|
|
234
234
|
|
|
@@ -134,7 +134,7 @@
|
|
|
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
136
|
color: var(--si-sys-text-primary);
|
|
137
|
-
background-color: var(--si-sys-background-
|
|
137
|
+
background-color: var(--si-sys-background-active);
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
&:is(.disabled, :disabled) {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
2
|
@use '../variables/spacers';
|
|
3
|
+
@use '../variables/system-tokens';
|
|
3
4
|
@use './mixins/image';
|
|
4
5
|
@use './variables';
|
|
5
6
|
|
|
@@ -20,7 +21,7 @@
|
|
|
20
21
|
background-color: variables.$thumbnail-bg;
|
|
21
22
|
border: variables.$thumbnail-border-width solid variables.$thumbnail-border-color;
|
|
22
23
|
border-radius: variables.$thumbnail-border-radius;
|
|
23
|
-
box-shadow:
|
|
24
|
+
box-shadow: system-tokens.$si-sys-effects-shadow-1;
|
|
24
25
|
|
|
25
26
|
// Keep them at most 100% wide
|
|
26
27
|
@include image.img-fluid();
|
|
@@ -1,3 +1,29 @@
|
|
|
1
|
+
// @deprecated The Bootstrap list group is deprecated in favor of the Element list
|
|
2
|
+
// (`.list` / `.list-item`, see `../components/_list-item.scss`).
|
|
3
|
+
|
|
4
|
+
// The list group predates the Element list and is only a thin container with
|
|
5
|
+
// borders. It has no notion of the Element list anatomy (indicator, title,
|
|
6
|
+
// description, metadata, quick actions) and therefore cannot express the current
|
|
7
|
+
// design. Do not use it for new code.
|
|
8
|
+
|
|
9
|
+
// Rough mapping, the markup has to be restructured, this is not a class rename:
|
|
10
|
+
// `.list-group` -> `.list`, optionally with `.list-divider`, `.list-filled` or `.list-outline`
|
|
11
|
+
// `.list-group-item` -> `.list-item`, children need explicit slot classes
|
|
12
|
+
// (`.list-item-title`, `.list-item-description`, ...)
|
|
13
|
+
// `.list-group-item-action` -> `.list-item.list-item-action`
|
|
14
|
+
// `.list-group-flush` -> `.list.list-divider` to preserve dividers; otherwise
|
|
15
|
+
// `.list`, which has no outer border
|
|
16
|
+
// `.list-group-md` / `.list-group-lg` -> no replacement, the item height follows its content
|
|
17
|
+
// `.list-group-horizontal*` -> no replacement, use flex or grid utilities
|
|
18
|
+
// `.list-group-numbered` -> no replacement, use an ordered list with a custom counter
|
|
19
|
+
// because `.list-item` removes list markers
|
|
20
|
+
// `.list-group-item-*` -> no replacement, use background and text utilities
|
|
21
|
+
// `.list-header` -> no replacement, use a heading element
|
|
22
|
+
|
|
23
|
+
// These styles remain available for existing applications and there is no removal
|
|
24
|
+
// planned at this point. They will not receive further design updates and may be
|
|
25
|
+
// removed in a future major version.
|
|
26
|
+
|
|
1
27
|
@use 'sass:map';
|
|
2
28
|
|
|
3
29
|
@use '../variables/focus';
|
|
@@ -6,6 +32,7 @@
|
|
|
6
32
|
@use 'mixins/breakpoints';
|
|
7
33
|
@use 'variables';
|
|
8
34
|
|
|
35
|
+
// @deprecated Use `.list` instead.
|
|
9
36
|
.list-group {
|
|
10
37
|
display: flex;
|
|
11
38
|
flex-direction: column;
|
|
@@ -13,6 +40,8 @@
|
|
|
13
40
|
border-radius: variables.$list-group-border-radius;
|
|
14
41
|
}
|
|
15
42
|
|
|
43
|
+
// @deprecated No replacement, use an ordered list with a custom counter because
|
|
44
|
+
// `.list-item` removes list markers.
|
|
16
45
|
.list-group-numbered {
|
|
17
46
|
list-style-type: none;
|
|
18
47
|
counter-reset: section;
|
|
@@ -24,6 +53,7 @@
|
|
|
24
53
|
}
|
|
25
54
|
}
|
|
26
55
|
|
|
56
|
+
// @deprecated Use `.list-item.list-item-action` instead.
|
|
27
57
|
.list-group-item-action {
|
|
28
58
|
inline-size: 100%; // For `<button>`s (anchors become 100% by default though)
|
|
29
59
|
color: variables.$list-group-action-color;
|
|
@@ -47,6 +77,7 @@
|
|
|
47
77
|
}
|
|
48
78
|
}
|
|
49
79
|
|
|
80
|
+
// @deprecated Use `.list-item` instead.
|
|
50
81
|
.list-group-item {
|
|
51
82
|
position: relative;
|
|
52
83
|
display: block;
|
|
@@ -100,16 +131,19 @@
|
|
|
100
131
|
}
|
|
101
132
|
}
|
|
102
133
|
|
|
134
|
+
// @deprecated No replacement, the height of a `.list-item` follows its content.
|
|
103
135
|
.list-group-lg .list-group-item {
|
|
104
136
|
min-block-size: calc(3rem + 2 * variables.$list-group-item-padding-y);
|
|
105
137
|
}
|
|
106
138
|
|
|
139
|
+
// @deprecated No replacement, the height of a `.list-item` follows its content.
|
|
107
140
|
.list-group-md .list-group-item {
|
|
108
141
|
min-block-size: calc(2rem + 2 * variables.$list-group-item-padding-y);
|
|
109
142
|
}
|
|
110
143
|
|
|
144
|
+
// @deprecated No replacement, use a heading element.
|
|
111
145
|
.list-header {
|
|
112
|
-
font-size: typography.$si-font-size-
|
|
146
|
+
font-size: typography.$si-font-size-body-sm;
|
|
113
147
|
padding-block: variables.$list-group-item-padding-y;
|
|
114
148
|
padding-inline: variables.$list-group-item-padding-x;
|
|
115
149
|
color: variables.$headings-color;
|
|
@@ -117,6 +151,7 @@
|
|
|
117
151
|
border: 1px solid variables.$list-group-border-color;
|
|
118
152
|
}
|
|
119
153
|
|
|
154
|
+
// @deprecated No replacement, use flex or grid utilities.
|
|
120
155
|
@each $breakpoint in map.keys(variables.$grid-breakpoints) {
|
|
121
156
|
@include breakpoints.media-breakpoint-up($breakpoint) {
|
|
122
157
|
$infix: breakpoints.breakpoint-infix($breakpoint, variables.$grid-breakpoints);
|
|
@@ -154,6 +189,7 @@
|
|
|
154
189
|
}
|
|
155
190
|
}
|
|
156
191
|
|
|
192
|
+
// @deprecated Use `.list` instead, the Element list has no outer border.
|
|
157
193
|
.list-group-flush {
|
|
158
194
|
border-radius: 0;
|
|
159
195
|
|
|
@@ -167,9 +203,11 @@
|
|
|
167
203
|
}
|
|
168
204
|
}
|
|
169
205
|
|
|
206
|
+
// @deprecated No replacement for the `.list-group-item-*` variants below,
|
|
207
|
+
// use the background and text utilities on a `.list-item` instead.
|
|
170
208
|
.list-group-item-secondary {
|
|
171
209
|
background-color: system-tokens.$si-sys-background-neutral;
|
|
172
|
-
color: system-tokens.$si-sys-text-
|
|
210
|
+
color: system-tokens.$si-sys-text-on-neutral;
|
|
173
211
|
}
|
|
174
212
|
|
|
175
213
|
.list-group-item-success {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@use '../variables/spacers';
|
|
2
|
+
@use '../variables/system-tokens';
|
|
2
3
|
@use '../variables/typography';
|
|
3
4
|
@use '../variables/zindex';
|
|
4
5
|
@use '../variables/si-vars';
|
|
@@ -131,7 +132,7 @@
|
|
|
131
132
|
background-color: variables.$modal-content-bg;
|
|
132
133
|
background-clip: padding-box;
|
|
133
134
|
border-radius: variables.$modal-content-border-radius;
|
|
134
|
-
box-shadow:
|
|
135
|
+
box-shadow: system-tokens.$si-sys-effects-shadow-3;
|
|
135
136
|
// Remove focus outline from opened modal
|
|
136
137
|
outline: 0;
|
|
137
138
|
}
|
|
@@ -194,7 +195,7 @@
|
|
|
194
195
|
}
|
|
195
196
|
|
|
196
197
|
.modal-content {
|
|
197
|
-
box-shadow:
|
|
198
|
+
box-shadow: system-tokens.$si-sys-effects-shadow-2;
|
|
198
199
|
}
|
|
199
200
|
|
|
200
201
|
.modal-sm {
|
|
@@ -87,9 +87,9 @@ $nav-tabs-min-width: 100px;
|
|
|
87
87
|
|
|
88
88
|
&.active {
|
|
89
89
|
border-color: system-tokens.$si-sys-border-accent-hover;
|
|
90
|
-
font-size: typography.$si-font-size-body-lg-
|
|
91
|
-
font-weight: typography.$si-font-weight-body-lg-
|
|
92
|
-
line-height: typography.$si-line-height-body-lg-
|
|
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;
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
&:hover {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@use '../variables/semantic-tokens';
|
|
2
2
|
@use '../variables/spacers';
|
|
3
|
+
@use '../variables/system-tokens';
|
|
3
4
|
@use '../variables/zindex';
|
|
4
5
|
@use './mixins/reset-text';
|
|
5
6
|
@use './variables';
|
|
@@ -27,7 +28,7 @@ $si-popover-bg: var(--popover-bg-color, variables.$popover-bg);
|
|
|
27
28
|
word-wrap: break-word;
|
|
28
29
|
background-color: $si-popover-bg;
|
|
29
30
|
background-clip: padding-box;
|
|
30
|
-
box-shadow:
|
|
31
|
+
box-shadow: system-tokens.$si-sys-effects-shadow-3;
|
|
31
32
|
border-radius: semantic-tokens.$element-radius-2;
|
|
32
33
|
|
|
33
34
|
&.auto-width {
|
|
@@ -343,9 +343,9 @@ table {
|
|
|
343
343
|
|
|
344
344
|
caption {
|
|
345
345
|
@include typography.si-font(
|
|
346
|
-
typography.$si-font-size-
|
|
347
|
-
typography.$si-line-height-
|
|
348
|
-
typography.$si-font-weight-
|
|
346
|
+
typography.$si-font-size-body-sm,
|
|
347
|
+
typography.$si-line-height-body-sm,
|
|
348
|
+
typography.$si-font-weight-body-sm
|
|
349
349
|
);
|
|
350
350
|
padding-block: variables.$table-cell-padding-y;
|
|
351
351
|
color: variables.$table-caption-color;
|
|
@@ -112,6 +112,7 @@ h1,
|
|
|
112
112
|
);
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
+
// DEPRECATED: Use .si-h1 instead.
|
|
115
116
|
.si-h1-bold {
|
|
116
117
|
@include typography.si-font(
|
|
117
118
|
typography.$si-font-size-h1-bold,
|
|
@@ -140,6 +141,7 @@ h3,
|
|
|
140
141
|
);
|
|
141
142
|
}
|
|
142
143
|
|
|
144
|
+
// DEPRECATED: Use .si-h4 instead.
|
|
143
145
|
.si-h4-bold {
|
|
144
146
|
@include typography.si-font(
|
|
145
147
|
typography.$si-font-size-h4-bold,
|
|
@@ -250,6 +252,7 @@ h6,
|
|
|
250
252
|
);
|
|
251
253
|
}
|
|
252
254
|
|
|
255
|
+
// DEPRECATED: Use .si-body-sm instead.
|
|
253
256
|
.si-caption {
|
|
254
257
|
@include typography.si-font(
|
|
255
258
|
typography.$si-font-size-caption,
|
|
@@ -308,6 +311,7 @@ h6,
|
|
|
308
311
|
);
|
|
309
312
|
}
|
|
310
313
|
|
|
314
|
+
// DEPRECATED: Use .si-display-lg-sbold instead of .si-display-bold.
|
|
311
315
|
.si-display-bold,
|
|
312
316
|
.display-3 {
|
|
313
317
|
@include typography.si-font(
|
|
@@ -92,7 +92,8 @@ $status-colors: (
|
|
|
92
92
|
'caution-contrast': system-tokens.$si-sys-text-on-caution,
|
|
93
93
|
'warning-contrast': system-tokens.$si-sys-text-on-warning,
|
|
94
94
|
'danger-contrast': system-tokens.$si-sys-text-on-danger,
|
|
95
|
-
'critical-contrast': system-tokens.$si-sys-text-on-critical
|
|
95
|
+
'critical-contrast': system-tokens.$si-sys-text-on-critical,
|
|
96
|
+
'neutral-contrast': system-tokens.$si-sys-text-on-neutral
|
|
96
97
|
) !default;
|
|
97
98
|
|
|
98
99
|
@each $color, $value in $status-colors {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
@use '../variables/animations';
|
|
2
|
-
@use '../variables/elevation';
|
|
3
2
|
@use '../variables/system-tokens';
|
|
4
3
|
@use '../variables/semantic-tokens';
|
|
5
4
|
@use '../variables/spacers';
|
|
5
|
+
@use '../variables/sizing';
|
|
6
6
|
@use '../variables/typography';
|
|
7
7
|
@use './functions';
|
|
8
8
|
|
|
@@ -134,9 +134,13 @@ $border-radius-sm: semantic-tokens.$element-radius-1 !default;
|
|
|
134
134
|
$border-radius-lg: semantic-tokens.$element-radius-2 !default;
|
|
135
135
|
$border-radius-pill: 50rem !default;
|
|
136
136
|
|
|
137
|
-
$
|
|
138
|
-
$box-shadow
|
|
139
|
-
$
|
|
137
|
+
// DEPRECATED: Use $si-sys-effects-shadow-2 instead.
|
|
138
|
+
$box-shadow: system-tokens.$si-sys-effects-shadow-2 !default;
|
|
139
|
+
// DEPRECATED: Use $si-sys-effects-shadow-1 instead.
|
|
140
|
+
$box-shadow-sm: system-tokens.$si-sys-effects-shadow-1 !default;
|
|
141
|
+
// DEPRECATED: Use $si-sys-effects-shadow-3 instead.
|
|
142
|
+
$box-shadow-lg: system-tokens.$si-sys-effects-shadow-3 !default;
|
|
143
|
+
// DEPRECATED: There is no replacement.
|
|
140
144
|
$box-shadow-inset: inset 0 1px 1px var(--element-box-shadow-color-2);
|
|
141
145
|
|
|
142
146
|
$component-active-color: semantic-tokens.$element-ui-5 !default;
|
|
@@ -165,7 +169,7 @@ $font-family-code: $font-family-monospace !default;
|
|
|
165
169
|
// $font-size-base effects the font size of the body text
|
|
166
170
|
$font-size-base: typography.$si-font-size-body !default;
|
|
167
171
|
$font-size-lg: typography.$si-font-size-body-lg !default;
|
|
168
|
-
$font-size-sm: typography.$si-font-size-
|
|
172
|
+
$font-size-sm: typography.$si-font-size-body-sm !default;
|
|
169
173
|
|
|
170
174
|
$font-weight-lighter: typography.$si-font-weight-lighter;
|
|
171
175
|
$font-weight-light: typography.$si-font-weight-light;
|
|
@@ -208,7 +212,7 @@ $lead-font-size: typography.$si-font-size-body-lg !default;
|
|
|
208
212
|
$lead-line-height: typography.$si-line-height-body-lg !default;
|
|
209
213
|
$lead-font-weight: typography.$si-font-weight-body-lg !default;
|
|
210
214
|
|
|
211
|
-
$small-font-size: typography.$si-font-size-
|
|
215
|
+
$small-font-size: typography.$si-font-size-body-sm !default;
|
|
212
216
|
|
|
213
217
|
$sub-sup-font-size: 0.75em !default;
|
|
214
218
|
|
|
@@ -262,7 +266,7 @@ $table-striped-color: $table-color !default;
|
|
|
262
266
|
$table-striped-bg: system-tokens.$si-sys-background-0 !default;
|
|
263
267
|
|
|
264
268
|
$table-active-color: $table-color !default;
|
|
265
|
-
$table-active-bg: system-tokens.$si-sys-background-
|
|
269
|
+
$table-active-bg: system-tokens.$si-sys-background-active !default;
|
|
266
270
|
|
|
267
271
|
$table-hover-color: $table-color !default;
|
|
268
272
|
$table-hover-bg: system-tokens.$si-sys-background-hover !default;
|
|
@@ -346,6 +350,7 @@ $input-color: system-tokens.$si-sys-text-primary !default;
|
|
|
346
350
|
$input-border-color: system-tokens.$si-sys-border-2 !default;
|
|
347
351
|
$input-focus-border-color: system-tokens.$si-sys-border-1 !default;
|
|
348
352
|
$input-border-width: $border-width !default;
|
|
353
|
+
// DEPRECATED: There is no replacement.
|
|
349
354
|
$input-box-shadow: $box-shadow-inset !default;
|
|
350
355
|
|
|
351
356
|
$input-border-radius: semantic-tokens.$element-input-radius !default;
|
|
@@ -359,15 +364,10 @@ $input-plaintext-color: $body-color !default;
|
|
|
359
364
|
|
|
360
365
|
$input-height-border: $input-border-width * 2 !default;
|
|
361
366
|
|
|
362
|
-
$input-height:
|
|
367
|
+
$input-height: map.get(sizing.$sizing, 80);
|
|
363
368
|
|
|
364
369
|
// don't derive from $input-height as it generates a nested calc() expression
|
|
365
|
-
$input-height-inner: calc(
|
|
366
|
-
// Wrap in parenthesis: `*` binds tighter than `-`, so without them only the border term gets multiplied.
|
|
367
|
-
// DEPRECATED: Calculate it yourself using $input-height-inner
|
|
368
|
-
$input-height-inner-half: calc((#{$input-height-inner}) * 0.5) !default;
|
|
369
|
-
// DEPRECATED: Calculate it yourself using $input-height-inner
|
|
370
|
-
$input-height-inner-quarter: calc((#{$input-height-inner}) * 0.25) !default;
|
|
370
|
+
$input-height-inner: calc(map.get(sizing.$sizing, 80) - (2 * 1px)) !default;
|
|
371
371
|
|
|
372
372
|
$input-transition:
|
|
373
373
|
border-color 0.15s ease-in-out,
|
|
@@ -460,11 +460,11 @@ $dropdown-font-size: $font-size-base !default;
|
|
|
460
460
|
// this is to have room for icon and badges
|
|
461
461
|
$dropdown-line-height: $badge-height;
|
|
462
462
|
$dropdown-color: $body-color !default;
|
|
463
|
-
$dropdown-bg: system-tokens.$si-sys-background-
|
|
463
|
+
$dropdown-bg: system-tokens.$si-sys-background-3 !default;
|
|
464
464
|
$dropdown-border-radius: semantic-tokens.$element-radius-2 !default;
|
|
465
465
|
$dropdown-divider-bg: system-tokens.$si-sys-border-4 !default;
|
|
466
466
|
$dropdown-divider-margin-y: 4px !default;
|
|
467
|
-
$dropdown-box-shadow:
|
|
467
|
+
$dropdown-box-shadow: system-tokens.$si-sys-effects-shadow-2 !default;
|
|
468
468
|
$dropdown-link-color: system-tokens.$si-sys-text-primary !default;
|
|
469
469
|
$dropdown-link-disabled-color: system-tokens.$si-sys-text-disabled !default;
|
|
470
470
|
$dropdown-item-padding-y: map.get(spacers.$spacers-block, 2);
|
|
@@ -516,6 +516,7 @@ $popover-inner-border-radius: functions.subtract(
|
|
|
516
516
|
$popover-border-radius,
|
|
517
517
|
$popover-border-width
|
|
518
518
|
) !default;
|
|
519
|
+
// DEPRECATED: Use $si-sys-effects-shadow-3 instead.
|
|
519
520
|
$popover-box-shadow: $box-shadow !default;
|
|
520
521
|
|
|
521
522
|
$popover-header-bg: system-tokens.$si-sys-background-3 !default;
|
|
@@ -554,7 +555,9 @@ $modal-content-inner-border-radius: functions.subtract(
|
|
|
554
555
|
$modal-content-border-radius,
|
|
555
556
|
$modal-content-border-width
|
|
556
557
|
) !default;
|
|
558
|
+
// DEPRECATED: Use $si-sys-effects-shadow-3 instead.
|
|
557
559
|
$modal-content-box-shadow-xs: $box-shadow-sm !default;
|
|
560
|
+
// DEPRECATED: Use $si-sys-effects-shadow-2 instead.
|
|
558
561
|
$modal-content-box-shadow-sm-up: $box-shadow !default;
|
|
559
562
|
|
|
560
563
|
$modal-backdrop-bg: system-tokens.$si-sys-effects-backdrop !default;
|
|
@@ -603,6 +606,8 @@ $progress-bar-animation-timing: 1s linear infinite !default;
|
|
|
603
606
|
$progress-bar-transition: width animations.element-transition-duration(0.6s) ease;
|
|
604
607
|
|
|
605
608
|
// List group
|
|
609
|
+
// @deprecated All `$list-group-*` variables below belong to the deprecated
|
|
610
|
+
// Bootstrap list group. Use the Element list (`.list` / `.list-item`) instead.
|
|
606
611
|
|
|
607
612
|
$list-group-color: system-tokens.$si-sys-text-primary !default;
|
|
608
613
|
$list-group-bg: system-tokens.$si-sys-background-1 !default;
|
|
@@ -615,7 +620,7 @@ $list-group-item-padding-x: map.get(spacers.$spacers-inline, 6) !default; // 1.2
|
|
|
615
620
|
|
|
616
621
|
$list-group-hover-bg: system-tokens.$si-sys-background-hover !default;
|
|
617
622
|
$list-group-active-color: $body-color !default;
|
|
618
|
-
$list-group-active-bg: system-tokens.$si-sys-background-
|
|
623
|
+
$list-group-active-bg: system-tokens.$si-sys-background-active !default;
|
|
619
624
|
$list-group-active-border-color: $border-color !default;
|
|
620
625
|
|
|
621
626
|
$list-group-disabled-color: system-tokens.$si-sys-text-disabled !default;
|
|
@@ -634,6 +639,7 @@ $thumbnail-bg: $body-bg !default;
|
|
|
634
639
|
$thumbnail-border-width: $border-width !default;
|
|
635
640
|
$thumbnail-border-color: $border-color !default;
|
|
636
641
|
$thumbnail-border-radius: $border-radius !default;
|
|
642
|
+
// DEPRECATED: Use $si-sys-effects-shadow-1 instead.
|
|
637
643
|
$thumbnail-box-shadow: $box-shadow-sm !default;
|
|
638
644
|
|
|
639
645
|
// Figures
|
|
@@ -660,7 +666,7 @@ $breadcrumb-border-radius: 0 !default;
|
|
|
660
666
|
$code-font-size: typography.$si-font-size-body !default;
|
|
661
667
|
$code-line-height: typography.$si-line-height-body !default;
|
|
662
668
|
$code-color: system-tokens.$si-sys-text-primary !default;
|
|
663
|
-
$code-background: system-tokens.$si-sys-background-
|
|
669
|
+
$code-background: system-tokens.$si-sys-background-active !default;
|
|
664
670
|
$code-padding-y: map.get(spacers.$spacers-block, 1) !default;
|
|
665
671
|
$code-padding-x: map.get(spacers.$spacers-inline, 2) !default;
|
|
666
672
|
$code-border-radius: semantic-tokens.$element-radius-1 !default;
|
|
@@ -26,7 +26,6 @@ $form-check-label-start: calc($form-check-size + map.get(spacers.$spacers-inline
|
|
|
26
26
|
.form-check {
|
|
27
27
|
padding-block: map.get(spacers.$spacers-block, 1);
|
|
28
28
|
padding-inline-start: calc($form-check-size + map.get(spacers.$spacers-inline, 4));
|
|
29
|
-
margin-block-end: map.get(spacers.$spacers-block, 2);
|
|
30
29
|
|
|
31
30
|
@extend %form-check-spacing;
|
|
32
31
|
|
|
@@ -37,7 +36,6 @@ $form-check-label-start: calc($form-check-size + map.get(spacers.$spacers-inline
|
|
|
37
36
|
|
|
38
37
|
.form-check-inline {
|
|
39
38
|
display: inline-block;
|
|
40
|
-
margin-block-end: 0;
|
|
41
39
|
margin-inline-end: variables.$form-check-inline-margin-end;
|
|
42
40
|
@extend %form-check-spacing;
|
|
43
41
|
}
|
|
@@ -55,7 +53,7 @@ $form-check-label-start: calc($form-check-size + map.get(spacers.$spacers-inline
|
|
|
55
53
|
}
|
|
56
54
|
|
|
57
55
|
&:is(:active, .active) {
|
|
58
|
-
background: system-tokens.$si-sys-background-
|
|
56
|
+
background: system-tokens.$si-sys-background-active;
|
|
59
57
|
}
|
|
60
58
|
|
|
61
59
|
&:is([disabled], .disabled) {
|
|
@@ -197,7 +197,6 @@ select:is(.form-control, .form-select):not([multiple]) {
|
|
|
197
197
|
)
|
|
198
198
|
center,
|
|
199
199
|
right calc(map.get(spacers.$spacers-block, 2) - variables.$input-border-width) top 50%;
|
|
200
|
-
background-size: si-vars.$si-icon-font-size, variables.$form-feedback-icon-size;
|
|
201
200
|
|
|
202
201
|
@include utilities.rtl {
|
|
203
202
|
background-position: left
|
|
@@ -215,6 +214,7 @@ select:is(.form-control, .form-select)[multiple] {
|
|
|
215
214
|
border-start-end-radius: 0;
|
|
216
215
|
border-end-end-radius: 0;
|
|
217
216
|
padding: 0;
|
|
217
|
+
block-size: unset;
|
|
218
218
|
|
|
219
219
|
option {
|
|
220
220
|
padding: map.get(spacers.$spacers-block, 4) map.get(spacers.$spacers-inline, 4);
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
font-size: variables.$form-feedback-font-size;
|
|
63
63
|
display: none;
|
|
64
64
|
inline-size: 100%;
|
|
65
|
-
line-height: typography.$si-line-height-
|
|
65
|
+
line-height: typography.$si-line-height-body-sm;
|
|
66
66
|
margin-block: map.get(spacers.$spacers-block, 1);
|
|
67
67
|
margin-inline: map.get(spacers.$spacers-inline, 1);
|
|
68
68
|
}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
@mixin badge-text {
|
|
8
8
|
min-inline-size: 0.875rem;
|
|
9
9
|
border-radius: 0.4375rem;
|
|
10
|
-
font-size: typography.$si-font-size-
|
|
10
|
+
font-size: typography.$si-font-size-body-sm;
|
|
11
11
|
line-height: 0.875rem;
|
|
12
12
|
padding-block: 0;
|
|
13
13
|
padding-inline: map.get(spacers.$spacers-inline, 2);
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
@use '../variables/animations';
|
|
4
4
|
@use '../variables/focus';
|
|
5
5
|
@use '../variables/semantic-tokens';
|
|
6
|
-
@use '../variables/spacers';
|
|
7
6
|
@use '../variables/system-tokens';
|
|
7
|
+
@use '../variables/spacers';
|
|
8
8
|
@use '../variables/typography';
|
|
9
9
|
@use '../variables/utilities';
|
|
10
10
|
|
|
@@ -28,7 +28,7 @@ $datatable-ghost-cell-strip-background: system-tokens.$si-sys-background-hover !
|
|
|
28
28
|
$datatable-ghost-cell-strip-background-image: linear-gradient(
|
|
29
29
|
90deg,
|
|
30
30
|
system-tokens.$si-sys-background-hover 0%,
|
|
31
|
-
system-tokens.$si-sys-background-
|
|
31
|
+
system-tokens.$si-sys-background-active 25%,
|
|
32
32
|
system-tokens.$si-sys-background-hover 50%
|
|
33
33
|
) !default;
|
|
34
34
|
$datatable-ghost-cell-strip-radius: 0 !default;
|
|
@@ -335,7 +335,7 @@ $datatable-ghost-cell-strip-radius: 0 !default;
|
|
|
335
335
|
align-content: flex-end;
|
|
336
336
|
background-color: $datatable-footer-background-color;
|
|
337
337
|
color: system-tokens.$si-sys-text-secondary;
|
|
338
|
-
font-size: typography.$si-font-size-
|
|
338
|
+
font-size: typography.$si-font-size-body-sm;
|
|
339
339
|
margin-block-start: -1px;
|
|
340
340
|
position: relative;
|
|
341
341
|
z-index: 11;
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
.cdk-drag-preview {
|
|
26
26
|
background-color: variables.$si-sys-background-3 !important;
|
|
27
|
-
box-shadow: variables.$
|
|
27
|
+
box-shadow: variables.$si-sys-effects-shadow-3 !important;
|
|
28
28
|
position: relative !important;
|
|
29
29
|
inset-inline-start: -5px !important;
|
|
30
30
|
inset-block-start: -10px !important;
|
|
@@ -1,21 +1,26 @@
|
|
|
1
|
-
@use '../variables/
|
|
1
|
+
@use '../variables/system-tokens';
|
|
2
2
|
|
|
3
|
-
.shadow-none
|
|
3
|
+
// @deprecated Use .shadow-none instead.
|
|
4
|
+
.elevation-none {
|
|
4
5
|
box-shadow: none;
|
|
5
6
|
}
|
|
6
7
|
|
|
8
|
+
// @deprecated Use .shadow-1 instead.
|
|
7
9
|
.elevation-1 {
|
|
8
|
-
box-shadow:
|
|
10
|
+
box-shadow: system-tokens.$si-sys-effects-shadow-1;
|
|
9
11
|
}
|
|
10
12
|
|
|
13
|
+
// @deprecated Use .shadow-2 instead.
|
|
11
14
|
.elevation-2 {
|
|
12
|
-
box-shadow:
|
|
15
|
+
box-shadow: system-tokens.$si-sys-effects-shadow-2;
|
|
13
16
|
}
|
|
14
17
|
|
|
18
|
+
// @deprecated Use .shadow-3 instead.
|
|
15
19
|
.elevation-3 {
|
|
16
|
-
box-shadow:
|
|
20
|
+
box-shadow: system-tokens.$si-sys-effects-shadow-3;
|
|
17
21
|
}
|
|
18
22
|
|
|
23
|
+
// @deprecated Use .shadow-4 instead.
|
|
19
24
|
.elevation-4 {
|
|
20
|
-
box-shadow:
|
|
25
|
+
box-shadow: system-tokens.$si-sys-effects-shadow-4;
|
|
21
26
|
}
|
|
@@ -89,19 +89,14 @@ ol:has(.list-item) {
|
|
|
89
89
|
margin-block-end: 0;
|
|
90
90
|
|
|
91
91
|
@include typography.si-font(
|
|
92
|
-
typography.$si-font-size-
|
|
93
|
-
typography.$si-line-height-
|
|
94
|
-
typography.$si-font-weight-
|
|
92
|
+
typography.$si-font-size-body-sbold,
|
|
93
|
+
typography.$si-line-height-body-sbold,
|
|
94
|
+
typography.$si-font-weight-body-sbold
|
|
95
95
|
);
|
|
96
96
|
|
|
97
97
|
&.unread {
|
|
98
98
|
position: relative;
|
|
99
|
-
|
|
100
|
-
@include typography.si-font(
|
|
101
|
-
typography.$si-font-size-h5-bold,
|
|
102
|
-
typography.$si-line-height-h5-bold,
|
|
103
|
-
typography.$si-font-weight-h5-bold
|
|
104
|
-
);
|
|
99
|
+
font-weight: typography.$si-font-weight-bold;
|
|
105
100
|
|
|
106
101
|
&::before {
|
|
107
102
|
content: '';
|
|
@@ -168,7 +163,7 @@ ol:has(.list-item) {
|
|
|
168
163
|
}
|
|
169
164
|
|
|
170
165
|
&:active {
|
|
171
|
-
background-color: variables.$si-sys-background-
|
|
166
|
+
background-color: variables.$si-sys-background-active;
|
|
172
167
|
}
|
|
173
168
|
|
|
174
169
|
&:focus-visible {
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
.search-bar.variant-background-0 & {
|
|
48
|
-
background-color: system-tokens.$si-sys-background-
|
|
48
|
+
background-color: system-tokens.$si-sys-background-2 !important; // stylelint-disable-line declaration-no-important
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
background: linear-gradient(
|
|
15
15
|
90deg,
|
|
16
16
|
system-tokens.$si-sys-background-hover 0%,
|
|
17
|
-
system-tokens.$si-sys-background-
|
|
17
|
+
system-tokens.$si-sys-background-active 25%,
|
|
18
18
|
system-tokens.$si-sys-background-hover 50%
|
|
19
19
|
);
|
|
20
20
|
background-size: 200% 100%;
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
@use './skeleton';
|
|
8
8
|
|
|
9
9
|
.si-value-widget-value {
|
|
10
|
-
@extend .si-display-
|
|
10
|
+
@extend .si-display-lg-sbold;
|
|
11
11
|
display: inline-block;
|
|
12
12
|
min-block-size: calc(
|
|
13
|
-
#{variables.$si-font-size-display-
|
|
13
|
+
#{variables.$si-font-size-display-lg-sbold} * #{variables.$si-line-height-display-lg-sbold}
|
|
14
14
|
);
|
|
15
15
|
}
|
|
16
16
|
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
* the line height.
|
|
20
20
|
*/
|
|
21
21
|
.si-value-widget-value-skeleton {
|
|
22
|
-
@extend .si-display-
|
|
22
|
+
@extend .si-display-lg-sbold;
|
|
23
23
|
@extend .si-skeleton;
|
|
24
24
|
display: inline-block;
|
|
25
|
-
block-size: #{variables.$si-font-size-display-
|
|
25
|
+
block-size: #{variables.$si-font-size-display-lg-sbold};
|
|
26
26
|
vertical-align: middle;
|
|
27
27
|
inline-size: 100%;
|
|
28
28
|
}
|
|
@@ -37,6 +37,9 @@
|
|
|
37
37
|
.#{$prefix}accent-secondary-hover {
|
|
38
38
|
background-color: tokens.$si-sys-background-accent-secondary-hover !important;
|
|
39
39
|
}
|
|
40
|
+
.#{$prefix}active {
|
|
41
|
+
background-color: tokens.$si-sys-background-active !important;
|
|
42
|
+
}
|
|
40
43
|
.#{$prefix}caution {
|
|
41
44
|
background-color: tokens.$si-sys-background-caution !important;
|
|
42
45
|
}
|
|
@@ -97,6 +100,12 @@
|
|
|
97
100
|
.#{$prefix}neutral {
|
|
98
101
|
background-color: tokens.$si-sys-background-neutral !important;
|
|
99
102
|
}
|
|
103
|
+
.#{$prefix}neutral-active {
|
|
104
|
+
background-color: tokens.$si-sys-background-neutral-active !important;
|
|
105
|
+
}
|
|
106
|
+
.#{$prefix}neutral-hover {
|
|
107
|
+
background-color: tokens.$si-sys-background-neutral-hover !important;
|
|
108
|
+
}
|
|
100
109
|
.#{$prefix}success {
|
|
101
110
|
background-color: tokens.$si-sys-background-success !important;
|
|
102
111
|
}
|
|
@@ -181,6 +190,9 @@
|
|
|
181
190
|
.#{$prefix}on-information {
|
|
182
191
|
color: tokens.$si-sys-text-on-information !important;
|
|
183
192
|
}
|
|
193
|
+
.#{$prefix}on-neutral {
|
|
194
|
+
color: tokens.$si-sys-text-on-neutral !important;
|
|
195
|
+
}
|
|
184
196
|
.#{$prefix}on-success {
|
|
185
197
|
color: tokens.$si-sys-text-on-success !important;
|
|
186
198
|
}
|
|
@@ -1,25 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
0 0 4px var(--element-box-shadow-color-1),
|
|
3
|
-
0 4px 4px var(--element-box-shadow-color-2);
|
|
4
|
-
$element-elevation-2:
|
|
5
|
-
0 0 8px var(--element-box-shadow-color-1),
|
|
6
|
-
0 8px 8px var(--element-box-shadow-color-2);
|
|
7
|
-
$element-elevation-3:
|
|
8
|
-
0 0 16px var(--element-box-shadow-color-1),
|
|
9
|
-
0 16px 16px var(--element-box-shadow-color-2);
|
|
10
|
-
$element-elevation-4:
|
|
11
|
-
0 0 32px var(--element-box-shadow-color-1),
|
|
12
|
-
0 32px 32px var(--element-box-shadow-color-2);
|
|
1
|
+
@use 'system-tokens';
|
|
13
2
|
|
|
3
|
+
// @deprecated Use $si-sys-effects-shadow-1 instead.
|
|
4
|
+
$element-elevation-1: system-tokens.$si-sys-effects-shadow-1;
|
|
5
|
+
// @deprecated Use $si-sys-effects-shadow-2 instead.
|
|
6
|
+
$element-elevation-2: system-tokens.$si-sys-effects-shadow-2;
|
|
7
|
+
// @deprecated Use $si-sys-effects-shadow-3 instead.
|
|
8
|
+
$element-elevation-3: system-tokens.$si-sys-effects-shadow-3;
|
|
9
|
+
// @deprecated Use $si-sys-effects-shadow-4 instead.
|
|
10
|
+
$element-elevation-4: system-tokens.$si-sys-effects-shadow-4;
|
|
11
|
+
|
|
12
|
+
// @deprecated There is no replacement.
|
|
14
13
|
$element-elevation-inset-1:
|
|
15
14
|
inset 0 0 4px var(--element-box-shadow-color-1),
|
|
16
15
|
inset 0 4px 4px var(--element-box-shadow-color-2);
|
|
16
|
+
// @deprecated There is no replacement.
|
|
17
17
|
$element-elevation-inset-2:
|
|
18
18
|
inset 0 0 8px var(--element-box-shadow-color-1),
|
|
19
19
|
inset 0 8px 8px var(--element-box-shadow-color-2);
|
|
20
|
+
// @deprecated There is no replacement.
|
|
20
21
|
$element-elevation-inset-3:
|
|
21
22
|
inset 0 0 16px var(--element-box-shadow-color-1),
|
|
22
23
|
inset 0 16px 16px var(--element-box-shadow-color-2);
|
|
24
|
+
// @deprecated There is no replacement.
|
|
23
25
|
$element-elevation-inset-4:
|
|
24
26
|
inset 0 0 32px var(--element-box-shadow-color-1),
|
|
25
27
|
inset 0 32px 32px var(--element-box-shadow-color-2);
|
|
@@ -21,7 +21,7 @@ $btn-width-normal: map.get(sizing.$sizing, 120);
|
|
|
21
21
|
$si-application-header-height: calc(map.get(sizing.$sizing, 100) + 1px);
|
|
22
22
|
$si-titlebar-padding-y: map.get(spacers.$spacers-block, 3);
|
|
23
23
|
$si-titlebar-height: calc(1.5rem + 2 * $si-titlebar-padding-y);
|
|
24
|
-
$si-system-banner-padding-y: map.get(spacers.$spacers-block,
|
|
24
|
+
$si-system-banner-padding-y: map.get(spacers.$spacers-block, 2);
|
|
25
25
|
$si-system-banner-height: calc(1rem + 2 * $si-system-banner-padding-y);
|
|
26
26
|
|
|
27
27
|
// allows adding a custom titlebar on top
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Siemens 2026
|
|
3
|
+
* Siemens Design Language Tokens
|
|
4
|
+
* Version 0.11.0
|
|
5
|
+
* Do not edit directly, this file was auto-generated.
|
|
6
|
+
*/
|
|
7
|
+
|
|
1
8
|
$si-sys-background-0: var(--si-sys-background-0);
|
|
2
9
|
$si-sys-background-1: var(--si-sys-background-1);
|
|
3
10
|
$si-sys-background-2: var(--si-sys-background-2);
|
|
@@ -9,6 +16,7 @@ $si-sys-background-accent-hover: var(--si-sys-background-accent-hover);
|
|
|
9
16
|
$si-sys-background-accent-secondary: var(--si-sys-background-accent-secondary);
|
|
10
17
|
$si-sys-background-accent-secondary-active: var(--si-sys-background-accent-secondary-active);
|
|
11
18
|
$si-sys-background-accent-secondary-hover: var(--si-sys-background-accent-secondary-hover);
|
|
19
|
+
$si-sys-background-active: var(--si-sys-background-active);
|
|
12
20
|
$si-sys-background-caution: var(--si-sys-background-caution);
|
|
13
21
|
$si-sys-background-caution-active: var(--si-sys-background-caution-active);
|
|
14
22
|
$si-sys-background-caution-hover: var(--si-sys-background-caution-hover);
|
|
@@ -29,7 +37,8 @@ $si-sys-background-information-hover: var(--si-sys-background-information-hover)
|
|
|
29
37
|
$si-sys-background-information-subtle: var(--si-sys-background-information-subtle);
|
|
30
38
|
$si-sys-background-inverse: var(--si-sys-background-inverse);
|
|
31
39
|
$si-sys-background-neutral: var(--si-sys-background-neutral);
|
|
32
|
-
$si-sys-background-
|
|
40
|
+
$si-sys-background-neutral-active: var(--si-sys-background-neutral-active);
|
|
41
|
+
$si-sys-background-neutral-hover: var(--si-sys-background-neutral-hover);
|
|
33
42
|
$si-sys-background-success: var(--si-sys-background-success);
|
|
34
43
|
$si-sys-background-success-active: var(--si-sys-background-success-active);
|
|
35
44
|
$si-sys-background-success-hover: var(--si-sys-background-success-hover);
|
|
@@ -57,9 +66,6 @@ $si-sys-border-success: var(--si-sys-border-success);
|
|
|
57
66
|
$si-sys-border-warning: var(--si-sys-border-warning);
|
|
58
67
|
$si-sys-border-warning-secondary: var(--si-sys-border-warning-secondary);
|
|
59
68
|
$si-sys-code-1: var(--si-sys-code-1);
|
|
60
|
-
$si-sys-code-10: var(--si-sys-code-10);
|
|
61
|
-
$si-sys-code-11: var(--si-sys-code-11);
|
|
62
|
-
$si-sys-code-12: var(--si-sys-code-12);
|
|
63
69
|
$si-sys-code-2: var(--si-sys-code-2);
|
|
64
70
|
$si-sys-code-3: var(--si-sys-code-3);
|
|
65
71
|
$si-sys-code-4: var(--si-sys-code-4);
|
|
@@ -68,23 +74,26 @@ $si-sys-code-6: var(--si-sys-code-6);
|
|
|
68
74
|
$si-sys-code-7: var(--si-sys-code-7);
|
|
69
75
|
$si-sys-code-8: var(--si-sys-code-8);
|
|
70
76
|
$si-sys-code-9: var(--si-sys-code-9);
|
|
71
|
-
$si-sys-
|
|
72
|
-
$si-sys-
|
|
73
|
-
$si-sys-
|
|
74
|
-
$si-sys-data-
|
|
75
|
-
$si-sys-data-
|
|
76
|
-
$si-sys-data-
|
|
77
|
-
$si-sys-data-
|
|
78
|
-
$si-sys-data-
|
|
79
|
-
$si-sys-data-
|
|
80
|
-
$si-sys-data-
|
|
81
|
-
$si-sys-data-
|
|
82
|
-
$si-sys-data-
|
|
83
|
-
$si-sys-data-
|
|
84
|
-
$si-sys-data-
|
|
85
|
-
$si-sys-data-
|
|
86
|
-
$si-sys-data-
|
|
87
|
-
$si-sys-data-
|
|
77
|
+
$si-sys-code-10: var(--si-sys-code-10);
|
|
78
|
+
$si-sys-code-11: var(--si-sys-code-11);
|
|
79
|
+
$si-sys-code-12: var(--si-sys-code-12);
|
|
80
|
+
$si-sys-data-categorical-1: var(--si-sys-data-categorical-1);
|
|
81
|
+
$si-sys-data-categorical-2: var(--si-sys-data-categorical-2);
|
|
82
|
+
$si-sys-data-categorical-3: var(--si-sys-data-categorical-3);
|
|
83
|
+
$si-sys-data-categorical-4: var(--si-sys-data-categorical-4);
|
|
84
|
+
$si-sys-data-categorical-5: var(--si-sys-data-categorical-5);
|
|
85
|
+
$si-sys-data-categorical-6: var(--si-sys-data-categorical-6);
|
|
86
|
+
$si-sys-data-categorical-7: var(--si-sys-data-categorical-7);
|
|
87
|
+
$si-sys-data-categorical-8: var(--si-sys-data-categorical-8);
|
|
88
|
+
$si-sys-data-categorical-9: var(--si-sys-data-categorical-9);
|
|
89
|
+
$si-sys-data-categorical-10: var(--si-sys-data-categorical-10);
|
|
90
|
+
$si-sys-data-categorical-11: var(--si-sys-data-categorical-11);
|
|
91
|
+
$si-sys-data-categorical-12: var(--si-sys-data-categorical-12);
|
|
92
|
+
$si-sys-data-categorical-13: var(--si-sys-data-categorical-13);
|
|
93
|
+
$si-sys-data-categorical-14: var(--si-sys-data-categorical-14);
|
|
94
|
+
$si-sys-data-categorical-15: var(--si-sys-data-categorical-15);
|
|
95
|
+
$si-sys-data-categorical-16: var(--si-sys-data-categorical-16);
|
|
96
|
+
$si-sys-data-categorical-17: var(--si-sys-data-categorical-17);
|
|
88
97
|
$si-sys-data-rating-average: var(--si-sys-data-rating-average);
|
|
89
98
|
$si-sys-data-rating-bad: var(--si-sys-data-rating-bad);
|
|
90
99
|
$si-sys-data-rating-excellent: var(--si-sys-data-rating-excellent);
|
|
@@ -171,6 +180,7 @@ $si-sys-text-on-critical: var(--si-sys-text-on-critical);
|
|
|
171
180
|
$si-sys-text-on-danger: var(--si-sys-text-on-danger);
|
|
172
181
|
$si-sys-text-on-danger-secondary: var(--si-sys-text-on-danger-secondary);
|
|
173
182
|
$si-sys-text-on-information: var(--si-sys-text-on-information);
|
|
183
|
+
$si-sys-text-on-neutral: var(--si-sys-text-on-neutral);
|
|
174
184
|
$si-sys-text-on-success: var(--si-sys-text-on-success);
|
|
175
185
|
$si-sys-text-on-warning: var(--si-sys-text-on-warning);
|
|
176
186
|
$si-sys-text-on-warning-secondary: var(--si-sys-text-on-warning-secondary);
|
|
@@ -33,6 +33,7 @@ $si-font-size-h1: var(--si-sys-typography-font-size-h1);
|
|
|
33
33
|
$si-line-height-h1: var(--si-sys-typography-line-height-h1);
|
|
34
34
|
$si-font-weight-h1: $si-font-weight-sbold;
|
|
35
35
|
|
|
36
|
+
// DEPRECATED: Use the $si-*-h1 variables instead.
|
|
36
37
|
$si-font-size-h1-bold: $si-font-size-h1;
|
|
37
38
|
$si-line-height-h1-bold: $si-line-height-h1;
|
|
38
39
|
$si-font-weight-h1-bold: $si-font-weight-bold;
|
|
@@ -49,6 +50,7 @@ $si-font-size-h4: var(--si-sys-typography-font-size-h4);
|
|
|
49
50
|
$si-line-height-h4: var(--si-sys-typography-line-height-h4);
|
|
50
51
|
$si-font-weight-h4: $si-font-weight-sbold;
|
|
51
52
|
|
|
53
|
+
// DEPRECATED: Use the $si-*-h4 variables instead.
|
|
52
54
|
$si-font-size-h4-bold: $si-font-size-h4;
|
|
53
55
|
$si-line-height-h4-bold: $si-line-height-h4;
|
|
54
56
|
$si-font-weight-h4-bold: $si-font-weight-bold;
|
|
@@ -69,6 +71,7 @@ $si-font-size-body-lg: var(--si-sys-typography-font-size-body-lg);
|
|
|
69
71
|
$si-line-height-body-lg: var(--si-sys-typography-line-height-body-lg);
|
|
70
72
|
$si-font-weight-body-lg: $si-font-weight-normal;
|
|
71
73
|
|
|
74
|
+
// DEPRECATED: Use the $si-*-body-lg-sbold variables instead.
|
|
72
75
|
$si-font-size-body-lg-bold: var(--si-sys-typography-font-size-body-lg);
|
|
73
76
|
$si-line-height-body-lg-bold: $si-line-height-body-lg;
|
|
74
77
|
$si-font-weight-body-lg-bold: $si-font-weight-sbold;
|
|
@@ -101,6 +104,7 @@ $si-font-size-body-sm-sbold: $si-font-size-body-sm;
|
|
|
101
104
|
$si-line-height-body-sm-sbold: $si-line-height-body-sm;
|
|
102
105
|
$si-font-weight-body-sm-sbold: $si-font-weight-sbold;
|
|
103
106
|
|
|
107
|
+
// DEPRECATED: Use the $si-*-body-sm variables instead.
|
|
104
108
|
$si-font-size-caption: $si-font-size-body-sm;
|
|
105
109
|
$si-line-height-caption: $si-line-height-body-sm;
|
|
106
110
|
$si-font-weight-caption: $si-font-weight-normal;
|
|
@@ -129,6 +133,7 @@ $si-font-size-display-lg-sbold: $si-font-size-display-lg;
|
|
|
129
133
|
$si-line-height-display-lg-sbold: $si-line-height-display-lg;
|
|
130
134
|
$si-font-weight-display-lg-sbold: $si-font-weight-sbold;
|
|
131
135
|
|
|
136
|
+
// DEPRECATED: Use the $si-*-display-lg-sbold variables instead.
|
|
132
137
|
$si-font-size-display-bold: $si-font-size-display-lg;
|
|
133
138
|
$si-line-height-display-bold: $si-line-height-display-lg;
|
|
134
139
|
$si-font-weight-display-bold: $si-font-weight-bold;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
@use '../bootstrap/variables';
|
|
4
4
|
@use 'spacers';
|
|
5
|
+
@use 'system-tokens';
|
|
5
6
|
|
|
6
7
|
$_margins-inline: map.merge(
|
|
7
8
|
spacers.$spacers-inline,
|
|
@@ -57,9 +58,16 @@ $utilities: (
|
|
|
57
58
|
property: box-shadow,
|
|
58
59
|
class: shadow,
|
|
59
60
|
values: (
|
|
61
|
+
// Deprecated: Use shadow-2 instead.
|
|
60
62
|
null: variables.$box-shadow,
|
|
63
|
+
// Deprecated: Use shadow-1 instead.
|
|
61
64
|
sm: variables.$box-shadow-sm,
|
|
65
|
+
// Deprecated: Use shadow-3 instead.
|
|
62
66
|
lg: variables.$box-shadow-lg,
|
|
67
|
+
1: system-tokens.$si-sys-effects-shadow-1,
|
|
68
|
+
2: system-tokens.$si-sys-effects-shadow-2,
|
|
69
|
+
3: system-tokens.$si-sys-effects-shadow-3,
|
|
70
|
+
4: system-tokens.$si-sys-effects-shadow-4,
|
|
63
71
|
none: none
|
|
64
72
|
)
|
|
65
73
|
),
|
|
@@ -255,7 +255,7 @@ $theme-element-light: (
|
|
|
255
255
|
si-sys-background-3: base.$color-white,
|
|
256
256
|
si-sys-background-4: base.$color-experimental-deep-blue-25,
|
|
257
257
|
si-sys-background-hover: base.$color-light-sand,
|
|
258
|
-
si-sys-background-
|
|
258
|
+
si-sys-background-active: base.$color-sand,
|
|
259
259
|
si-sys-background-accent: base.$color-interactive-blue-500,
|
|
260
260
|
si-sys-background-accent-hover: base.$color-teal,
|
|
261
261
|
si-sys-background-accent-active: base.$color-interactive-blue-700,
|
|
@@ -305,6 +305,18 @@ $theme-element-light: (
|
|
|
305
305
|
si-sys-text-on-danger-secondary: base.$color-red-500,
|
|
306
306
|
si-sys-text-critical: data.$color-data-orchid-700,
|
|
307
307
|
si-sys-text-on-critical: base.$color-white,
|
|
308
|
+
si-sys-code-1: data.$color-data-royal-blue-900,
|
|
309
|
+
si-sys-code-2: base.$color-teal,
|
|
310
|
+
si-sys-code-3: data.$color-data-blue-900,
|
|
311
|
+
si-sys-code-4: data.$color-data-yellow-900,
|
|
312
|
+
si-sys-code-5: data.$color-data-yellow-900,
|
|
313
|
+
si-sys-code-6: data.$color-data-turquoise-700,
|
|
314
|
+
si-sys-code-7: data.$color-data-orchid-500,
|
|
315
|
+
si-sys-code-8: base.$color-deep-blue-600,
|
|
316
|
+
si-sys-code-9: base.$color-deep-blue-600,
|
|
317
|
+
si-sys-code-10: data.$color-data-purple-900,
|
|
318
|
+
si-sys-code-11: data.$color-data-interactive-coral-700,
|
|
319
|
+
si-sys-code-12: base.$color-red-700,
|
|
308
320
|
si-sys-border-1: base.$color-deep-blue-900,
|
|
309
321
|
si-sys-border-2: base.$color-deep-blue-600,
|
|
310
322
|
si-sys-border-3: base.$color-deep-blue-400,
|
|
@@ -327,23 +339,23 @@ $theme-element-light: (
|
|
|
327
339
|
si-sys-effects-shadow-1: base.$color-white,
|
|
328
340
|
si-sys-effects-shadow-2: base.$color-light-sand,
|
|
329
341
|
si-sys-effects-shadow-3: base.$color-white,
|
|
330
|
-
si-sys-data-
|
|
331
|
-
si-sys-data-
|
|
332
|
-
si-sys-data-
|
|
333
|
-
si-sys-data-
|
|
334
|
-
si-sys-data-
|
|
335
|
-
si-sys-data-
|
|
336
|
-
si-sys-data-
|
|
337
|
-
si-sys-data-
|
|
338
|
-
si-sys-data-
|
|
339
|
-
si-sys-data-
|
|
340
|
-
si-sys-data-
|
|
341
|
-
si-sys-data-
|
|
342
|
-
si-sys-data-
|
|
343
|
-
si-sys-data-
|
|
344
|
-
si-sys-data-
|
|
345
|
-
si-sys-data-
|
|
346
|
-
si-sys-data-
|
|
342
|
+
si-sys-data-categorical-1: data.$color-data-petrol,
|
|
343
|
+
si-sys-data-categorical-2: data.$color-data-turquoise-900,
|
|
344
|
+
si-sys-data-categorical-3: data.$color-data-green-700,
|
|
345
|
+
si-sys-data-categorical-4: data.$color-data-turquoise-700,
|
|
346
|
+
si-sys-data-categorical-5: data.$color-data-royal-blue-500,
|
|
347
|
+
si-sys-data-categorical-6: data.$color-data-interactive-coral-900,
|
|
348
|
+
si-sys-data-categorical-7: data.$color-data-purple-700,
|
|
349
|
+
si-sys-data-categorical-8: data.$color-data-purple-900,
|
|
350
|
+
si-sys-data-categorical-9: data.$color-data-orchid-700,
|
|
351
|
+
si-sys-data-categorical-10: data.$color-data-red-700,
|
|
352
|
+
si-sys-data-categorical-11: data.$color-data-plum-900,
|
|
353
|
+
si-sys-data-categorical-12: data.$color-data-plum-500,
|
|
354
|
+
si-sys-data-categorical-13: data.$color-data-royal-blue-700,
|
|
355
|
+
si-sys-data-categorical-14: data.$color-data-orange-900,
|
|
356
|
+
si-sys-data-categorical-15: data.$color-data-yellow-900,
|
|
357
|
+
si-sys-data-categorical-16: data.$color-data-sand-700,
|
|
358
|
+
si-sys-data-categorical-17: data.$color-data-deep-blue-700,
|
|
347
359
|
si-sys-data-sequential-avocado-1: data.$color-data-avocado-400,
|
|
348
360
|
si-sys-data-sequential-avocado-2: data.$color-data-avocado-500,
|
|
349
361
|
si-sys-data-sequential-avocado-3: data.$color-data-avocado-700,
|
|
@@ -586,7 +598,7 @@ $theme-element-dark: (
|
|
|
586
598
|
si-sys-background-3: base.$color-grayish-navy,
|
|
587
599
|
si-sys-background-4: base.$color-experimental-deep-blue-850,
|
|
588
600
|
si-sys-background-hover: base.$color-dark-grayish-navy,
|
|
589
|
-
si-sys-background-
|
|
601
|
+
si-sys-background-active: base.$color-grayish-navy,
|
|
590
602
|
si-sys-background-accent: base.$color-interactive-coral,
|
|
591
603
|
si-sys-background-accent-hover: base.$color-bold-green,
|
|
592
604
|
si-sys-background-accent-active: base.$color-interactive-blue-700,
|
|
@@ -636,6 +648,18 @@ $theme-element-dark: (
|
|
|
636
648
|
si-sys-text-on-danger-secondary: base.$color-red-300,
|
|
637
649
|
si-sys-text-critical: data.$color-data-orchid-100,
|
|
638
650
|
si-sys-text-on-critical: base.$color-white,
|
|
651
|
+
si-sys-code-1: data.$color-data-deep-blue-100,
|
|
652
|
+
si-sys-code-2: data.$color-data-royal-blue-200,
|
|
653
|
+
si-sys-code-3: data.$color-data-blue-200,
|
|
654
|
+
si-sys-code-4: data.$color-data-orange-200,
|
|
655
|
+
si-sys-code-5: data.$color-data-yellow-200,
|
|
656
|
+
si-sys-code-6: data.$color-data-green-200,
|
|
657
|
+
si-sys-code-7: data.$color-data-orchid-200,
|
|
658
|
+
si-sys-code-8: data.$color-data-sand-500,
|
|
659
|
+
si-sys-code-9: base.$color-deep-blue-500,
|
|
660
|
+
si-sys-code-10: data.$color-data-purple-400,
|
|
661
|
+
si-sys-code-11: data.$color-data-turquoise-100,
|
|
662
|
+
si-sys-code-12: base.$color-red-300,
|
|
639
663
|
si-sys-border-1: base.$color-white,
|
|
640
664
|
si-sys-border-2: base.$color-deep-blue-400,
|
|
641
665
|
si-sys-border-3: base.$color-deep-blue-600,
|
|
@@ -658,23 +682,23 @@ $theme-element-dark: (
|
|
|
658
682
|
si-sys-effects-shadow-1: base.$color-deep-blue-800,
|
|
659
683
|
si-sys-effects-shadow-2: base.$color-deep-blue-700,
|
|
660
684
|
si-sys-effects-shadow-3: base.$color-grayish-navy,
|
|
661
|
-
si-sys-data-
|
|
662
|
-
si-sys-data-
|
|
663
|
-
si-sys-data-
|
|
664
|
-
si-sys-data-
|
|
665
|
-
si-sys-data-
|
|
666
|
-
si-sys-data-
|
|
667
|
-
si-sys-data-
|
|
668
|
-
si-sys-data-
|
|
669
|
-
si-sys-data-
|
|
670
|
-
si-sys-data-
|
|
671
|
-
si-sys-data-
|
|
672
|
-
si-sys-data-
|
|
673
|
-
si-sys-data-
|
|
674
|
-
si-sys-data-
|
|
675
|
-
si-sys-data-
|
|
676
|
-
si-sys-data-
|
|
677
|
-
si-sys-data-
|
|
685
|
+
si-sys-data-categorical-1: data.$color-data-light-petrol,
|
|
686
|
+
si-sys-data-categorical-2: data.$color-data-bold-green,
|
|
687
|
+
si-sys-data-categorical-3: data.$color-data-green-400,
|
|
688
|
+
si-sys-data-categorical-4: data.$color-data-turquoise-100,
|
|
689
|
+
si-sys-data-categorical-5: data.$color-data-royal-blue-400,
|
|
690
|
+
si-sys-data-categorical-6: data.$color-data-interactive-coral-100,
|
|
691
|
+
si-sys-data-categorical-7: data.$color-data-purple-500,
|
|
692
|
+
si-sys-data-categorical-8: data.$color-data-purple-200,
|
|
693
|
+
si-sys-data-categorical-9: data.$color-data-orchid-400,
|
|
694
|
+
si-sys-data-categorical-10: data.$color-data-red-500,
|
|
695
|
+
si-sys-data-categorical-11: data.$color-data-plum-400,
|
|
696
|
+
si-sys-data-categorical-12: data.$color-data-plum-200,
|
|
697
|
+
si-sys-data-categorical-13: data.$color-data-royal-blue-200,
|
|
698
|
+
si-sys-data-categorical-14: data.$color-data-orange-400,
|
|
699
|
+
si-sys-data-categorical-15: data.$color-data-yellow-400,
|
|
700
|
+
si-sys-data-categorical-16: data.$color-data-sand-500,
|
|
701
|
+
si-sys-data-categorical-17: data.$color-data-deep-blue-500,
|
|
678
702
|
si-sys-data-sequential-avocado-1: data.$color-data-avocado-200,
|
|
679
703
|
si-sys-data-sequential-avocado-2: data.$color-data-avocado-400,
|
|
680
704
|
si-sys-data-sequential-avocado-3: data.$color-data-avocado-500,
|