Skip to Content
0

How to use Theme Parameters in UI5 Application?

Dec 12, 2017 at 09:56 AM

19

avatar image
Former Member

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

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

0 Answers