Dark mode - Bonk.io

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

Fra 20.11.2021. Se den seneste versjonen.

Forfatter
Excigma
Vurderinger
0 0 0
Versjon
0.0.4
Lagd
20.11.2021
Oppdatert
20.11.2021
Size
11,4 kB
Lisens
MIT
Gjelder

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.