From 8577bd06cbfed008bcb1950197dcb4af7fd23abf Mon Sep 17 00:00:00 2001 From: Lukas Harbarth Date: Mon, 25 Aug 2025 12:36:43 +0200 Subject: [PATCH] fix(ObjectStatus): implement delta styles for Quartz theme --- .../ObjectStatus/ObjectStatus.module.css | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/packages/main/src/components/ObjectStatus/ObjectStatus.module.css b/packages/main/src/components/ObjectStatus/ObjectStatus.module.css index 143b4a2c501..c7f553f3036 100644 --- a/packages/main/src/components/ObjectStatus/ObjectStatus.module.css +++ b/packages/main/src/components/ObjectStatus/ObjectStatus.module.css @@ -356,6 +356,16 @@ --_ui5wcr-ObjectStatus-inverted-vs-active-border-color: var(--sapButton_Information_Active_BorderColor); } +/*deltas*/ +[data-sap-theme^='sap_fiori_3'] { + .objectStatus:is(.inverted.information) { + text-shadow: var(--sapContent_ContrastTextShadow); + } + .objectStatus:is(.inverted.none):hover { + text-shadow: var(--sapContent_ContrastTextShadow); + } +} + .objectStatus:is(.inverted.none) { text-shadow: var(--sapContent_TextShadow); @@ -403,6 +413,13 @@ } } +/* deltas */ +[data-sap-theme^='sap_fiori_3'] { + .objectStatus:is(.inverted):is(.negative, .critical, .positive, .information, .none):active { + text-shadow: var(--sapContent_ContrastTextShadow); + } +} + /* Inverted Indication Styles */ .objectStatus:is(.inverted.indication01) { --_ui5wcr-ObjectStatus-inverted-indication-text-color: var(--sapIndicationColor_1_TextColor);