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

Default theme global styles change components look and feel #80

Closed
fzaninotto opened this issue Jun 22, 2018 · 2 comments
Closed

Default theme global styles change components look and feel #80

fzaninotto opened this issue Jun 22, 2018 · 2 comments
Labels
bug Something isn't working

Comments

@fzaninotto
Copy link

Bug Report

The default theme exports global styles using emotion. These styles affect the style of the components I display in my docz.

Most notably, the global a style affects all buttons.

I think the bug started to appear when I installed emotion to style my own doc component helpers.

Solution:

Don't set global styles. Normalize.css already does that. The themes should only add styles related to their components.

@marceloavf
Copy link
Contributor

🎉 This issue is now fixed in version 0.3.2 🎉

The release is available on:

Feel free to reopen if the problem remains, thank you!

@fzaninotto
Copy link
Author

Thanks, it works 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants