Welcome, Guest. Please login or register.
August 18, 2022, 10:59:51 am

ballp.it is the community forum for The F Plus.

You're only seeing part of the forum conversation. To see more, register for an account. This will give you read-only access to nearly all the forums.

Topic: I'm reimplementing dark mode (controlled by your system settings)  (Read 3632 times)

Lemon

  • Whatever happened to Freedom of Speech?
  • Administrator
  • ...IT'S NOW THE MASH!
  • 3,987
  • 420
Okay, so brief overview.

  • Starting from a a request from Ambious, 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", 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.
Secret Gaygent 69 Puppy Time Shell Game Ambious Agent (gobble, gobble) Coop Great Joe Salubrious Rex SHAMBA~1.SBB auaurorau

Lemon

  • Whatever happened to Freedom of Speech?
  • Administrator
  • ...IT'S NOW THE MASH!
  • 3,987
  • 420
Okay! This has been implemented.

To get it to work, you need to have dark mode enabled on your system itself.

Agent (gobble, gobble) Coop Secret Gaygent 69

Great Joe

  • Local good at video games be-er
  • Paid
  • Myahhh!
  • 446
  • 11
Rad. Also can confirm you've avoided that one common Ubuntu error where dark mode would make text boxes illegible.
Lemon

Puppy Time

  • Rainbow Brownshirt
  • Paid
  • AND THEN THEY'LL HAVE A DONKEY HEAD!
  • 945
  • 33
Hell fukken yeah

Lemon

  • Whatever happened to Freedom of Speech?
  • Administrator
  • ...IT'S NOW THE MASH!
  • 3,987
  • 420
I've only tested it to a certain extent, so if you do run into visibility issues, post em here or email me.

Puppy Time

  • Rainbow Brownshirt
  • Paid
  • AND THEN THEY'LL HAVE A DONKEY HEAD!
  • 945
  • 33
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.

EYE OF ZA

  • some people's reactions such as the fuck,the hell,wtf, or what the hell
  • Paid
  • I have a problem and then I have another problem
    • 2,531
    • 160
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.
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.

Ambious

  • Moist
  • Paid
  • 184
  • -142
My eyes and battery thank you again.
lazzer grardaion?

Lemon

  • Whatever happened to Freedom of Speech?
  • Administrator
  • ...IT'S NOW THE MASH!
  • 3,987
  • 420
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)

Down10

  • Square Pusher
  • Paid
  • Oh, please slap me, I'm a bad piggy
  • 296
  • -51089
Thank you.

One note: the dropdown menus on the account setting pages need some work, as the headings are now unreadable.

Lemon

  • Whatever happened to Freedom of Speech?
  • Administrator
  • ...IT'S NOW THE MASH!
  • 3,987
  • 420
Thank you.

One note: the dropdown menus on the account setting pages need some work, as the headings are now unreadable.

Right you are. Issue added.
https://github.com/AhoyLemon/ballpit/issues/70

Lemon

  • Whatever happened to Freedom of Speech?
  • Administrator
  • ...IT'S NOW THE MASH!
  • 3,987
  • 420
Thank you.

One note: the dropdown menus on the account setting pages need some work, as the headings are now unreadable.

Right you are. Issue added.
https://github.com/AhoyLemon/ballpit/issues/70

And done.
Down10