-
Notifications
You must be signed in to change notification settings - Fork 672
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
Docs don't tell you to use ThemeProvider early enough. #1876
Comments
Hey @0-Captain, Theme UI doesn't know about your theme yet. You need to pass your theme object to Take a look at the third paragraph in Getting Started. https://theme-ui.com/getting-started#getting-started I made the required change in your CodeSandbox, here it is: https://codesandbox.io/s/theme-ui-repro-you-gotta-use-provider-bro-hebjd?file=/src/pages/_app.tsx I'll try to improve the docs so it's more evident. |
Hey @0-Captain, I made a small change to the index page and Getting Started section in the docs. (#1877) Here's the preview of new index page: https://theme-ui-iuu8kzl45-systemui.vercel.app/#create-your-theme Do you think this would be more welcoming to new Theme UI users? |
Great, I think it would be better to take the CodeSandbox as an example in the docs |
Describe the bug
![image](https://user-images.githubusercontent.com/36297071/127734859-784131f1-23b6-469e-8045-bbc813854734.png)
![image](https://user-images.githubusercontent.com/36297071/127734709-5f922ac2-a9fb-4cc3-94fa-8aee3f31f661.png)
the color value can't be converted to real color
code:
product:
To Reproduce
Steps to reproduce the behavior:
"jsxImportSource": "theme-ui",
demo:
https://codesandbox.io/s/reverent-wright-q1u54?file=/src/pages/index.tsx:81-88
The text was updated successfully, but these errors were encountered: