SAP / ui5-webcomponents

UI5 Web Components - the enterprise-flavored sugar on top of native APIs! Build SAP Fiori user interfaces with the technology of your choice.
https://sap.github.io/ui5-webcomponents/
Apache License 2.0
1.48k stars 254 forks source link

Icon color is not as designed #9138

Closed katapp closed 1 month ago

katapp commented 1 month ago

Hi,

accordingly to the design guidelines https://wiki.one.int.sap/wiki/pages/viewpage.action?pageId=2698916049

the file icon on the very left of a list item should be grey instead of black. https://sap.github.io/ui5-webcomponents/components/fiori/UploadCollection/

Best regards Kathrin

niyap commented 1 month ago

Hello @katapp,

The icon is ui5-icon which is set as a slot "thumbnail" of the ui5-upload-collection-item. You can control the color used as there is CSS part provided for such use cases: https://sap.github.io/ui5-webcomponents/components/Icon/#css-parts or using the "design" property of the ui5-icon setting its value to "Neutral" for example.

Kind Regards, Niya

katapp commented 1 month ago

Hi Niya thank you for the quick answer, that helped :) Still, I think the default color should be grey instead of black as specified in the global fiori guidelines. Maybe you can discuss with your team. But the ticket can be closed. Have a nice day, best regards, Kathrin