cancel
Showing results for 
Search instead for 
Did you mean: 

How to use Theme Parameters in UI5 Application?

0 Kudos

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 https://openui5nightly.hana.ondemand.com/test-resources/sap/m/demokit/theming/webapp/index.html theme parameters to to get the correct adjustable colors, and we followed the sample provided in SAP UI SDK(http://veui5infra.dhcp.wdf.sap.corp:8080/sapui5-sdk-dist/#/topic/ea08f53503da42c19afd342f4b0c9ec7) but it always not work for us.

our code as below:

style.css

.footToolBar{
background-color: @sapUiBaseColor;
}

view:

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

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

Do you know how to solve this problem?

Thanks a lot.

Chengkun

Accepted Solutions (0)

Answers (0)