Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Add <ThemeProvider /> global decorator to Storybook. #14

Merged

Conversation

teezzan
Copy link
Contributor

@teezzan teezzan commented Oct 24, 2021

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update

Description

To be able to use Theme UI's in Storybook, a global decorator needed to be created so that all Storybook stories use it. This is a simple implementation.

Related Tickets & Documents

Closes #11

Added/updated tests?

  • Yes
  • No, and this is why: It is a theme-ish fix and I don't think it requires that tests be written
  • I need help with writing tests

[optional] What gif best describes this PR or how it makes you feel?


via GIPHY

Copy link
Owner

@nickytonline nickytonline left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @teezzan! 🚀

@nickytonline nickytonline merged commit 99d2c98 into nickytonline:main Oct 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a <ThemeProvider /> global decorator to Storybook.
2 participants