@siemens/element-theme 51.6.0 → 51.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/styles/_density.scss +43 -130
- package/src/styles/_variables.scss +2 -1
- package/src/styles/bootstrap/_alert.scss +22 -23
- package/src/styles/bootstrap/_badges.scss +42 -43
- package/src/styles/bootstrap/_button-group.scss +14 -15
- package/src/styles/bootstrap/_buttons.scss +70 -71
- package/src/styles/bootstrap/_card.scss +16 -16
- package/src/styles/bootstrap/_dropdowns.scss +6 -7
- package/src/styles/bootstrap/_functions.scss +4 -8
- package/src/styles/bootstrap/_images.scss +2 -2
- package/src/styles/bootstrap/_list-group.scss +14 -15
- package/src/styles/bootstrap/_modals.scss +4 -9
- package/src/styles/bootstrap/_nav.scss +12 -14
- package/src/styles/bootstrap/_pagination.scss +6 -8
- package/src/styles/bootstrap/_popovers.scss +4 -5
- package/src/styles/bootstrap/_reboot.scss +4 -3
- package/src/styles/bootstrap/_root.scss +11 -0
- package/src/styles/bootstrap/_tables.scss +4 -4
- package/src/styles/bootstrap/_type.scss +92 -91
- package/src/styles/bootstrap/_utilities.scss +39 -39
- package/src/styles/bootstrap/_variables.scss +129 -126
- package/src/styles/bootstrap/forms/_form-check.scss +22 -23
- package/src/styles/bootstrap/forms/_form-control.scss +15 -15
- package/src/styles/bootstrap/forms/_form-file.scss +7 -7
- package/src/styles/bootstrap/forms/_form-range.scss +13 -13
- package/src/styles/bootstrap/forms/_validation.scss +2 -2
- package/src/styles/bootstrap/mixins/_badge-text.scss +2 -1
- package/src/styles/components/_application-header.scss +24 -25
- package/src/styles/components/_datatable.scss +19 -21
- package/src/styles/components/_drag_drop.scss +1 -1
- package/src/styles/components/_elevation.scss +5 -5
- package/src/styles/components/_layout.scss +9 -9
- package/src/styles/components/_links.scss +2 -2
- package/src/styles/components/_list-item.scss +8 -8
- package/src/styles/components/_markdown.scss +1 -1
- package/src/styles/components/_scrollbar.scss +4 -4
- package/src/styles/components/_search-bar.scss +10 -10
- package/src/styles/components/_skeleton.scss +5 -6
- package/src/styles/components/_widgets.scss +6 -3
- package/src/styles/mixins/_utilities.scss +87 -87
- package/src/styles/variables/_elevation.scss +9 -9
- package/src/styles/variables/_focus.scss +20 -19
- package/src/styles/variables/_si-sys-variables-compat.scss +10 -0
- package/src/styles/variables/_sizing.scss +22 -20
- package/src/styles/variables/_spacers.scss +29 -28
- package/src/styles/variables/_system-tokens.scss +2 -202
- package/src/styles/variables/_typography.scss +97 -95
- package/src/styles/variables/_utilities.scss +56 -56
- package/src/styles/variables/si-sys-sizing.compact.map-flat.scss +86 -0
- package/src/styles/variables/si-sys-sizing.default.map-flat.scss +86 -0
- package/src/styles/variables/si-sys-typography.compact.map-flat.scss +140 -0
- package/src/styles/variables/si-sys-typography.default.map-flat.scss +140 -0
- package/src/styles/variables/si-sys-variables.scss +400 -0
|
@@ -52,9 +52,9 @@
|
|
|
52
52
|
grid-area: title;
|
|
53
53
|
margin-block-end: 0;
|
|
54
54
|
@include variables.si-font(
|
|
55
|
-
variables.$si-font-size
|
|
56
|
-
variables.$si-line-height
|
|
57
|
-
variables.$si-font-weight
|
|
55
|
+
variables.$si-sys-typography-h3-font-size,
|
|
56
|
+
variables.$si-sys-typography-h3-line-height,
|
|
57
|
+
variables.$si-sys-typography-h3-font-weight
|
|
58
58
|
);
|
|
59
59
|
|
|
60
60
|
&.si-layout-top-element + .si-layout-subtitle {
|
|
@@ -69,9 +69,9 @@
|
|
|
69
69
|
margin-block-end: 0;
|
|
70
70
|
color: variables.$si-sys-color-text-secondary;
|
|
71
71
|
@include variables.si-font(
|
|
72
|
-
variables.$si-font-size
|
|
73
|
-
variables.$si-line-height
|
|
74
|
-
variables.$si-font-weight
|
|
72
|
+
variables.$si-sys-typography-body-font-size,
|
|
73
|
+
variables.$si-sys-typography-body-line-height,
|
|
74
|
+
variables.$si-sys-typography-body-font-weight
|
|
75
75
|
);
|
|
76
76
|
}
|
|
77
77
|
|
|
@@ -90,9 +90,9 @@
|
|
|
90
90
|
|
|
91
91
|
.si-layout-title {
|
|
92
92
|
@include variables.si-font(
|
|
93
|
-
variables.$si-font-size
|
|
94
|
-
variables.$si-line-height
|
|
95
|
-
variables.$si-font-weight
|
|
93
|
+
variables.$si-sys-typography-h2-font-size,
|
|
94
|
+
variables.$si-sys-typography-h2-line-height,
|
|
95
|
+
variables.$si-sys-typography-h2-font-weight
|
|
96
96
|
);
|
|
97
97
|
}
|
|
98
98
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@use '../variables/
|
|
1
|
+
@use '../variables/si-sys-variables';
|
|
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:
|
|
13
|
+
color: si-sys-variables.$si-sys-color-text-accent-active;
|
|
14
14
|
text-decoration: underline;
|
|
15
15
|
}
|
|
16
16
|
|
|
@@ -26,12 +26,12 @@ ol:has(.list-item) {
|
|
|
26
26
|
|
|
27
27
|
&.list-filled .list-item {
|
|
28
28
|
background-color: variables.$si-sys-color-background-1;
|
|
29
|
-
border-radius: variables.$
|
|
29
|
+
border-radius: variables.$si-sys-sizing-border-radius-sm;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
&.list-outline .list-item {
|
|
33
33
|
border: 1px solid variables.$si-sys-color-border-4;
|
|
34
|
-
border-radius: variables.$
|
|
34
|
+
border-radius: variables.$si-sys-sizing-border-radius-sm;
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
|
|
@@ -48,9 +48,9 @@ ol:has(.list-item) {
|
|
|
48
48
|
padding-inline: map.get(variables.$spacers-inline, 6);
|
|
49
49
|
|
|
50
50
|
@include typography.si-font(
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
51
|
+
variables.$si-sys-typography-body-font-size,
|
|
52
|
+
variables.$si-sys-typography-body-line-height,
|
|
53
|
+
variables.$si-sys-typography-body-font-weight
|
|
54
54
|
);
|
|
55
55
|
|
|
56
56
|
> * {
|
|
@@ -98,9 +98,9 @@ ol:has(.list-item) {
|
|
|
98
98
|
margin-block-end: 0;
|
|
99
99
|
|
|
100
100
|
@include typography.si-font(
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
101
|
+
variables.$si-sys-typography-body-sbold-font-size,
|
|
102
|
+
variables.$si-sys-typography-body-sbold-line-height,
|
|
103
|
+
variables.$si-sys-typography-body-sbold-font-weight
|
|
104
104
|
);
|
|
105
105
|
|
|
106
106
|
&.unread {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
word-wrap: break-word;
|
|
8
8
|
overflow-wrap: break-word;
|
|
9
9
|
word-break: break-word;
|
|
10
|
-
line-height: variables.$si-
|
|
10
|
+
line-height: variables.$si-sys-typography-body-paragraph-line-height;
|
|
11
11
|
|
|
12
12
|
strong {
|
|
13
13
|
font-weight: variables.$si-font-weight-sbold;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
@use '../variables/
|
|
1
|
+
@use '../variables/si-sys-variables';
|
|
2
2
|
@use '../selectors';
|
|
3
3
|
|
|
4
4
|
#{selectors.$document} {
|
|
5
5
|
scrollbar-color: color-mix(
|
|
6
6
|
in srgb,
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
si-sys-variables.$si-sys-color-border-2 60%,
|
|
8
|
+
si-sys-variables.$si-sys-color-background-1
|
|
9
9
|
)
|
|
10
|
-
|
|
10
|
+
si-sys-variables.$si-sys-color-background-1;
|
|
11
11
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
@use '../variables';
|
|
2
|
-
@use '../variables/
|
|
3
|
-
@use '../variables/system-tokens';
|
|
2
|
+
@use '../variables/si-sys-variables';
|
|
4
3
|
@use '../bootstrap/variables' as bootstrap-variables;
|
|
5
4
|
|
|
6
5
|
@use 'sass:map';
|
|
@@ -12,23 +11,23 @@
|
|
|
12
11
|
.search-bar-icon,
|
|
13
12
|
.search-bar-input,
|
|
14
13
|
.search-bar-input::placeholder {
|
|
15
|
-
color:
|
|
14
|
+
color: si-sys-variables.$si-sys-color-text-disabled;
|
|
16
15
|
}
|
|
17
16
|
}
|
|
18
17
|
}
|
|
19
18
|
|
|
20
19
|
.search-bar-input.form-control {
|
|
21
20
|
transition: none;
|
|
22
|
-
background-color:
|
|
23
|
-
border-radius:
|
|
21
|
+
background-color: si-sys-variables.$si-sys-color-background-1 !important; // stylelint-disable-line declaration-no-important
|
|
22
|
+
border-radius: si-sys-variables.$si-sys-sizing-border-radius-sm;
|
|
24
23
|
border-width: 0;
|
|
25
24
|
|
|
26
25
|
&::placeholder {
|
|
27
|
-
color:
|
|
26
|
+
color: si-sys-variables.$si-sys-color-text-secondary;
|
|
28
27
|
}
|
|
29
28
|
|
|
30
29
|
&:is(:hover, :focus)::placeholder {
|
|
31
|
-
color:
|
|
30
|
+
color: si-sys-variables.$si-sys-color-text-primary;
|
|
32
31
|
}
|
|
33
32
|
|
|
34
33
|
.search-bar:has(.search-bar-icon) & {
|
|
@@ -38,14 +37,15 @@
|
|
|
38
37
|
}
|
|
39
38
|
|
|
40
39
|
.search-bar:has(.search-bar-clear) & {
|
|
41
|
-
|
|
40
|
+
--si-action-icon-offset: calc(
|
|
42
41
|
#{bootstrap-variables.$btn-font-size} * #{bootstrap-variables.$btn-line-height} +
|
|
43
42
|
#{bootstrap-variables.$btn-padding-y-sm} * 2 + #{map.get(variables.$spacers-inline, 2)} * 2
|
|
44
43
|
);
|
|
44
|
+
padding-inline-end: calc(var(--si-action-icon-offset) + var(--si-feedback-icon-size, 0px));
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
.search-bar.variant-background-0 & {
|
|
48
|
-
background-color:
|
|
48
|
+
background-color: si-sys-variables.$si-sys-color-background-2 !important; // stylelint-disable-line declaration-no-important
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
inset-inline-start: map.get(variables.$spacers-inline, 2);
|
|
56
56
|
align-items: center;
|
|
57
57
|
font-size: variables.$si-icon-font-size;
|
|
58
|
-
color:
|
|
58
|
+
color: si-sys-variables.$si-sys-color-text-disabled;
|
|
59
59
|
pointer-events: none;
|
|
60
60
|
}
|
|
61
61
|
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
@use '../variables/animations';
|
|
2
|
-
@use '../variables/
|
|
3
|
-
@use '../variables/system-tokens';
|
|
2
|
+
@use '../variables/si-sys-variables';
|
|
4
3
|
|
|
5
4
|
@keyframes shimmer {
|
|
6
5
|
to {
|
|
@@ -13,13 +12,13 @@
|
|
|
13
12
|
min-block-size: 1em;
|
|
14
13
|
background: linear-gradient(
|
|
15
14
|
90deg,
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
si-sys-variables.$si-sys-color-background-hover 0%,
|
|
16
|
+
si-sys-variables.$si-sys-color-background-active 25%,
|
|
17
|
+
si-sys-variables.$si-sys-color-background-hover 50%
|
|
19
18
|
);
|
|
20
19
|
background-size: 200% 100%;
|
|
21
20
|
background-position-x: 100%;
|
|
22
|
-
border-radius:
|
|
21
|
+
border-radius: si-sys-variables.$si-sys-sizing-border-radius-xs;
|
|
23
22
|
animation: shimmer animations.element-transition-duration(1.6s) ease-in-out infinite;
|
|
24
23
|
cursor: wait;
|
|
25
24
|
|
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
@extend .si-display-lg-sbold;
|
|
11
11
|
display: inline-block;
|
|
12
12
|
min-block-size: calc(
|
|
13
|
-
|
|
13
|
+
variables.$si-sys-typography-display-lg-sbold-font-size *
|
|
14
|
+
variables.$si-sys-typography-display-lg-sbold-line-height
|
|
14
15
|
);
|
|
15
16
|
}
|
|
16
17
|
|
|
@@ -22,7 +23,7 @@
|
|
|
22
23
|
@extend .si-display-lg-sbold;
|
|
23
24
|
@extend .si-skeleton;
|
|
24
25
|
display: inline-block;
|
|
25
|
-
block-size:
|
|
26
|
+
block-size: variables.$si-sys-typography-display-lg-sbold-font-size;
|
|
26
27
|
vertical-align: middle;
|
|
27
28
|
inline-size: 100%;
|
|
28
29
|
}
|
|
@@ -49,7 +50,9 @@
|
|
|
49
50
|
|
|
50
51
|
.si-link-widget-skeleton {
|
|
51
52
|
@extend .si-skeleton;
|
|
52
|
-
block-size: calc(
|
|
53
|
+
block-size: calc(
|
|
54
|
+
variables.$si-sys-typography-body-font-size * variables.$si-sys-typography-body-line-height
|
|
55
|
+
);
|
|
53
56
|
inline-size: 100%;
|
|
54
57
|
}
|
|
55
58
|
|
|
@@ -1,271 +1,271 @@
|
|
|
1
|
-
@use '../variables/
|
|
1
|
+
@use '../variables/si-sys-variables';
|
|
2
2
|
|
|
3
3
|
// This file currently diverges from its original by add !important everywhere.
|
|
4
4
|
// stylelint-disable declaration-no-important
|
|
5
5
|
|
|
6
6
|
@mixin background-utilities($prefix: 'background-') {
|
|
7
7
|
.#{$prefix}0 {
|
|
8
|
-
background-color:
|
|
8
|
+
background-color: si-sys-variables.$si-sys-color-background-0 !important;
|
|
9
9
|
}
|
|
10
10
|
.#{$prefix}1 {
|
|
11
|
-
background-color:
|
|
11
|
+
background-color: si-sys-variables.$si-sys-color-background-1 !important;
|
|
12
12
|
}
|
|
13
13
|
.#{$prefix}2 {
|
|
14
|
-
background-color:
|
|
14
|
+
background-color: si-sys-variables.$si-sys-color-background-2 !important;
|
|
15
15
|
}
|
|
16
16
|
.#{$prefix}3 {
|
|
17
|
-
background-color:
|
|
17
|
+
background-color: si-sys-variables.$si-sys-color-background-3 !important;
|
|
18
18
|
}
|
|
19
19
|
.#{$prefix}4 {
|
|
20
|
-
background-color:
|
|
20
|
+
background-color: si-sys-variables.$si-sys-color-background-4 !important;
|
|
21
21
|
}
|
|
22
22
|
.#{$prefix}accent {
|
|
23
|
-
background-color:
|
|
23
|
+
background-color: si-sys-variables.$si-sys-color-background-accent !important;
|
|
24
24
|
}
|
|
25
25
|
.#{$prefix}accent-active {
|
|
26
|
-
background-color:
|
|
26
|
+
background-color: si-sys-variables.$si-sys-color-background-accent-active !important;
|
|
27
27
|
}
|
|
28
28
|
.#{$prefix}accent-hover {
|
|
29
|
-
background-color:
|
|
29
|
+
background-color: si-sys-variables.$si-sys-color-background-accent-hover !important;
|
|
30
30
|
}
|
|
31
31
|
.#{$prefix}accent-secondary {
|
|
32
|
-
background-color:
|
|
32
|
+
background-color: si-sys-variables.$si-sys-color-background-accent-secondary !important;
|
|
33
33
|
}
|
|
34
34
|
.#{$prefix}accent-secondary-active {
|
|
35
|
-
background-color:
|
|
35
|
+
background-color: si-sys-variables.$si-sys-color-background-accent-secondary-active !important;
|
|
36
36
|
}
|
|
37
37
|
.#{$prefix}accent-secondary-hover {
|
|
38
|
-
background-color:
|
|
38
|
+
background-color: si-sys-variables.$si-sys-color-background-accent-secondary-hover !important;
|
|
39
39
|
}
|
|
40
40
|
.#{$prefix}active {
|
|
41
|
-
background-color:
|
|
41
|
+
background-color: si-sys-variables.$si-sys-color-background-active !important;
|
|
42
42
|
}
|
|
43
43
|
.#{$prefix}caution {
|
|
44
|
-
background-color:
|
|
44
|
+
background-color: si-sys-variables.$si-sys-color-background-caution !important;
|
|
45
45
|
}
|
|
46
46
|
.#{$prefix}caution-active {
|
|
47
|
-
background-color:
|
|
47
|
+
background-color: si-sys-variables.$si-sys-color-background-caution-active !important;
|
|
48
48
|
}
|
|
49
49
|
.#{$prefix}caution-hover {
|
|
50
|
-
background-color:
|
|
50
|
+
background-color: si-sys-variables.$si-sys-color-background-caution-hover !important;
|
|
51
51
|
}
|
|
52
52
|
.#{$prefix}caution-subtle {
|
|
53
|
-
background-color:
|
|
53
|
+
background-color: si-sys-variables.$si-sys-color-background-caution-subtle !important;
|
|
54
54
|
}
|
|
55
55
|
.#{$prefix}critical {
|
|
56
|
-
background-color:
|
|
56
|
+
background-color: si-sys-variables.$si-sys-color-background-critical !important;
|
|
57
57
|
}
|
|
58
58
|
.#{$prefix}critical-active {
|
|
59
|
-
background-color:
|
|
59
|
+
background-color: si-sys-variables.$si-sys-color-background-critical-active !important;
|
|
60
60
|
}
|
|
61
61
|
.#{$prefix}critical-hover {
|
|
62
|
-
background-color:
|
|
62
|
+
background-color: si-sys-variables.$si-sys-color-background-critical-hover !important;
|
|
63
63
|
}
|
|
64
64
|
.#{$prefix}critical-subtle {
|
|
65
|
-
background-color:
|
|
65
|
+
background-color: si-sys-variables.$si-sys-color-background-critical-subtle !important;
|
|
66
66
|
}
|
|
67
67
|
.#{$prefix}danger {
|
|
68
|
-
background-color:
|
|
68
|
+
background-color: si-sys-variables.$si-sys-color-background-danger !important;
|
|
69
69
|
}
|
|
70
70
|
.#{$prefix}danger-active {
|
|
71
|
-
background-color:
|
|
71
|
+
background-color: si-sys-variables.$si-sys-color-background-danger-active !important;
|
|
72
72
|
}
|
|
73
73
|
.#{$prefix}danger-hover {
|
|
74
|
-
background-color:
|
|
74
|
+
background-color: si-sys-variables.$si-sys-color-background-danger-hover !important;
|
|
75
75
|
}
|
|
76
76
|
.#{$prefix}danger-secondary {
|
|
77
|
-
background-color:
|
|
77
|
+
background-color: si-sys-variables.$si-sys-color-background-danger-secondary !important;
|
|
78
78
|
}
|
|
79
79
|
.#{$prefix}danger-subtle {
|
|
80
|
-
background-color:
|
|
80
|
+
background-color: si-sys-variables.$si-sys-color-background-danger-subtle !important;
|
|
81
81
|
}
|
|
82
82
|
.#{$prefix}hover {
|
|
83
|
-
background-color:
|
|
83
|
+
background-color: si-sys-variables.$si-sys-color-background-hover !important;
|
|
84
84
|
}
|
|
85
85
|
.#{$prefix}information {
|
|
86
|
-
background-color:
|
|
86
|
+
background-color: si-sys-variables.$si-sys-color-background-information !important;
|
|
87
87
|
}
|
|
88
88
|
.#{$prefix}information-active {
|
|
89
|
-
background-color:
|
|
89
|
+
background-color: si-sys-variables.$si-sys-color-background-information-active !important;
|
|
90
90
|
}
|
|
91
91
|
.#{$prefix}information-hover {
|
|
92
|
-
background-color:
|
|
92
|
+
background-color: si-sys-variables.$si-sys-color-background-information-hover !important;
|
|
93
93
|
}
|
|
94
94
|
.#{$prefix}information-subtle {
|
|
95
|
-
background-color:
|
|
95
|
+
background-color: si-sys-variables.$si-sys-color-background-information-subtle !important;
|
|
96
96
|
}
|
|
97
97
|
.#{$prefix}inverse {
|
|
98
|
-
background-color:
|
|
98
|
+
background-color: si-sys-variables.$si-sys-color-background-inverse !important;
|
|
99
99
|
}
|
|
100
100
|
.#{$prefix}neutral {
|
|
101
|
-
background-color:
|
|
101
|
+
background-color: si-sys-variables.$si-sys-color-background-neutral !important;
|
|
102
102
|
}
|
|
103
103
|
.#{$prefix}neutral-active {
|
|
104
|
-
background-color:
|
|
104
|
+
background-color: si-sys-variables.$si-sys-color-background-neutral-active !important;
|
|
105
105
|
}
|
|
106
106
|
.#{$prefix}neutral-hover {
|
|
107
|
-
background-color:
|
|
107
|
+
background-color: si-sys-variables.$si-sys-color-background-neutral-hover !important;
|
|
108
108
|
}
|
|
109
109
|
.#{$prefix}success {
|
|
110
|
-
background-color:
|
|
110
|
+
background-color: si-sys-variables.$si-sys-color-background-success !important;
|
|
111
111
|
}
|
|
112
112
|
.#{$prefix}success-active {
|
|
113
|
-
background-color:
|
|
113
|
+
background-color: si-sys-variables.$si-sys-color-background-success-active !important;
|
|
114
114
|
}
|
|
115
115
|
.#{$prefix}success-hover {
|
|
116
|
-
background-color:
|
|
116
|
+
background-color: si-sys-variables.$si-sys-color-background-success-hover !important;
|
|
117
117
|
}
|
|
118
118
|
.#{$prefix}success-subtle {
|
|
119
|
-
background-color:
|
|
119
|
+
background-color: si-sys-variables.$si-sys-color-background-success-subtle !important;
|
|
120
120
|
}
|
|
121
121
|
.#{$prefix}warning {
|
|
122
|
-
background-color:
|
|
122
|
+
background-color: si-sys-variables.$si-sys-color-background-warning !important;
|
|
123
123
|
}
|
|
124
124
|
.#{$prefix}warning-active {
|
|
125
|
-
background-color:
|
|
125
|
+
background-color: si-sys-variables.$si-sys-color-background-warning-active !important;
|
|
126
126
|
}
|
|
127
127
|
.#{$prefix}warning-hover {
|
|
128
|
-
background-color:
|
|
128
|
+
background-color: si-sys-variables.$si-sys-color-background-warning-hover !important;
|
|
129
129
|
}
|
|
130
130
|
.#{$prefix}warning-secondary {
|
|
131
|
-
background-color:
|
|
131
|
+
background-color: si-sys-variables.$si-sys-color-background-warning-secondary !important;
|
|
132
132
|
}
|
|
133
133
|
.#{$prefix}warning-subtle {
|
|
134
|
-
background-color:
|
|
134
|
+
background-color: si-sys-variables.$si-sys-color-background-warning-subtle !important;
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
@mixin text-utilities($prefix: 'text-') {
|
|
139
139
|
.#{$prefix}accent {
|
|
140
|
-
color:
|
|
140
|
+
color: si-sys-variables.$si-sys-color-text-accent !important;
|
|
141
141
|
}
|
|
142
142
|
.#{$prefix}accent-active {
|
|
143
|
-
color:
|
|
143
|
+
color: si-sys-variables.$si-sys-color-text-accent-active !important;
|
|
144
144
|
}
|
|
145
145
|
.#{$prefix}accent-hover {
|
|
146
|
-
color:
|
|
146
|
+
color: si-sys-variables.$si-sys-color-text-accent-hover !important;
|
|
147
147
|
}
|
|
148
148
|
.#{$prefix}caution {
|
|
149
|
-
color:
|
|
149
|
+
color: si-sys-variables.$si-sys-color-text-caution !important;
|
|
150
150
|
}
|
|
151
151
|
.#{$prefix}critical {
|
|
152
|
-
color:
|
|
152
|
+
color: si-sys-variables.$si-sys-color-text-critical !important;
|
|
153
153
|
}
|
|
154
154
|
.#{$prefix}danger {
|
|
155
|
-
color:
|
|
155
|
+
color: si-sys-variables.$si-sys-color-text-danger !important;
|
|
156
156
|
}
|
|
157
157
|
.#{$prefix}disabled {
|
|
158
|
-
color:
|
|
158
|
+
color: si-sys-variables.$si-sys-color-text-disabled !important;
|
|
159
159
|
}
|
|
160
160
|
.#{$prefix}information {
|
|
161
|
-
color:
|
|
161
|
+
color: si-sys-variables.$si-sys-color-text-information !important;
|
|
162
162
|
}
|
|
163
163
|
.#{$prefix}inverse {
|
|
164
|
-
color:
|
|
164
|
+
color: si-sys-variables.$si-sys-color-text-inverse !important;
|
|
165
165
|
}
|
|
166
166
|
.#{$prefix}on-accent {
|
|
167
|
-
color:
|
|
167
|
+
color: si-sys-variables.$si-sys-color-text-on-accent !important;
|
|
168
168
|
}
|
|
169
169
|
.#{$prefix}on-accent-secondary {
|
|
170
|
-
color:
|
|
170
|
+
color: si-sys-variables.$si-sys-color-text-on-accent-secondary !important;
|
|
171
171
|
}
|
|
172
172
|
.#{$prefix}on-accent-secondary-active {
|
|
173
|
-
color:
|
|
173
|
+
color: si-sys-variables.$si-sys-color-text-on-accent-secondary-active !important;
|
|
174
174
|
}
|
|
175
175
|
.#{$prefix}on-accent-secondary-hover {
|
|
176
|
-
color:
|
|
176
|
+
color: si-sys-variables.$si-sys-color-text-on-accent-secondary-hover !important;
|
|
177
177
|
}
|
|
178
178
|
.#{$prefix}on-caution {
|
|
179
|
-
color:
|
|
179
|
+
color: si-sys-variables.$si-sys-color-text-on-caution !important;
|
|
180
180
|
}
|
|
181
181
|
.#{$prefix}on-critical {
|
|
182
|
-
color:
|
|
182
|
+
color: si-sys-variables.$si-sys-color-text-on-critical !important;
|
|
183
183
|
}
|
|
184
184
|
.#{$prefix}on-danger {
|
|
185
|
-
color:
|
|
185
|
+
color: si-sys-variables.$si-sys-color-text-on-danger !important;
|
|
186
186
|
}
|
|
187
187
|
.#{$prefix}on-danger-secondary {
|
|
188
|
-
color:
|
|
188
|
+
color: si-sys-variables.$si-sys-color-text-on-danger-secondary !important;
|
|
189
189
|
}
|
|
190
190
|
.#{$prefix}on-information {
|
|
191
|
-
color:
|
|
191
|
+
color: si-sys-variables.$si-sys-color-text-on-information !important;
|
|
192
192
|
}
|
|
193
193
|
.#{$prefix}on-neutral {
|
|
194
|
-
color:
|
|
194
|
+
color: si-sys-variables.$si-sys-color-text-on-neutral !important;
|
|
195
195
|
}
|
|
196
196
|
.#{$prefix}on-success {
|
|
197
|
-
color:
|
|
197
|
+
color: si-sys-variables.$si-sys-color-text-on-success !important;
|
|
198
198
|
}
|
|
199
199
|
.#{$prefix}on-warning {
|
|
200
|
-
color:
|
|
200
|
+
color: si-sys-variables.$si-sys-color-text-on-warning !important;
|
|
201
201
|
}
|
|
202
202
|
.#{$prefix}on-warning-secondary {
|
|
203
|
-
color:
|
|
203
|
+
color: si-sys-variables.$si-sys-color-text-on-warning-secondary !important;
|
|
204
204
|
}
|
|
205
205
|
.#{$prefix}primary {
|
|
206
|
-
color:
|
|
206
|
+
color: si-sys-variables.$si-sys-color-text-primary !important;
|
|
207
207
|
}
|
|
208
208
|
.#{$prefix}secondary {
|
|
209
|
-
color:
|
|
209
|
+
color: si-sys-variables.$si-sys-color-text-secondary !important;
|
|
210
210
|
}
|
|
211
211
|
.#{$prefix}success {
|
|
212
|
-
color:
|
|
212
|
+
color: si-sys-variables.$si-sys-color-text-success !important;
|
|
213
213
|
}
|
|
214
214
|
.#{$prefix}warning {
|
|
215
|
-
color:
|
|
215
|
+
color: si-sys-variables.$si-sys-color-text-warning !important;
|
|
216
216
|
}
|
|
217
217
|
}
|
|
218
218
|
|
|
219
219
|
@mixin border-utilities($prefix: 'border-') {
|
|
220
220
|
.#{$prefix}1 {
|
|
221
|
-
border-color:
|
|
221
|
+
border-color: si-sys-variables.$si-sys-color-border-1 !important;
|
|
222
222
|
}
|
|
223
223
|
.#{$prefix}2 {
|
|
224
|
-
border-color:
|
|
224
|
+
border-color: si-sys-variables.$si-sys-color-border-2 !important;
|
|
225
225
|
}
|
|
226
226
|
.#{$prefix}3 {
|
|
227
|
-
border-color:
|
|
227
|
+
border-color: si-sys-variables.$si-sys-color-border-3 !important;
|
|
228
228
|
}
|
|
229
229
|
.#{$prefix}4 {
|
|
230
|
-
border-color:
|
|
230
|
+
border-color: si-sys-variables.$si-sys-color-border-4 !important;
|
|
231
231
|
}
|
|
232
232
|
.#{$prefix}accent {
|
|
233
|
-
border-color:
|
|
233
|
+
border-color: si-sys-variables.$si-sys-color-border-accent !important;
|
|
234
234
|
}
|
|
235
235
|
.#{$prefix}accent-active {
|
|
236
|
-
border-color:
|
|
236
|
+
border-color: si-sys-variables.$si-sys-color-border-accent-active !important;
|
|
237
237
|
}
|
|
238
238
|
.#{$prefix}accent-hover {
|
|
239
|
-
border-color:
|
|
239
|
+
border-color: si-sys-variables.$si-sys-color-border-accent-hover !important;
|
|
240
240
|
}
|
|
241
241
|
.#{$prefix}caution {
|
|
242
|
-
border-color:
|
|
242
|
+
border-color: si-sys-variables.$si-sys-color-border-caution !important;
|
|
243
243
|
}
|
|
244
244
|
.#{$prefix}critical {
|
|
245
|
-
border-color:
|
|
245
|
+
border-color: si-sys-variables.$si-sys-color-border-critical !important;
|
|
246
246
|
}
|
|
247
247
|
.#{$prefix}danger {
|
|
248
|
-
border-color:
|
|
248
|
+
border-color: si-sys-variables.$si-sys-color-border-danger !important;
|
|
249
249
|
}
|
|
250
250
|
.#{$prefix}danger-secondary {
|
|
251
|
-
border-color:
|
|
251
|
+
border-color: si-sys-variables.$si-sys-color-border-danger-secondary !important;
|
|
252
252
|
}
|
|
253
253
|
.#{$prefix}information {
|
|
254
|
-
border-color:
|
|
254
|
+
border-color: si-sys-variables.$si-sys-color-border-information !important;
|
|
255
255
|
}
|
|
256
256
|
.#{$prefix}inverse {
|
|
257
|
-
border-color:
|
|
257
|
+
border-color: si-sys-variables.$si-sys-color-border-inverse !important;
|
|
258
258
|
}
|
|
259
259
|
.#{$prefix}neutral {
|
|
260
|
-
border-color:
|
|
260
|
+
border-color: si-sys-variables.$si-sys-color-border-neutral !important;
|
|
261
261
|
}
|
|
262
262
|
.#{$prefix}success {
|
|
263
|
-
border-color:
|
|
263
|
+
border-color: si-sys-variables.$si-sys-color-border-success !important;
|
|
264
264
|
}
|
|
265
265
|
.#{$prefix}warning {
|
|
266
|
-
border-color:
|
|
266
|
+
border-color: si-sys-variables.$si-sys-color-border-warning !important;
|
|
267
267
|
}
|
|
268
268
|
.#{$prefix}warning-secondary {
|
|
269
|
-
border-color:
|
|
269
|
+
border-color: si-sys-variables.$si-sys-color-border-warning-secondary !important;
|
|
270
270
|
}
|
|
271
271
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
@use '
|
|
1
|
+
@use 'si-sys-variables';
|
|
2
2
|
|
|
3
|
-
// @deprecated Use $si-sys-color-effects-shadow-
|
|
4
|
-
$element-elevation-1:
|
|
5
|
-
// @deprecated Use $si-sys-color-effects-shadow-
|
|
6
|
-
$element-elevation-2:
|
|
7
|
-
// @deprecated Use $si-sys-color-effects-shadow-
|
|
8
|
-
$element-elevation-3:
|
|
9
|
-
// @deprecated Use $si-sys-color-effects-shadow-
|
|
10
|
-
$element-elevation-4:
|
|
3
|
+
// @deprecated Use $si-sys-color-effects-shadow-10 instead.
|
|
4
|
+
$element-elevation-1: si-sys-variables.$si-sys-color-effects-shadow-10;
|
|
5
|
+
// @deprecated Use $si-sys-color-effects-shadow-20 instead.
|
|
6
|
+
$element-elevation-2: si-sys-variables.$si-sys-color-effects-shadow-20;
|
|
7
|
+
// @deprecated Use $si-sys-color-effects-shadow-30 instead.
|
|
8
|
+
$element-elevation-3: si-sys-variables.$si-sys-color-effects-shadow-30;
|
|
9
|
+
// @deprecated Use $si-sys-color-effects-shadow-40 instead.
|
|
10
|
+
$element-elevation-4: si-sys-variables.$si-sys-color-effects-shadow-40;
|
|
11
11
|
|
|
12
12
|
// @deprecated There is no replacement.
|
|
13
13
|
$element-elevation-inset-1:
|