Color theme generator doesn't manage all themes

1 Answer 120 Views
Styling
Luigi
Top achievements
Rank 3
Bronze
Iron
Iron
Luigi asked on 30 Mar 2023, 08:27 AM

Hi,

In my application I used windows 8 theme but in some controls I used office_blue. Now I need to change color patterns of my application and I choose a green main color for windows 8 theme, but I can't change the controls with office_blue because it is not in the list of themes in ColorThemeGenerator. Maybe office_blue comes from office theme, but it is not in the list too.  I choose the office styles because of not flat bar in panel bar control.

Thank you

Luigi

1 Answer, 1 is accepted

Sort by
0
Stenly
Telerik team
answered on 04 Apr 2023, 07:57 AM

Hello Luigi,

The Color Theme Generator will allow you to customize only the themes that support ThemePalette. The Windows 8 theme has support for this, however, the Office themes, such as Office_Blue, do not have support for ThemePalette. This is the reason why they are not present in the Color Theme Generator.

To see, which themes have support for ThemePalette, you could refer to the following article:

Available Themes - Telerik UI for WPF

For themes that do not support ThemePalette, the resource dictionaries for the used assemblies for the chosen theme would have to be modified. More specifically, the brushes that are declared in each resource dictionary. These resource dictionaries are present in the Themes.Implicit folder of your UI for WPF installation.

With this being said, I hope the provided information will be of help to you.

Regards,
Stenly
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Styling
Asked by
Luigi
Top achievements
Rank 3
Bronze
Iron
Iron
Answers by
Stenly
Telerik team
Share this question
or