Skip to content

Typography#151

Merged
pickjasmine merged 13 commits intomainfrom
typography
Jul 7, 2021
Merged

Typography#151
pickjasmine merged 13 commits intomainfrom
typography

Conversation

@pickjasmine
Copy link
Copy Markdown
Contributor

Closes #144

Adds some basic typography components to cover the common use cases in the application. They are only dictating the font size and font weight with the exception of <Text.Caption/> and <Text.Label/> since those are universally colored for consistency. Some pieces of text still need additional classes to help with colors/padding/margin, but those styles are generally isolated to the specific component's file.

You can see what the types look like in this pic, as well as what using the component will render as in the DOM. You can override what the element will render to by specifying the as="elementType" prop. Check out the <LabelWithValue/> component for an example of that.

Screen Shot 2021-07-06 at 4 54 11 PM

Copy link
Copy Markdown

@RobertKelly RobertKelly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Text.Approved1

@pickjasmine pickjasmine merged commit c58e533 into main Jul 7, 2021
@pickjasmine pickjasmine deleted the typography branch July 7, 2021 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Typography Components

2 participants