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

[Helper] Add injectGlobalStyles helper #158

Merged
merged 2 commits into from
Jan 11, 2019
Merged

Conversation

damassi
Copy link
Member

@damassi damassi commented Jan 11, 2019

This moves our GlobalStyles helper over from reaction which can be used like so:

import { injectGlobalStyles } from '@artsy/palette'

const { GlobalStyles } = injectGlobalStyles()

export const Boot = () => (
  <GlobalStyles>
    .. other providers and whatnot ... 
  <GlobalStyles>
)

@damassi damassi merged commit b393b88 into artsy:master Jan 11, 2019
@damassi damassi deleted the add-helper branch January 11, 2019 05:59
@artsyit
Copy link
Contributor

artsyit commented Jan 11, 2019

Deploy preview for artsy-palette ready!

Built with commit 4413a24

https://deploy-preview-158--artsy-palette.netlify.com

@artsyit
Copy link
Contributor

artsyit commented Jan 11, 2019

Deploy preview for artsy-palette ready!

Built with commit 5f2e1cd

https://deploy-preview-158--artsy-palette.netlify.com

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

Successfully merging this pull request may close these issues.

2 participants