Replies: 7 comments 3 replies
-
You will be able to do that once cassiopeia transitions to the new template mode (child templates) with a simple override using https://github.com/vinorodrigues/bootstrap-dark-5 instead of the default bootstrap |
Beta Was this translation helpful? Give feedback.
-
This is excellent news! Only what is not resolved is a togle or switch so that the user can change the template or mode from the frontend. Thank you very much @dgrammatiko |
Beta Was this translation helpful? Give feedback.
-
@Stuartemk there are plenty such switchers: https://github.com/dgrammatiko/dark-switch, https://github.com/GoogleChromeLabs/dark-mode-toggle/blob/master/src/dark-mode-toggle.mjs You only have to copy the switch to the child template and edit the HTML to include it, pretty straight forward |
Beta Was this translation helpful? Give feedback.
-
@Stuartemk I wrote about this earlier - #26772 |
Beta Was this translation helpful? Give feedback.
-
There can be two things we can try to do:-
|
Beta Was this translation helpful? Give feedback.
-
Most of the administrators of a CMS are not programmers or software developers, that is why we use a CMS and we do not use our own development written from scratch or with a framework such as Laravel or React. Everything is easy for those who already know how to do something, it is very easy to say "You just have to put such code in such a place, download such a library and embed it in such a place, etc." As an administrator and not as a developer or programmer what we can is to activate or deactivate some function through a button, switch or plugin. Thanks for understanding, I really hope that the new version already brings by default the option of a light and a dark theme. |
Beta Was this translation helpful? Give feedback.
-
This is still a very relevant issue, especially since the backend theme has a dark mode, but the frontend theme still doesn't have a dark mode. |
Beta Was this translation helpful? Give feedback.
-
Steps to reproduce the issue
Is there a way that the Casiopea template integrates by default a dark mode as well as its corresponding switch for users from the frontend?
Expected result
Actual result
System information (as much as possible)
Additional comments
Beta Was this translation helpful? Give feedback.
All reactions