1ifeworld / river-source

Opinionated site implementation
https://river-live.vercel.app
GNU Affero General Public License v3.0
1 stars 1 forks source link

Update the `Typography` component to return a single `Text` component #303

Open salieflewis opened 1 year ago

salieflewis commented 1 year ago

It is a far better developer experience to have a single Text component that can take the shape of a header, or larger body text instead of a variety of different components. It also makes applying styles a lot easier.

A PR with this change will also have to update all the existing typography instances across River.