You can’t. The styleClasses are basically remnants from original Connect version which was very much a 1:1 to Server’s Atlassian-plugin.xml. Since then the two platforms have diverged and while things like this still exists - they’re pretty much useless on Cloud.