How to use hilite color and background color at the same time?

While using hilite in axelor core v5.2.9 i am not able to set background and color at the same time.

something like
<hilite background=« primary » color=« warning »
i expect font color to be of warning, but i get font color of primary

Does anyone know how to solve this?
best regards

1 « J'aime »

Try this. This is working.

Also visit following link for further help

You should try it like

 <hilite background="red" if="status == '1' " color="white"/>

I think in colors warning and primary not work, but green, red, blue work