📄️ Implementing dark mode
Of course, no app is complete without a dark mode. Here a simple example of how you would implement it:
📄️ Running the fixture app
The fixture app serves as a playground to either learn to use Restyle, test changes to the library, or simply prototype ideas. To get it running, follow the steps below:
📄️ Getting Setup With the Shopify Design System
To start using Shopify style assets we can leverage Polaris tokens. You can see all of the tokens here.
📄️ Migrating to Restyle V2
v2 of this library introduces breaking changes in the usage of the useRestyle hook.