Grokmoo / thyme

Themable Immediate Mode User Interface Toolkit in Rust
Apache License 2.0
97 stars 5 forks source link

Default theme as a vector of 9 pixels #9

Open dumblob opened 4 years ago

dumblob commented 4 years ago

To ease adoption and make theming much easier, I'd prefer having "sane defaults" which if easily changed would lead to ~pleasant~ acceptable look (imagine Nuklear or ImGui defaults) with 0 effort?

I can imagine a vector of 9 pixels as the "default color palette" which would then be used for backgrounds, foregrounds, borders, hovers, etc.

This'd allow making a new "theme" as YAML one-liner refinable in the future as we go.

Grokmoo commented 4 years ago

I have to say this is a great idea and not something I thought of!