Create custom Dashboard themes
Create custom Dashboard themes to align the web interface with your organization’s branding, visual identity, and user experience requirements.
Prerequisites Copy linkLink copied!
- Administrative privileges for the RHOSO environment
- Experience using the Linux file system and commands
Dashboard theme elements Copy linkLink copied!
Dashboard themes control visual elements including logos, colors, stylesheets, and branding to provide a consistent user experience aligned with your organization’s identity.
By default, the Red Hat OpenStack Services on OpenShift (RHOSO) Dashboard (horizon) uses the RCUE theme. You can create your own theme to customize the following Dashboard elements:
- Logo
- Site colors
- Stylesheets
- HTML title
- Site branding link
- Help URL
Theming workflow Copy linkLink copied!
The theming workflow guides you from downloading the base RCUE theme through customization and deployment to your control plane.
- Download the
openstack-dashboard-themeRed Hat package that contains the RCUE theme. - Copy this
openstack-dashboard-themeRed Hat package to your RHOSO deployment environment and extract it. - Create your theme by customizing the necessary files to change the Dashboard elements that you require.
- Create a configuration file for your theme to replace the default RCUE theme and further customize the appearance of your theme.
- Add your Dashboard theme to the RHOSO control plane.
If you update or upgrade your RHOSO, then you must reapply your Dashboard theme.
Download the Dashboard theme package Copy linkLink copied!
Download the openstack-dashboard-theme package from the Customer Portal to use as the foundation for creating a custom Dashboard theme.
Procedure Copy linkLink copied!
Extract the base theme files Copy linkLink copied!
Copy the openstack-dashboard-theme package to your deployment environment and extract the RCUE theme files to use as the base for your custom theme.
Procedure Copy linkLink copied!
Build your custom Dashboard theme Copy linkLink copied!
Create your custom theme by copying the RCUE theme directory, customizing visual elements, and packaging the modified files as a tarball for deployment.
Procedure Copy linkLink copied!
Create your Dashboard theme configuration file Copy linkLink copied!
Create a configuration file to activate your custom theme and define additional appearance settings such as site branding and navigation links.
Procedure Copy linkLink copied!
Apply your custom theme to the control plane Copy linkLink copied!
Apply your custom theme to the Dashboard by creating a ConfigMap and updating the OpenStackControlPlane custom resource to mount the theme files in the horizon service pod.