styleOf function
The shared style node takes, when it is bound to one that exists.
Implementation
SceneTextStyle? styleOf(SceneDocument doc, SceneNode node) =>
switch (node.bindings[styleBindingKey]) {
StyleRef(:var name) => doc.tokenNamed(name)?.style,
_ => null,
};