I am using vanilla-extract themes and attach them to an element. With this I can view different themes side-by-side in storybook. The problem arises when I use theme variables in a portal. Because the portal is always attached to the body, these variables do not get picked up.
For this it would be good if there would be the possibility to pass an id or element to a portal and attach the portal to this element.
I am using vanilla-extract themes and attach them to an element. With this I can view different themes side-by-side in storybook. The problem arises when I use theme variables in a portal. Because the portal is always attached to the body, these variables do not get picked up.
For this it would be good if there would be the possibility to pass an id or element to a portal and attach the portal to this element.