threshold-network / website

1 stars 10 forks source link

1. Add responsive pixel sizes to the typography components #16

Closed georgeweiler closed 2 years ago

github-actions[bot] commented 2 years ago

Preview uploaded to https://preview.threshold.network/respoonsive-typography/index.html.

georgeweiler commented 2 years ago

Hey @r-czajkowski I decided to go with pixel sizing because there are only 4 elements that change size responsively. I figured that it's easier to use the {{ base: "40px", md: "48px" }} pattern on those elements rather than using rem or em and having to tell the other elements to remain the same size. Let me know if that makes sense and what you think - happy to discuss further