Thanks a lot for pointing that out! As a matter of fact, your post is just 2 months old but I have still forgot about it, among all the other great stuff you share!
BTW, I believe that the APEX team will soon make user being able to do some of that mapping between the JSON variables and the CSS variables that get changed underneath. So we will stay tuned.
Louis Moreaux
Oracle APEX developer
Excellent article as always...
The only missing part is the JavaScript function that allows you to do that