wndrngdru
August 11th, 2025, 23:57
The Cypher System rulesets use a set of custom icons for the target number being rolled against. I'm hoping to redesign these to leverage the ColorManager functions the sidebar uses.
What I'm envisioning is coloring the icons the same color as the chatbox text so that no matter what theme is applied it should "just work" and theme creators don't need to specifically code for the Cypher rulesets.
First, is this possible, i.e., can I use a color variable assigned to text as input to ColorManager instead of assigning a specific color?
Second, I'm presuming I'll need to do some lua magic to make the icons work with ColorManager. Where do I start digging to figure that out?
What I'm envisioning is coloring the icons the same color as the chatbox text so that no matter what theme is applied it should "just work" and theme creators don't need to specifically code for the Cypher rulesets.
First, is this possible, i.e., can I use a color variable assigned to text as input to ColorManager instead of assigning a specific color?
Second, I'm presuming I'll need to do some lua magic to make the icons work with ColorManager. Where do I start digging to figure that out?