DLHDLH.io Documentation
Site AdministrationLook and Feel Settings in Cloud Analytics Server

How to create a custom theme using variables for dashboards

How to create a custom theme using variables for dashboards - DLH documentation.

You can customize your dashboard in DLH using the provided variables to create a custom theme. Follow these steps:

  1. Download the default light and dark files from the Github repository and extract them.
  2. Copy all CSS files from the light folder inside the themes folder and paste them into a newly created folder. For example, create a new folder called darkviolet.

darkvioletfolder

  1. Open the dlh.application.definition.css and dlh.core.definition.css files in an editor and customize the color code in the provided variables.

darkvioletapplicationdarkvioletcore

  1. Follow the steps outlined in the README.md on the Github repository to generate dlh.theme.definition.min.css.

readmetext

  1. After running the command from the README.md file, you can find the theme files in the directory {src directory}/assets/theme/{theme directory name}/dlh.theme.definition.min.css.