SAP / openui5

OpenUI5 lets you build enterprise-ready web applications, responsive to all devices, running on almost any browser of your choice.
http://openui5.org
Apache License 2.0
2.95k stars 1.24k forks source link

Request: method to get hex code of an sap.ui.core.IndicationColor #4041

Open swayongshen opened 5 months ago

swayongshen commented 5 months ago

I need to draw a rectangle on a canvas that has the same color as a chart which is based on sap.ui.core.IndicationColor. I want to avoid hardcoding the hex code of the IndicationColor when drawing the rectangle so such a method would be necessary, as per this screenshot. Is there such a method already that I'm just missing out on?

image

https://experience.sap.com/fiori-design-web/values-and-names/

PetyaMarkovaBogdanova commented 5 months ago

Hi @swayongshen , Thank you for sharing your enhancement proposal. I've created an internal incident DINC0139852. The status of the issue will be updated here in GitHub. Regards, Petya Markova. (UI5 Dispatcher)