-
Notifications
You must be signed in to change notification settings - Fork 0
new conf design — typography #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: new-conf-design--colors
Are you sure you want to change the base?
Conversation
.typography-h2 { | ||
font-size: 32px; | ||
} | ||
@media (min-width: 768px) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we use the tailwind breakpoints here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
c9f0a87
to
a263043
Compare
2d2be97
to
9890b09
Compare
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Description
I mirrored the text styles from Figma. https://www.figma.com/design/aPUvZDSxJfYDJtPd7GF2sB/GraphQL.org?node-id=54-1194&m=dev
I need to applaud the designers for the most consistent use of typography I've seen. Usually people fiddle with the font size per each breakpoint until it feels right resulting in styles like
text-base sm:text-lg md:text-sm lg:text-2xl
.