Unless @B-iggy can add an option to choose location?
It’s not easy indeed.
If you mean something like this I can maybe try to merge it somehow.
I did not test it with every theme but let me know if something breaks.
What do you mean with bottom? This theme switcher component is rather horizontally align. Do you mean to reduce the width?
Replacing the logo based on toggling light or dark mode is not so easy and would require more options. I’ll note it down, maybe for the future.
My idea was in the panel menu (not the user panel menu):
Sorry it must have been a typo. I meant button The link to the liebling theme was an example for alternative button
You don’t necessarily need to replace the logo. Maybe just using a fa-icon switching colors and box-shadow via CSS should do the job.
It would be best to use this component : Hamburger Theme Selector
It’s not a switch but what you’re asking might need too much work.
Thank you for your component.
I wish this component had the translation support.
Hey @B-iggy thank you for this component!
I got a little confused on how I’m setting the two themes I’m gonna toggle between.
I have the classic “Light” and “Dark” theme and added both on the theme switcher.
When I toggle though it switches to alien theme and not the dark that I’d like to
Is there a way to make it use only these two themes that I want?
Thank you for your time and contribution
wow, time is passing by crazy this year. Sorry for the delay. Currently struggling with certain things, hence contributing to Discourse unfortunately falls off.
It is not meant to toggle whole themes. Only a predefined dark and light one, I have configured in the CSS.
I think there is a theme switcher out there, that does what you want.
At least, if I understand it correctly.
is there any way to use the component to toggle between two color schemes
Now that there is a setting in the user profile for a dark mode, it would be neat to be able to toggle between the regular and the dark one.