ballp.it
Snakes In The Ball Pit => Announcements => Topic started by: Lemon on July 12, 2020, 02:27:54 pm
-
Okay, so brief overview.
- Starting from a a request from Ambious (https://ballp.it/index.php?topic=3040.0), I built a dark mode for ballpit. The stylesheet worked out fine, and this allowed me to call it feature complete and make it a feature of ballpit
- However, while the front-end code involved in that was fine, the backend code wasn't. I was accidentally creating hundreds of server errors a day, because I am bad at MySQL. I disabled dark mode "temporarily" (https://ballp.it/index.php?topic=3300.0), but then moved on to other shit and forgot about it
- Last night I remembered that I left that hanging, and am trying another implementation. This will be based on your system settings, rather than a toggle on the site itself. I'll update this thread once I have this part implemented on the live site.
-
Okay! This has been implemented.
To get it to work, you need to have dark mode enabled on your system itself.
- Windows 10 (https://www.pcmag.com/how-to/how-to-enable-dark-mode-in-windows-10#:~:text=To%20enable%20dark%20mode%20in%20the%20Windows%2010%20May%202019,and%20the%20built%2Din%20apps.)
- Android (https://www.digitaltrends.com/mobile/how-to-use-dark-mode-in-android/#:~:text=How%20to%20turn%20on%20dark%20mode%20in%20Android%2010,Theme%20and%20toggle%20it%20on.)
- MacOS (https://appsliced.co/ask/how-do-i-turn-on-dark-mode-on-a-mac)
- iOS (https://www.macworld.com/article/3405138/how-to-enable-dark-mode-on-iphone-and-ipad.html)
- Ubuntu (https://www.howtogeek.com/669755/how-to-enable-dark-mode-on-ubuntu-20.04-lts/#:~:text=Click%20the%20%E2%80%9CAppearance%E2%80%9D%20category%20in,%2C%20click%20%E2%80%9CLight%E2%80%9D%20instead.)
-
Rad. Also can confirm you've avoided that one common Ubuntu error where dark mode would make text boxes illegible.
-
Hell fukken yeah
-
I've only tested it to a certain extent, so if you do run into visibility issues, post em here or email me.
-
The text field (at least for replies) is dark until I click on it, at which point it becomes white with black text. Which I assume is not supposed to be the case in dark mode.
-
The text field (at least for replies) is dark until I click on it, at which point it becomes white with black text. Which I assume is not supposed to be the case in dark mode.
Puppy Time, July 12, 2020, 10:42:23 pm
This also happens for the New Topic text box, but not the text box for sending a PM.
Speaking of which, the alternating colors for Inbox messages alternate between black and white.
-
My eyes and battery thank you again.
-
K, update made. For edit mode, post title and post content got restyled (goes from "a little bit darker" to "a little bit more darker" on focus)
-
Thank you.
One note: the dropdown menus on the account setting pages need some work, as the headings are now unreadable.
-
Thank you.
One note: the dropdown menus on the account setting pages need some work, as the headings are now unreadable.
Down10, July 31, 2020, 09:38:48 am
Right you are. Issue added.
https://github.com/AhoyLemon/ballpit/issues/70
-
Thank you.
One note: the dropdown menus on the account setting pages need some work, as the headings are now unreadable.
Down10, July 31, 2020, 09:38:48 am
Right you are. Issue added.
https://github.com/AhoyLemon/ballpit/issues/70
Lemon, July 31, 2020, 01:50:23 pm
And done.