Skip to content

Commit 9de75d6

Browse files
authored
fix(ObjectStatus): implement delta styles for Quartz theme (#7685)
Fixes #7683
1 parent f2685ff commit 9de75d6

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

packages/main/src/components/ObjectStatus/ObjectStatus.module.css

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,16 @@
356356
--_ui5wcr-ObjectStatus-inverted-vs-active-border-color: var(--sapButton_Information_Active_BorderColor);
357357
}
358358

359+
/*deltas*/
360+
[data-sap-theme^='sap_fiori_3'] {
361+
.objectStatus:is(.inverted.information) {
362+
text-shadow: var(--sapContent_ContrastTextShadow);
363+
}
364+
.objectStatus:is(.inverted.none):hover {
365+
text-shadow: var(--sapContent_ContrastTextShadow);
366+
}
367+
}
368+
359369
.objectStatus:is(.inverted.none) {
360370
text-shadow: var(--sapContent_TextShadow);
361371

@@ -403,6 +413,13 @@
403413
}
404414
}
405415

416+
/* deltas */
417+
[data-sap-theme^='sap_fiori_3'] {
418+
.objectStatus:is(.inverted):is(.negative, .critical, .positive, .information, .none):active {
419+
text-shadow: var(--sapContent_ContrastTextShadow);
420+
}
421+
}
422+
406423
/* Inverted Indication Styles */
407424
.objectStatus:is(.inverted.indication01) {
408425
--_ui5wcr-ObjectStatus-inverted-indication-text-color: var(--sapIndicationColor_1_TextColor);

0 commit comments

Comments
 (0)