So I have begun the process of creating themeable diaries. NextJS actually makes theming relatively trivial - for a trivial normal website. Not so for DearDiary though.
With most websites, the owner of the site would set the theme and they might want to have different settings for dark mode versus light mode. For the average themeable website, that's about it. Some sites might want to allow users to change from a range of themes - including a dark mode. This is how NextJS is setup (for those not keeping up, NextJS is the technology behind the new DearDiary - hence the nickname of NextDD π).
Of course, DearDiary diarists will want to set their own themes up for their little corner of the site. There's ways to do this in NextJS that aren't too arduous, but here's the kicker. You can set your theme to, for example, Orange, Green, Red, Blue or Dark. Notice that 'dark' theme is just another theme.
I don't like that at all. I could create multiple themes. Orange, Orange-Dark. Green, Green-Dark. etc. But that doubles the amount of themes you'd have to scroll through and it doesn't really sit well with the paradigm of a 'dark mode'. What I want is a list of x number of themes, and then you toggle dark mode on or off.
The idea is that the diarist will choose which theme they want for their diary - and the visiting READER will decide if THEY want dark mode or not. The diarist decides the theme, the reader decides if they want their eyes burned out when they're reading someone's diary at midnight π
Can't be done in stock NextJS. Will soon be the way it's done at NextDD though π
Also, because the current code here isn't 'dark mode' aware yet, some areas (Editor, mostly you!) don't play nicely with it at all. You could set dark mode and still get a white editor right now. Yuck. And then other places end up with text you can't see because it's dark text on a dark background in dark mode. So there's a lot of work to do.
TL;DR - themes are progressing but can't upload anything today because it's not implemented properly yet.
In other news, MissTick, I took on board your comment relating to the images and have adjusted the 'disclaimer' on the upload dialog a little. It should now be obvious for people to not think this is a safe place to store photos. It IS safe to have photos on an entry, but that's a different kettle of crustaceans. I also note there are some quirkisms with the fonts on the editor in that they will sometimes switch back when you start a new paragraph or insert something and then start typing elsewhere. That's actually something that MS-Word suffers from in places too. But I will look at it at some point and see what I can do π
That's it for today. I shall continue with the theming! Catch you all later. As always, comments welcome π