Dark mode - Bonk.io

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

目前为 2021-11-20 提交的版本。查看 最新版本

作者
Excigma
评分
0 0 0
版本
0.0.4
创建于
2021-11-20
更新于
2021-11-20
大小
11.4 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.