Open swayongshen opened 7 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)
Hi @swayongshen ,
As I understood your request, you need to know the color value associated for each Indication color? If yes, you can use the following:
For example, if you want to get value of Indication color 3, you can use:
sap.ui.core.theming.Parameters.get("sapUiIndication3")
This takes the value assigned to the corresponding LESS parameter from the theme - @sapUiIndication3
Is this what you need?
Best Regards, Nikolay Hristov
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?https://experience.sap.com/fiori-design-web/values-and-names/