Dark mode - Bonk.io

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

目前為 2021-11-20 提交的版本,檢視 最新版本

作者
Excigma
評價
0 0 0
版本
0.0.3
建立日期
2021-11-20
更新日期
2021-11-20
尺寸
11.2 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 ⚠️ I have not tested the map vote window yet

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.