Prior to today, there was quite a bit of flexibility available to format text in a small set of standard colors. The format was kr-[color]-[shade]-[fg/bg].
For example, if you wanted to programmatically color a string red, you could use something like:
kr-red-medium-fg, To add a yellow background to that, you’d use kr-yellow-light-bg. The full formula would be:
_Color(“kr-red-medium-fg kr-yellow-light-bg”, “My Text”)
It seems that this is broken, as of today The color part of the formula still supports hexcodes (eg _Color("#ff0000", “I’m red”), and now supports a new syntax with just the base color (eg _Color(“red”, “I’m Red”) which previously wasn’t possible).
Additional examples which are also broken include kr-highlight (an easy yellow highlight), along with the interactive hover states kr-red-gradient-interactive.
Is there a new syntax that is as flexible as the “kr-” syntax was?