Skip to content
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

Merged
merged 5 commits into from Sep 23, 2020
Merged

Conversation

LekoArts
Copy link
Contributor

@LekoArts LekoArts commented Sep 23, 2020

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

image

image

image

image

@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Sep 23, 2020
@LekoArts LekoArts added topic: starters and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels Sep 23, 2020
@gatsby-cloud
Copy link

gatsby-cloud bot commented Sep 23, 2020

Gatsby Cloud Build Report

gatsby

🎉 Your build was successful! See the Deploy preview here.

Build Details

View the build logs here.

🕐 Build time: 20m

@LekoArts LekoArts marked this pull request as ready for review September 23, 2020 12:44
const saltyDuckEgg = "chinese preserved food product"
```

| Number | Title | Year |
Copy link
Contributor Author

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="/">
Copy link
Contributor Author

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)

Copy link
Contributor

@ascorbic ascorbic left a 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>
Copy link
Contributor Author

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

@LekoArts LekoArts merged commit 2e9a38b into master Sep 23, 2020
@LekoArts LekoArts deleted the remove-typography-js branch September 23, 2020 13:01
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.

None yet

2 participants