@siemens/element-theme 51.0.0-rc.8 → 51.0.0-rc.9
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/_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 +1 -1
- 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/_variables.scss +18 -10
- package/src/styles/bootstrap/forms/_form-check.scss +1 -3
- 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 +1 -1
- package/src/styles/components/_pills.scss +1 -1
- package/src/styles/components/_skeleton.scss +1 -1
- package/src/styles/components/_widgets.scss +4 -4
- package/src/styles/variables/_elevation.scss +14 -12
- package/src/styles/variables/_si-vars.scss +1 -1
- package/src/styles/variables/_system-tokens.scss +18 -18
- package/src/styles/variables/_typography.scss +5 -0
- package/src/styles/variables/_utilities.scss +8 -0
- package/src/theme/_theme-element.scss +36 -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();
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
.list-header {
|
|
112
|
-
font-size: typography.$si-font-size-
|
|
112
|
+
font-size: typography.$si-font-size-body-sm;
|
|
113
113
|
padding-block: variables.$list-group-item-padding-y;
|
|
114
114
|
padding-inline: variables.$list-group-item-padding-x;
|
|
115
115
|
color: variables.$headings-color;
|
|
@@ -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(
|
|
@@ -1,5 +1,4 @@
|
|
|
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';
|
|
@@ -134,9 +133,13 @@ $border-radius-sm: semantic-tokens.$element-radius-1 !default;
|
|
|
134
133
|
$border-radius-lg: semantic-tokens.$element-radius-2 !default;
|
|
135
134
|
$border-radius-pill: 50rem !default;
|
|
136
135
|
|
|
137
|
-
$
|
|
138
|
-
$box-shadow
|
|
139
|
-
$
|
|
136
|
+
// DEPRECATED: Use $si-sys-effects-shadow-2 instead.
|
|
137
|
+
$box-shadow: system-tokens.$si-sys-effects-shadow-2 !default;
|
|
138
|
+
// DEPRECATED: Use $si-sys-effects-shadow-1 instead.
|
|
139
|
+
$box-shadow-sm: system-tokens.$si-sys-effects-shadow-1 !default;
|
|
140
|
+
// DEPRECATED: Use $si-sys-effects-shadow-3 instead.
|
|
141
|
+
$box-shadow-lg: system-tokens.$si-sys-effects-shadow-3 !default;
|
|
142
|
+
// DEPRECATED: There is no replacement.
|
|
140
143
|
$box-shadow-inset: inset 0 1px 1px var(--element-box-shadow-color-2);
|
|
141
144
|
|
|
142
145
|
$component-active-color: semantic-tokens.$element-ui-5 !default;
|
|
@@ -165,7 +168,7 @@ $font-family-code: $font-family-monospace !default;
|
|
|
165
168
|
// $font-size-base effects the font size of the body text
|
|
166
169
|
$font-size-base: typography.$si-font-size-body !default;
|
|
167
170
|
$font-size-lg: typography.$si-font-size-body-lg !default;
|
|
168
|
-
$font-size-sm: typography.$si-font-size-
|
|
171
|
+
$font-size-sm: typography.$si-font-size-body-sm !default;
|
|
169
172
|
|
|
170
173
|
$font-weight-lighter: typography.$si-font-weight-lighter;
|
|
171
174
|
$font-weight-light: typography.$si-font-weight-light;
|
|
@@ -208,7 +211,7 @@ $lead-font-size: typography.$si-font-size-body-lg !default;
|
|
|
208
211
|
$lead-line-height: typography.$si-line-height-body-lg !default;
|
|
209
212
|
$lead-font-weight: typography.$si-font-weight-body-lg !default;
|
|
210
213
|
|
|
211
|
-
$small-font-size: typography.$si-font-size-
|
|
214
|
+
$small-font-size: typography.$si-font-size-body-sm !default;
|
|
212
215
|
|
|
213
216
|
$sub-sup-font-size: 0.75em !default;
|
|
214
217
|
|
|
@@ -262,7 +265,7 @@ $table-striped-color: $table-color !default;
|
|
|
262
265
|
$table-striped-bg: system-tokens.$si-sys-background-0 !default;
|
|
263
266
|
|
|
264
267
|
$table-active-color: $table-color !default;
|
|
265
|
-
$table-active-bg: system-tokens.$si-sys-background-
|
|
268
|
+
$table-active-bg: system-tokens.$si-sys-background-active !default;
|
|
266
269
|
|
|
267
270
|
$table-hover-color: $table-color !default;
|
|
268
271
|
$table-hover-bg: system-tokens.$si-sys-background-hover !default;
|
|
@@ -346,6 +349,7 @@ $input-color: system-tokens.$si-sys-text-primary !default;
|
|
|
346
349
|
$input-border-color: system-tokens.$si-sys-border-2 !default;
|
|
347
350
|
$input-focus-border-color: system-tokens.$si-sys-border-1 !default;
|
|
348
351
|
$input-border-width: $border-width !default;
|
|
352
|
+
// DEPRECATED: There is no replacement.
|
|
349
353
|
$input-box-shadow: $box-shadow-inset !default;
|
|
350
354
|
|
|
351
355
|
$input-border-radius: semantic-tokens.$element-input-radius !default;
|
|
@@ -464,7 +468,7 @@ $dropdown-bg: system-tokens.$si-sys-background-1 !default;
|
|
|
464
468
|
$dropdown-border-radius: semantic-tokens.$element-radius-2 !default;
|
|
465
469
|
$dropdown-divider-bg: system-tokens.$si-sys-border-4 !default;
|
|
466
470
|
$dropdown-divider-margin-y: 4px !default;
|
|
467
|
-
$dropdown-box-shadow:
|
|
471
|
+
$dropdown-box-shadow: system-tokens.$si-sys-effects-shadow-2 !default;
|
|
468
472
|
$dropdown-link-color: system-tokens.$si-sys-text-primary !default;
|
|
469
473
|
$dropdown-link-disabled-color: system-tokens.$si-sys-text-disabled !default;
|
|
470
474
|
$dropdown-item-padding-y: map.get(spacers.$spacers-block, 2);
|
|
@@ -516,6 +520,7 @@ $popover-inner-border-radius: functions.subtract(
|
|
|
516
520
|
$popover-border-radius,
|
|
517
521
|
$popover-border-width
|
|
518
522
|
) !default;
|
|
523
|
+
// DEPRECATED: Use $si-sys-effects-shadow-3 instead.
|
|
519
524
|
$popover-box-shadow: $box-shadow !default;
|
|
520
525
|
|
|
521
526
|
$popover-header-bg: system-tokens.$si-sys-background-3 !default;
|
|
@@ -554,7 +559,9 @@ $modal-content-inner-border-radius: functions.subtract(
|
|
|
554
559
|
$modal-content-border-radius,
|
|
555
560
|
$modal-content-border-width
|
|
556
561
|
) !default;
|
|
562
|
+
// DEPRECATED: Use $si-sys-effects-shadow-3 instead.
|
|
557
563
|
$modal-content-box-shadow-xs: $box-shadow-sm !default;
|
|
564
|
+
// DEPRECATED: Use $si-sys-effects-shadow-2 instead.
|
|
558
565
|
$modal-content-box-shadow-sm-up: $box-shadow !default;
|
|
559
566
|
|
|
560
567
|
$modal-backdrop-bg: system-tokens.$si-sys-effects-backdrop !default;
|
|
@@ -615,7 +622,7 @@ $list-group-item-padding-x: map.get(spacers.$spacers-inline, 6) !default; // 1.2
|
|
|
615
622
|
|
|
616
623
|
$list-group-hover-bg: system-tokens.$si-sys-background-hover !default;
|
|
617
624
|
$list-group-active-color: $body-color !default;
|
|
618
|
-
$list-group-active-bg: system-tokens.$si-sys-background-
|
|
625
|
+
$list-group-active-bg: system-tokens.$si-sys-background-active !default;
|
|
619
626
|
$list-group-active-border-color: $border-color !default;
|
|
620
627
|
|
|
621
628
|
$list-group-disabled-color: system-tokens.$si-sys-text-disabled !default;
|
|
@@ -634,6 +641,7 @@ $thumbnail-bg: $body-bg !default;
|
|
|
634
641
|
$thumbnail-border-width: $border-width !default;
|
|
635
642
|
$thumbnail-border-color: $border-color !default;
|
|
636
643
|
$thumbnail-border-radius: $border-radius !default;
|
|
644
|
+
// DEPRECATED: Use $si-sys-effects-shadow-1 instead.
|
|
637
645
|
$thumbnail-box-shadow: $box-shadow-sm !default;
|
|
638
646
|
|
|
639
647
|
// Figures
|
|
@@ -660,7 +668,7 @@ $breadcrumb-border-radius: 0 !default;
|
|
|
660
668
|
$code-font-size: typography.$si-font-size-body !default;
|
|
661
669
|
$code-line-height: typography.$si-line-height-body !default;
|
|
662
670
|
$code-color: system-tokens.$si-sys-text-primary !default;
|
|
663
|
-
$code-background: system-tokens.$si-sys-background-
|
|
671
|
+
$code-background: system-tokens.$si-sys-background-active !default;
|
|
664
672
|
$code-padding-y: map.get(spacers.$spacers-block, 1) !default;
|
|
665
673
|
$code-padding-x: map.get(spacers.$spacers-inline, 2) !default;
|
|
666
674
|
$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) {
|
|
@@ -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
|
}
|
|
@@ -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
|
}
|
|
@@ -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
|
|
@@ -29,7 +29,7 @@ $si-sys-background-information-hover: var(--si-sys-background-information-hover)
|
|
|
29
29
|
$si-sys-background-information-subtle: var(--si-sys-background-information-subtle);
|
|
30
30
|
$si-sys-background-inverse: var(--si-sys-background-inverse);
|
|
31
31
|
$si-sys-background-neutral: var(--si-sys-background-neutral);
|
|
32
|
-
$si-sys-background-
|
|
32
|
+
$si-sys-background-active: var(--si-sys-background-active);
|
|
33
33
|
$si-sys-background-success: var(--si-sys-background-success);
|
|
34
34
|
$si-sys-background-success-active: var(--si-sys-background-success-active);
|
|
35
35
|
$si-sys-background-success-hover: var(--si-sys-background-success-hover);
|
|
@@ -68,23 +68,23 @@ $si-sys-code-6: var(--si-sys-code-6);
|
|
|
68
68
|
$si-sys-code-7: var(--si-sys-code-7);
|
|
69
69
|
$si-sys-code-8: var(--si-sys-code-8);
|
|
70
70
|
$si-sys-code-9: var(--si-sys-code-9);
|
|
71
|
-
$si-sys-data-
|
|
72
|
-
$si-sys-data-
|
|
73
|
-
$si-sys-data-
|
|
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-
|
|
71
|
+
$si-sys-data-categorical-1: var(--si-sys-data-categorical-1);
|
|
72
|
+
$si-sys-data-categorical-10: var(--si-sys-data-categorical-10);
|
|
73
|
+
$si-sys-data-categorical-11: var(--si-sys-data-categorical-11);
|
|
74
|
+
$si-sys-data-categorical-12: var(--si-sys-data-categorical-12);
|
|
75
|
+
$si-sys-data-categorical-13: var(--si-sys-data-categorical-13);
|
|
76
|
+
$si-sys-data-categorical-14: var(--si-sys-data-categorical-14);
|
|
77
|
+
$si-sys-data-categorical-15: var(--si-sys-data-categorical-15);
|
|
78
|
+
$si-sys-data-categorical-16: var(--si-sys-data-categorical-16);
|
|
79
|
+
$si-sys-data-categorical-17: var(--si-sys-data-categorical-17);
|
|
80
|
+
$si-sys-data-categorical-2: var(--si-sys-data-categorical-2);
|
|
81
|
+
$si-sys-data-categorical-3: var(--si-sys-data-categorical-3);
|
|
82
|
+
$si-sys-data-categorical-4: var(--si-sys-data-categorical-4);
|
|
83
|
+
$si-sys-data-categorical-5: var(--si-sys-data-categorical-5);
|
|
84
|
+
$si-sys-data-categorical-6: var(--si-sys-data-categorical-6);
|
|
85
|
+
$si-sys-data-categorical-7: var(--si-sys-data-categorical-7);
|
|
86
|
+
$si-sys-data-categorical-8: var(--si-sys-data-categorical-8);
|
|
87
|
+
$si-sys-data-categorical-9: var(--si-sys-data-categorical-9);
|
|
88
88
|
$si-sys-data-rating-average: var(--si-sys-data-rating-average);
|
|
89
89
|
$si-sys-data-rating-bad: var(--si-sys-data-rating-bad);
|
|
90
90
|
$si-sys-data-rating-excellent: var(--si-sys-data-rating-excellent);
|
|
@@ -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,
|
|
@@ -327,23 +327,23 @@ $theme-element-light: (
|
|
|
327
327
|
si-sys-effects-shadow-1: base.$color-white,
|
|
328
328
|
si-sys-effects-shadow-2: base.$color-light-sand,
|
|
329
329
|
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-
|
|
330
|
+
si-sys-data-categorical-1: data.$color-data-petrol,
|
|
331
|
+
si-sys-data-categorical-2: data.$color-data-turquoise-900,
|
|
332
|
+
si-sys-data-categorical-3: data.$color-data-green-700,
|
|
333
|
+
si-sys-data-categorical-4: data.$color-data-turquoise-700,
|
|
334
|
+
si-sys-data-categorical-5: data.$color-data-royal-blue-500,
|
|
335
|
+
si-sys-data-categorical-6: data.$color-data-interactive-coral-900,
|
|
336
|
+
si-sys-data-categorical-7: data.$color-data-purple-700,
|
|
337
|
+
si-sys-data-categorical-8: data.$color-data-purple-900,
|
|
338
|
+
si-sys-data-categorical-9: data.$color-data-orchid-700,
|
|
339
|
+
si-sys-data-categorical-10: data.$color-data-red-700,
|
|
340
|
+
si-sys-data-categorical-11: data.$color-data-plum-900,
|
|
341
|
+
si-sys-data-categorical-12: data.$color-data-plum-500,
|
|
342
|
+
si-sys-data-categorical-13: data.$color-data-royal-blue-700,
|
|
343
|
+
si-sys-data-categorical-14: data.$color-data-orange-900,
|
|
344
|
+
si-sys-data-categorical-15: data.$color-data-yellow-900,
|
|
345
|
+
si-sys-data-categorical-16: data.$color-data-sand-700,
|
|
346
|
+
si-sys-data-categorical-17: data.$color-data-deep-blue-700,
|
|
347
347
|
si-sys-data-sequential-avocado-1: data.$color-data-avocado-400,
|
|
348
348
|
si-sys-data-sequential-avocado-2: data.$color-data-avocado-500,
|
|
349
349
|
si-sys-data-sequential-avocado-3: data.$color-data-avocado-700,
|
|
@@ -586,7 +586,7 @@ $theme-element-dark: (
|
|
|
586
586
|
si-sys-background-3: base.$color-grayish-navy,
|
|
587
587
|
si-sys-background-4: base.$color-experimental-deep-blue-850,
|
|
588
588
|
si-sys-background-hover: base.$color-dark-grayish-navy,
|
|
589
|
-
si-sys-background-
|
|
589
|
+
si-sys-background-active: base.$color-grayish-navy,
|
|
590
590
|
si-sys-background-accent: base.$color-interactive-coral,
|
|
591
591
|
si-sys-background-accent-hover: base.$color-bold-green,
|
|
592
592
|
si-sys-background-accent-active: base.$color-interactive-blue-700,
|
|
@@ -658,23 +658,23 @@ $theme-element-dark: (
|
|
|
658
658
|
si-sys-effects-shadow-1: base.$color-deep-blue-800,
|
|
659
659
|
si-sys-effects-shadow-2: base.$color-deep-blue-700,
|
|
660
660
|
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-
|
|
661
|
+
si-sys-data-categorical-1: data.$color-data-light-petrol,
|
|
662
|
+
si-sys-data-categorical-2: data.$color-data-bold-green,
|
|
663
|
+
si-sys-data-categorical-3: data.$color-data-green-400,
|
|
664
|
+
si-sys-data-categorical-4: data.$color-data-turquoise-100,
|
|
665
|
+
si-sys-data-categorical-5: data.$color-data-royal-blue-400,
|
|
666
|
+
si-sys-data-categorical-6: data.$color-data-interactive-coral-100,
|
|
667
|
+
si-sys-data-categorical-7: data.$color-data-purple-500,
|
|
668
|
+
si-sys-data-categorical-8: data.$color-data-purple-200,
|
|
669
|
+
si-sys-data-categorical-9: data.$color-data-orchid-400,
|
|
670
|
+
si-sys-data-categorical-10: data.$color-data-red-500,
|
|
671
|
+
si-sys-data-categorical-11: data.$color-data-plum-400,
|
|
672
|
+
si-sys-data-categorical-12: data.$color-data-plum-200,
|
|
673
|
+
si-sys-data-categorical-13: data.$color-data-royal-blue-200,
|
|
674
|
+
si-sys-data-categorical-14: data.$color-data-orange-400,
|
|
675
|
+
si-sys-data-categorical-15: data.$color-data-yellow-400,
|
|
676
|
+
si-sys-data-categorical-16: data.$color-data-sand-500,
|
|
677
|
+
si-sys-data-categorical-17: data.$color-data-deep-blue-500,
|
|
678
678
|
si-sys-data-sequential-avocado-1: data.$color-data-avocado-200,
|
|
679
679
|
si-sys-data-sequential-avocado-2: data.$color-data-avocado-400,
|
|
680
680
|
si-sys-data-sequential-avocado-3: data.$color-data-avocado-500,
|