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
feat(gatsby-starter-blog): Remove typography.js #27001
Conversation
Gatsby Cloud Build Reportgatsby 🎉 Your build was successful! See the Deploy preview here. Build Details🕐 Build time: 20m |
const saltyDuckEgg = "chinese preserved food product" | ||
``` | ||
|
||
| Number | Title | Year | |
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.
Some boilerplate to test out all markdown combinations
{title} | ||
</Link> | ||
</h3> | ||
<Link className="header-link-home" to="/"> |
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.
h3
wasn't the correct tag for this link (it always came before the h1 of the page)
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.
This is awesome
to={post.fields.slug} | ||
itemProp="url" | ||
> | ||
<h2> |
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.
Correct order of heading tags was h2
here
Description
This removes
typography.js
from the "blog" starter and replaces it with normal CSS files.Typography.js is proprietary, difficult to understand (if you never used it) and cumbersome to remove from the project. The starter shouldn't be too opinionated and include it by default. With normal CSS files users can quickly remove all styling and replace it with their own. This problem was often mentioned by users.
The overall style didn't change much (a complete redesign can be done in the future) so the custom CSS replicates the style.
Screenshots