Make label heading styles the default
See background in https://github.com/cfpb/capital-framework/pull/632#discussion_r142753782
Current behavior
- The majority of the time label headings are used, not plain labels. This means
a-label a-label__headingclasses are generally needed.
Expected behavior
-
a-labelhas the label heading styles and a separatea-label__inlineclass is added that negates the heading styles.a-label__headingis removed.
@anselmbradford should we add this to the v5 project? It'll require updating markup in a lot of places and probably shouldn't be considered backward compatible.
Added it.
Scott and I were discussing this today as part of something unrelated and we had a realization, making the heading style the default would mean unsetting all those styles for the inline modifier. Currently, we're only adding styles, not removing them, so it makes sense from that point of view. One solution might be to make an a-inline-label atom just for inline labels. I'll leave it to you all to decide.