Page 1 of 1

Correct way to change theme

Posted: 28 Apr 2019, 15:34
by Del
Hi,

I bought a Apollo theme and I see that in the index.html there are links to ...theme/theme-blue-light.css...

I used the method changeTheme(), on the "onInit" method to set another theme, but the screen 'flashes' at each reload...

What is the correct way to use a theme chosen by user when he or she logs in?

Thanks.

Re: Correct way to change theme

Posted: 24 May 2019, 10:22
by merve7
Hi,
Is your login page an angular component? Did you try to change the theme when the user clicks the login button?

Re: Correct way to change theme

Posted: 14 Jul 2019, 00:45
by Del
Hi,
I do not know why, but it 'suddenly' start to works fine...
Thank you!

Re: Correct way to change theme

Posted: 19 Jul 2019, 10:12
by merve7
Glad to hear that :)