What are you trying to do? I have a project that has a switch to toggle dark mode. When the header is just in a stack on the, the code works. But I’m not sure what to change to get the swtich to work when it is in the Header component and the Header component is in the Default Layout.
What have you tried so far? Many expirements.
Relevant links:
- My project: Plasmic
- GitHub - its-a-lisa/switch-to-dark