We could introduce specific transformers in certain places. But I don’t see us adding a general API which would allow you to attach to any element/component.
As for the style= attribute discussion, I made this PR. Will try to get it reviewed/merged: