Skip to content

[Dialog | icons | theming ]: The icon color of the dialog header cannot be overridden because it is defined in the root, such as —_ui5-v2-12-0_dialog_header_error_state_icon_color. #12024

@hkshetry

Description

@hkshetry

Bug Description

We have overriden the theme for the dialog header using the [ui5-dialog]::part(header) rule to apply the theme only to the dialog header. However, in the latest version of the UI5 Web component, new variables have been introduced, and overriding the theme for only the dialog header is no longer possible.

https://sap.github.io/ui5-webcomponents/components/Dialog/
Image

Affected Component

Dialog

Expected Behaviour

I should be able to override only the header icon color, header background color, header text color (SAP Standard CSS variables ) in a dialog using a CSS rule.

Isolated Example

No response

Steps to Reproduce

...

Log Output, Stack Trace or Screenshots

No response

Priority

None

UI5 Web Components Version

v1.24.24

Browser

Chrome

Operating System

No response

Additional Context

No response

Organization

SF

Declaration

  • I’m not disclosing any internal or sensitive information.

Metadata

Metadata

Type

Projects

Status

New Issues

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions