The color node doesn't have any context, it just uses the configured keyPath, which is wrong.
We can pretty easily override a universal keyPath mapping which would change all highlightedColor keys in a color node to highlightedTextColor. This would be more explicit ideally (ie: only do the mapping inside of labels), but in reality I think this simple hack should work fine.
The color node doesn't have any context, it just uses the configured keyPath, which is wrong.
We can pretty easily override a universal keyPath mapping which would change all
highlightedColor
keys in a color node tohighlightedTextColor
. This would be more explicit ideally (ie: only do the mapping inside of labels), but in reality I think this simple hack should work fine.