Skip to Content

How to use Theme Parameters in UI5 Application?

Dec 12, 2017 at 09:56 AM


avatar image

Hi all,

Recently, we’re developing a UI5 application and there are some colors of UI controls need to change for UX requirement, so we want to use theme parameters to to get the correct adjustable colors, and we followed the sample provided in SAP UI SDK( but it always not work for us.

our code as below:


background-color: @sapUiBaseColor;


<Toolbar class="footToolBar" width="100%">
    <Button text="Accept" type="Transparent" press="handleBtnPressed" />

However, the browser prompt “invalid property value” message as below:

Do you know how to solve this problem?

Thanks a lot.


10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers