awesome-django-blog
awesome-django-blog copied to clipboard
text is wrong color in dark mode
Issue
In dark mode (as set by my window OS preference) any pre-existing blog text from the sample posts comes out as dark type on dark background. Text that is entered via the CKEditor appears to be OK (light on dark.)
Also, any text added directly to the blog post template (which I added as a debugging test) also comes out as dark text on dark background.
In other words, the text styling is not scoped to cover the whole blog post, but only covers the text captured by the CKEditor at the time that the background is known.
I haven't gotten deep enough into the code to understand where this is coming from, but I thought you should know.
Thanks.
Ahh, Yeah that makes sense. When you use CKEditor, it's dumping formatted HTML into the database whereas when you seed posts with a script, they don't get any of that formatting.
Let me know what you find!
I would love to move away from CKeditor to something that authors mark, but I never had the time to do so.
Issue
In dark mode (as set by my window OS preference) any pre-existing blog text from the sample posts comes out as dark type on dark background. Text that is entered via the CKEditor appears to be OK (light on dark.)
Also, any text added directly to the blog post template (which I added as a debugging test) also comes out as dark text on dark background.
In other words, the text styling is not scoped to cover the whole blog post, but only covers the text captured by the CKEditor at the time that the background is known.
I haven't gotten deep enough into the code to understand where this is coming from, but I thought you should know.
Thanks.
Interesting. I remember coming across something similar sometime ago, but couldn't pinpoint what the issue was. It would be nice to see you come with something