Adding support for custom themes with the web UI framework
The Web UI Framework allows you to define your own custom themes. For example, you can have different themes based on organization.
About this task
If the organization key (OrganizationKey) for user x is xyz, then you can define a new CSS file for this user as xyz.css. If that theme file exists, and the user is authenticated, the theme file will be loaded. If it does not exist, the application will look for xyz's primary organization (PrimaryOrganization) and load that organization's CSS file.
You can also add or modify these custom themes based on custom logic in the post authentication implementation.
For more information, refer to the Java™ API documentation for the ISCUIPostAuthenticationProvider interface in your installation directory.
The following chart shows how the theme file is determined:

To add support for custom theme files: