Currently all information about optional classes, inline styles, alignments, etc. is included in a comment preceding the block's CSS selectors. Here's the most verbose example:
/*
* Button
*
* Note: Buttons container added in WP5.4
*
* Alignments: alignleft, aligncenter, alignright
* Default Style Variations: is-style-outline
* Possible Inline Styles: border-radius
* Color Support: Background, Text
*/
Some questions I would love feedback on:
- Is this the best possible way to do this?
- Is any information missing or unclear?
- What would be a better way?