Turns out my immediate mode game UI library is not very convenient to use because the slightest change requires recompiling the entire code (which takes around two minutes for my game). Since the UI is written purely in code there is no preview available, and it’s really long and annoying to produce what you want. It would’ve worked with an interpreted language, but not with Rust.

Therefore I started a small HTML/CSS engine that is game-oriented (in other words, no javascript, supported properties are cherry-picked, and most importantly the user must handle rendering and inputs manually).