docs

Creating Themable User Interfaces

There are several things you should keep in mind to ensure that an application can actually be themed.


General Aspects

Do not hard-code colors and fonts if you want your control or application to be themable in the theme designer tool.

For example, if you hard-coded the font color to black, this color cannot be adjusted when you apply a custom theme. This can be problematic if you want to apply a custom theme with a dark background color because the font color cannot be adjusted to a light color.


Stable Theme Parameters


Tips for OpenUI5 Application Developers Writing Custom HTML


Tips for OpenUI5 Control Developers