Replies: 3 comments 2 replies
-
The usual request for light and dark is based upon the assumption that there are just the two themes involved hence the JavaScript switching between the two. However, as noted in the Wiki, the themes were setup with the assumption that someone would just have one theme set via the Realistically I think that the themes will need to be updated to have a light and dark mode version preset in the file that is in It would require a bit of coding, but the idea that I currently have in mind is to update the naming convention for the themes so something like |
Beta Was this translation helpful? Give feedback.
-
And how about adding two new settings, I will think a bit about it and might implement it myself! |
Beta Was this translation helpful? Give feedback.
-
I just created the PR#3236 with the objective of solving this issue. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have been trying to create a new file in _sass/theme/ and importing it in assets/css/main.scss, but I can't make it work. The only workaround that I have found is to directly modify the colours in the _default.scss and _dark.scss files directly. I think that it would be great to be able to have multiple different themes without the need of overwriting the default ones. So, do you know if there is another way around this?
In particlar, what changes should I implement to make it easier to add new light and dark themes to the website?
I have forked the last (0.8.4) release.
Beta Was this translation helpful? Give feedback.
All reactions