Skip to content

ShellBarSearch theming issue #12578

@mydavidzhang

Description

@mydavidzhang

Bug Description

ShellBarSearch is used in ShellBar. When do customize theming for ShellBar background color and text color, the ShellBarSearch background color is not changed so that it is possible text and ShellBarSearch input color is same and user won't see the text.

Image

Here is hack that could fix this issue. After rendered insert blow style to ShellBarSearch shadowRoot

<style type="text/css">
:host {
            --sapField_Hover_Background: var(--sapShell_InteractiveBackground);
            --_ui5-v2-13-2-search-wrapper-hover-background-color: var(--sapField_Hover_Background);
          }
</style>

Affected Component

ShellBarSearch

Expected Behaviour

ShellBarSearch background color should support customized theme

Isolated Example

No response

Steps to Reproduce

...

Log Output, Stack Trace or Screenshots

No response

Priority

None

UI5 Web Components Version

2.13.2

Browser

Chrome

Operating System

No response

Additional Context

No response

Organization

SAP SF

Declaration

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

Metadata

Metadata

Labels

Type

No type

Projects

Status

In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions