SSVOpenHexagon icon indicating copy to clipboard operation
SSVOpenHexagon copied to clipboard

Allow more elements to have a color override in a Style

Open Morxemplum opened this issue 4 years ago • 3 comments

I think a nice addition that we can have to styles is the ability to override elements that usually would refer to the "main" color with new color attributes.

Here's a few things that can be overridden (this is the first issue I've raised with a checklist):

  • [x] Player Color
  • [x] Text Color
  • [ ] Swap Color
  • [ ] Void Color

Morxemplum avatar Jul 31 '20 20:07 Morxemplum

Would add:

  • [ ] Individual background panel colours by ID.

sounds like a cool feature to me idk. If it's for Lua ofc

Zly-u avatar Aug 01 '20 21:08 Zly-u

That is an entire issue on it's own, as it is pertaining to Lua. This issue focuses on the style JSONs themselves.

Morxemplum avatar Aug 01 '20 21:08 Morxemplum

Updated the issue by adding one more thing: the underlying background (or void, whatever you'd like to call it). Maybe that could be customizable. It may not serve a use 90% of the time, but it would give the Alpha attribute a purpose. I just consider the alpha attribute to be a glorified darkening attribute.

Since 2.0.3, player color and text color overrides are now possible because of #261. Swap color will be interesting. Both swap color and void color are niche, but again, we considered a lot of things in 1.92 niche but turned out to be fairly useful features later on. I'll have to see what I can do.

Morxemplum avatar Apr 01 '21 21:04 Morxemplum