Skip to main content

Theme Base Color

This option specifies the name of the base color for the theme that will be globally applied to all DevExpress components within a website.

Refer to the Changing Theme Base Color and Font Settings topic to learn more.

Name

baseColor

Declaration

<configuration>
    ...
    <devExpress>
        ...
        <themes enableThemesAssembly="true" styleSheetTheme="" theme="Metropolis" 
            customThemeAssemblies="" baseColor="Green" font="30px 'Calibri'"  />
        ...
    </devExpress>
    ...
</configuration>

Note

In order to use the DevExpress Web.config section, register this section group beforehand.

This option is set to an empty string by default.

DevExpress configuration section

Corresponding Class

ThemesConfigurationSection

See Also