Dark mode - Bonk.io

Recolors some elements to be darker, and allows toggling with hotkey

2021-11-20 يوللانغان نەشرى. ئەڭ يېڭى نەشرىنى كۆرۈش.

ئاپتورى
Excigma
باھا نومۇرى
0 0 0
نەشرى
0.0.4
قۇرۇلغان ۋاقتى
2021-11-20
يېڭىلانغان ۋاقتى
2021-11-20
Size
11.5 KB
ئىجازەتنامىسى
MIT
قوللايدىغىنى

Dark mode - Bonk.io

⚠️ Warning: There has been minimal testing done with this, elements may have bad contrast, checkboxes and text may be unreadable or even invisible

This is still a work-in-progress, some dialogs have not been styled yet

The aim of this is not to make EVERYTHING dark - some white checkboxes here and there are fine. The goal is to not have large windows that are bright white.

Tired of getting blinded at 3am (we don't talk about this) night whilst playing bonk.io? Same.

Toggle dark mode with Ctrl + Alt + D (It is on by default - you can change this on line 34)

  • Major white colored dialogs and popups have their background colors replaced using CSS.
  • The replay screen has been dimmed
  • Parts of the Map editor and Skin editor have been darkened, however the preview itself should not be touched by this
  • Tries to style parts of kklee? (⚠️ Not thoroughly tested)

The code is very messy. I'm sorry.