Closed brandongregoryscott closed 2 years ago
The Paragraph component's size PropType should be widened to accept small, medium or large since our default theme remaps 300, 400 and 500 to those theme values anyway:
Paragraph
size
small
medium
large
300
400
500
https://github.com/segmentio/evergreen/blob/10e8e2399029a22526b55e3f532a0c0b81952696/src/themes/default/components/paragraph.js#L38-L43
The
Paragraph
component'ssize
PropType should be widened to acceptsmall
,medium
orlarge
since our default theme remaps300
,400
and500
to those theme values anyway:https://github.com/segmentio/evergreen/blob/10e8e2399029a22526b55e3f532a0c0b81952696/src/themes/default/components/paragraph.js#L38-L43