docs

Theming

OpenUI5 is an HTML UI library, therefore styling is done using Cascading Style Sheets (CSS). This allows for creating an impressive visual experience using a widely known standard technology which is well-accepted on the market.

OpenUI5 supports you when creating and using different visual designs - called themes - that can be used alternatively and switched on the fly. This way, the same application can look very different, depending on the user’s design preference or accessibility requirements. Existing themes can serve as a basis for new themes and, in case of new design trends, it is possible to create a matching theme for all existing applications without modifying the applications. The theme handling is decoupled from application development and done in a separate layer. The OpenUI5 library loads the required CSS files and offers ways of switching themes. For more information about the themes that are available, see Available Themes.

OpenUI5 offers a variety of optional features that add value regarding modularization, modification, compatibility, and performance:

To ensure these functions, OpenUI5 uses the following components:


How to Theme Your OpenUI5 Application

To theme your application, you can choose among a number of options:

All options except the last one result in a new stand-alone theme which needs to be deployed and referenced by its name in the application and which can be used by any application.

For all these options, the CSS developer might reduce the styling effort and focus on those controls which are actually used in the application (which in turn decreases the reuse value of the theme in other applications).


Developing Custom HTML or Your Own Control – What to Bear in Mind

Related Information

Supported Combinations of Themes and Libraries

UI Theme Designer