Skip to content
This repository has been archived by the owner on Jul 18, 2022. It is now read-only.

Make gatsby-plugin-theme-ui optional #16

Closed
mshick opened this issue Jul 15, 2020 · 1 comment
Closed

Make gatsby-plugin-theme-ui optional #16

mshick opened this issue Jul 15, 2020 · 1 comment

Comments

@mshick
Copy link

mshick commented Jul 15, 2020

Sorry to bomb you, related to my other issue, wondering if you'd consider making the theme-ui plugin optional. I realize that's the standard theme-ui plugin, but the blocking approach they take to support color modes can have a big impact on Lighthouse (and possibly other) profilers. See issue.

I realize you rely heavily on theme-ui, so for most folks they could install the plugin as a peer. In my case, I could import your theme and present to my own site's wrapRootElement implementation.

@PaulieScanlon
Copy link
Owner

@mshick Hey, thanks for you interest in the project. Unfortunately I don’t think I’ll be able to make Theme UI optional as all of the theme styles depend on it. Sorry about that!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants