cfpb / capital-framework

The Consumer Financial Protection Bureau's user interface framework
https://cfpb.github.io/capital-framework/
Creative Commons Zero v1.0 Universal
55 stars 29 forks source link

Make label heading styles the default #636

Open anselmbradford opened 7 years ago

anselmbradford commented 7 years ago

See background in https://github.com/cfpb/capital-framework/pull/632#discussion_r142753782

Current behavior

Expected behavior

jimmynotjim commented 7 years ago

@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.

anselmbradford commented 7 years ago

Added it.

jimmynotjim commented 6 years ago

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.