ui5-webcomponents icon indicating copy to clipboard operation
ui5-webcomponents copied to clipboard

Wrong color for StandardListItem "Information" infoState

Open m1trix opened this issue 6 years ago • 2 comments

Describe the bug When you set the info-state property of a <ui5-li>, it's not the right color.

Expected behavior According to the Fiori guidelines the color should be Semantic Color Information.

Screenshots image

Context N/a

Affected components StandardListItem

m1trix avatar Oct 03 '20 14:10 m1trix

Hello @m1trix

we will have a discussion with the main contact from VD side Gerrard Kean regarding the correct parameters that have to be used:

Either these ones, currently used (also used in openui5):

--sapNegativeTextColor: #bb0000; --sapPositiveTextColor: #107e3e; --sapCriticalTextColor: #e9730c; --sapInformativeTextColor: #053b70; --sapNeutralTextColor: #6a6d70;

or --sapNegativeColor: #bb0000; --sapCriticalColor: #e9730c; --sapPositiveColor: #107e3e; --sapInformativeColor: #0a6ed1; --sapNeutralColor: #6a6d70;

BR, ilhan

ilhan007 avatar Oct 04 '20 05:10 ilhan007

Hello @m1trix

It turns out that the current implementation and colors are by the spec.

The parameter that should be used for the Informative infoText is: --sapInformativeTextColor: #053b70; (dark blue)

It is a darker color (derived from the main information color listed on Fiori guidelines page) because a light blue color is too similar to a link and would cause a usability issue if the user cannot click it. The main (lighter blue) color is used for borders or indicator icons but the text must be a darker color.

BR, ilhan

ilhan007 avatar Oct 05 '20 10:10 ilhan007