Skip to content

Gatsby with styled-components - cannot disable preflight #155

Closed Answered by ben-rogerson
talohana asked this question in Q&A
Discussion options

You must be logged in to vote

Repost so I can mark it as the answer:

The preflight styles are added with the base.min.css import and the GlobalStyles import.
If you want to create your own preflight styles then don't include those imports in your project.

Here's the latest base.min.css so you can copy the required pieces into your own reset.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@talohana
Comment options

@ben-rogerson
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by ben-rogerson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants