-
Notifications
You must be signed in to change notification settings - Fork 671
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
theme styles generate duplication css output #2349
Comments
Yep, I'm having this issue too on sites like https://lachlanjc.com/ — not sure what's going on |
I don't see this problem in a commercial project nor in CodeSandbox. Also, not all classes in @lachlanjc's websites have duplicate styles. Do you guys think we can narrow this? When does it happen? When does it not happen? |
@hasparus wondering if there are any updates for this issue. I am still able to see this duplicate style issue on my new Gatsby project. Using the |
@hasparus The problem appears to be specific to Gatsby and changes introduced in the Head API in Gastby 5.6. See Gatsby #38249 for more details and repros at: |
Describe the bug
When I want to use the styles attribute to customize the native html tag style, for example: blockquote, but the style that ends up being generated to the page is repeated twice
To Reproduce
Expected behavior
I don't know why generate duplication css output,that should generate css only once
Screenshots
Additional context
As long as the styles defined from the styles object of theme-ui config have the problem of generating duplicate css
The text was updated successfully, but these errors were encountered: