Skip to main content
Skip table of contents

Web UI Themes

In order to change colors and fonts in the MyQ web UI, you need to provide a theme file in the config.ini.

Save the theme file to C:\ProgramData\MyQ\Themes\webUI\ (default path), and set the name of the file to the themeFile option in the config.ini file.

For example, if the theme file’s name is customTheme.css, the config.ini should look like:

CODE
[General]
themeFile=customTheme.css

Only one theme can be set at a time and it is used for all users and administrators. If no theme file is provided, MyQ uses the built-in default theme.

Theme file properties

Theme files are created by overriding the values of variables in a CSS file. The variables follow the standard CSS custom property syntax and receive standard CSS values. The variables must be in the :root scope. Variables not specified in the theme file, keep the value from the default theme.

Example:

CODE
:root {
    --primary: MediumOrchid;
    --primary-light: thistle;
    --secondary: peachpuff;
    --secondary-light: #fee3ca;
    --secondary-dark: orange;
    --list-item-highlight: plum;
}

Variables

  • It is possible to use an existing variable using the notation --variableB: var(–variableA);.

  • It is recommended to keep values expressed in rem units

Variable name

Default value

font-family-base

"Segoe UI",Tahoma,Helvetica,sans-serif

font-size-base

1.2rem

primary

#abc7ec

primary-light

#deecfd

primary-dark

#255ca5

secondary

#eee

secondary-light

#f5f5f5

secondary-dark

#b8b8b8

accent

#ffd278

btn-hover-color

var(--primary)

btn-highlight-color

var(--accent)

btn-highlight-hover-color

#ffe3ab

header-color

var(--primary)

header-text-color

#2e2e2e

app-tab-color

var(--secondary-light)

app-tab-text-color

#2e2e2e

app-tab-active-color

var(--primary)

app-tab-active-text-color

#2e2e2e

sidebar-color

var(--primary-light)

toolbar-color

var(--primary-light)

sidebar-item-height

2.6rem

toolbar-default-height

2.7rem

tree-item-height

1.6rem

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.