Custom theme in themeservice

Hi all,

We are currently using the github packages in our project. With the new feature of the themeService we are looking into adding our custom theme to this.

Is it possible to add a custom theme to the themeService so users can select them?

Thanks!

Hi @Jeroen_oosterom,

The theme service doesn't keep a list of themes. RadzenTheme is what is registering the theme. It should work with a custom theme - just test it.

Thank you, I will look into radzentheme to see if i can add my theme there.

Do you have a example somewhere, or a direction in the source code where the function is that allows you to add a theme? What I am trying to achieve is to add my theme to the dropdown of the themeservice, so if the user selects it my custom css will be applied, i have checked the code of the radzentheme but it looks like this list is readonly, atleast I cannot find the function to add a theme there.

Currently my themeservice works fine with the exisiting themes. But my custom css will currently for example always overwrite the colors at the moment.

You can't add a custom theme to the built-in theme collection. You can add it by other means.

Thanks I know enough!