Dark mode - Bonk.io

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

当前为 2021-11-20 提交的版本,查看 最新版本

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
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.