Carbon: Button size naming

Created on 18 Feb 2020  ·  2Comments  ·  Source: carbon-design-system/carbon

Just a minor thing: Carbon has three button sizes (if you ignore the full-bleed version in the modals).
Where "Default" and "Small" are consistently used to describe the - well - default and small sizes 😀, the middle one is has three names:

In the Sketch kit it's "Medium"
image

In code it's "Field"
image

On the carbon website it's "Inline"
image

I can see that is hard to change the name in either the Sketch kit or code since it'd be a breaking change (although in code there could be a deprecation warning for a while).

question ❓ 11

Most helpful comment

This should also map to the text input / select / dropdown sizing conventions, which in v11 will be small, medium / (default), and large

Related reading:

https://github.com/carbon-design-system/carbon/pull/5311
https://github.com/carbon-design-system/carbon-website/pull/845#issuecomment-577939803
https://github.com/carbon-design-system/carbon/pull/5076

All 2 comments

This should also map to the text input / select / dropdown sizing conventions, which in v11 will be small, medium / (default), and large

Related reading:

https://github.com/carbon-design-system/carbon/pull/5311
https://github.com/carbon-design-system/carbon-website/pull/845#issuecomment-577939803
https://github.com/carbon-design-system/carbon/pull/5076

Thanks for the links!

Was this page helpful?
0 / 5 - 0 ratings