We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
The Tailwind preset is not compatible with Theme TypeScript type.
To Reproduce Steps to reproduce the behavior:
import { Theme } from 'theme-ui'
Here is a repo on CSB: https://codesandbox.io/s/repro-theme-ui-tailwind-typescript-olnsp
Expected behavior
The presets should be compatible with the Theme type.
Screenshots
The text was updated successfully, but these errors were encountered:
Hi, @schickling
Can you please try https://github.com/atanasster/theme-ui/blob/tailwind-preset-typescript/packages/preset-tailwind/src/index.ts
If it looks good, we can submit it as a PR.
@hasparus - I suspect most other themes will also need to be updated. New themes created will probably use those as templates.
Sorry, something went wrong.
This should be fixed between those PRs & #1862!
Successfully merging a pull request may close this issue.
Describe the bug
The Tailwind preset is not compatible with
Theme
TypeScript type.To Reproduce
Steps to reproduce the behavior:
Theme
(viaimport { Theme } from 'theme-ui'
)Here is a repo on CSB: https://codesandbox.io/s/repro-theme-ui-tailwind-typescript-olnsp
Expected behavior
The presets should be compatible with the
Theme
type.Screenshots
The text was updated successfully, but these errors were encountered: