Themes - Bonk.io

Recolors elements in Bonk.io to customizable colors, and allows toggling your theme with a hotkey

ئاپتورى
Excigma
بۈگۈن قاچىلانغىنى
0
جەمئىي قاچىلانغىنى
1,684
باھا نومۇرى
2 0 0
نەشرى
0.1.28
قۇرۇلغان ۋاقتى
2021-11-20
يېڭىلانغان ۋاقتى
2022-12-17
ئىجازەتنامىسى
GPL-3.0
قوللايدىغىنى

Themes - Bonk.io

Join the Discord server for support or just to chat with other mod users!

⚠️ Warning: Elements may have poor contrast, checkboxes, and text may be unreadable or even invisible. Bonk.io's developer uses slightly different shades of colours to portray things. However, this script treats similar colors as the same for the sake of simplicity.

⚠️ Warning: Please backup your themes. Updates to this script may break themes - it is still under development. Saving themes has not been extensively tested. Themes are saved to your browser's storage, NOT to your account

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

Thanks to Oo 0 oO, yakaki, Bunjalis, kklkkj and birdie_ for suggesting features and spending time to test and report bugs

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

This theme script comes out of the box with a boring dark mode as a default - however, you can change all the colors, and there is also a light mode preset to get you started off.

Some similar looking colors have been grouped into one setting for the sake of simplicity, as such you CANNOT completely recreate the look of normal bonk's colors with this.

Toggle your theme with (Ctrl + Alt + D) or (Ctrl + Shift + D) - useful if there is unreadable text

  • Major white colored dialogs and popups have their background colors replaced using CSS.
  • The replay screen can be dimmed (it is by default)
  • You can change buttons' colors, and they can have an outline
  • Parts of the Map editor and Skin editor have been darkened, however the preview itself should not be touched by this
  • kklee theming support (thanks to kklkkj for hoisting the colors out into CSS variables)
  • (Optional) Change football mode's background color (Requires Code Injector to be installed). Changing football background color requires returning to the lobby and restarting the game for the color to change.

The code is very messy. I'm sorry.