File tree 2 files changed +14
-3
lines changed
packages/main/src/components/ObjectStatus
2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change 3
3
}
4
4
5
5
.objectStatus {
6
+ --_ui5wcr-ObjectStatus-focs-outline : 0.125rem var (--sapContent_FocusColor );
7
+ --_ui5wcr-ObjectStatus-focs-background : var (--sapContent_FocusColor );
8
+
6
9
font-family : var (--sapFontFamily );
7
10
font-size : var (--sapFontSize );
8
11
font-weight : normal;
19
22
}
20
23
}
21
24
25
+ /*deltas*/
26
+ [data-sap-theme ^= 'sap_' ][data-sap-theme $= '_hcw' ] .objectStatus ,
27
+ [data-sap-theme ^= 'sap_' ][data-sap-theme $= '_hcb' ] .objectStatus {
28
+ --_ui5wcr-ObjectStatus-focs-outline : var (--sapContent_FocusColor ) var (--sapContent_FocusStyle )
29
+ var (--sapContent_FocusWidth );
30
+ --_ui5wcr-ObjectStatus-focs-background : transparent;
31
+ }
32
+
22
33
.icon {
23
34
width : 1rem ;
24
35
text-align : center;
183
194
184
195
& : focus {
185
196
text-shadow : none;
186
- background : var (--sapContent_FocusColor );
197
+ background : var (--_ui5wcr-ObjectStatus-focs-background );
187
198
color : var (--sapContent_ContrastTextColor );
188
199
border-radius : 0.125rem ;
189
- outline : 0.125rem var (--sapContent_FocusColor );
190
-
200
+ outline : var (--_ui5wcr-ObjectStatus-focs-outline );
191
201
[ui5-icon ] {
192
202
color : var (--sapContent_ContrastTextColor );
193
203
}
Original file line number Diff line number Diff line change @@ -84,6 +84,7 @@ export const InvertedObjectStatus: Story = {
84
84
interactive = { interactive }
85
85
inverted = { inverted }
86
86
state = { state }
87
+ showDefaultIcon
87
88
>
88
89
{ state }
89
90
</ ObjectStatus >
You can’t perform that action at this time.
0 commit comments