Need a model for how to adjust font sizes
A static font size guarantees that some labels will be too small while others too large. There a couple ways out:
- have a predefined set of semantic classes for buttons with predefined sizes (current approach). It's not very flexible but it's rather consistent
- have a predefined set of visual classes for buttons. This is somewhat consistent, but will result in inconsistently looking layouts very quickly
- adjust font size based on available label space. This might be the best approach, although it probably needs a small number of predefined font sizes so that buttons are not all over the place in terms of label sizing. It may still give some inconsistently sized outliers.
- Expose full CSS to layout makers. Best freedom, worst ability to make sure things look consistently.
1., 2., and 3. need predefining a few names/sizes. Personally, I think 3. is nicest, but needs a cleanup of the font rendering first.