Better Style and Color, TextComponents
Can now set style with style = premadeStyleObject
(as well as the same previous style { green; bold }
)
Colors can now be set with color = premadeTextColorObject
and rgb = 0x003300
. color { }
no longer exists
Existing text objects can be added as components, just like strings
val someText = ekho("Some existing text object") { style { green } }
val moreText = ekho("some stuff") { newLine; someText(false) }
// the false passed in to the invocation of someText prevents style inheritance, just the same as with strings :>