night mode

by snak-pak, Saturday, March 13, 2021, 08:14 (41 days ago)

What would I have to change in the code to enable a night mode display?

I'm thinking to invert the background & text colors on the main pane showing the feeds. I'd like to end up with a black background and white text, easier on my eyes at night. Love selfoss so much, thank you Tobias! I have been using it daily for almost 8 years now, it's really great

night mode

by jtojnar, Monday, March 15, 2021, 22:04 (39 days ago) @ snak-pak

You can put the following CSS:

https://github.com/fossar/selfoss/issues/1094#issuecomment-466178382

into user.css file in the selfoss directory.

Hopefully, someday we will merge it into selfoss (using https://css-tricks.com/dark-modes-with-css/) but it still needs some polishing.

night mode

by snak-pak, Tuesday, March 16, 2021, 02:50 (38 days ago) @ jtojnar

Sweet, thank-you! Looks great.

If this gets merged into the main branch a simple on/off button could be added for anyone who doesn't like it.

RSS Feed of thread
powered by my little forum