You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm so excited to be using stylexjs for out companies new component library. Unfortunately I am not able to get the project setup using storybook and webpack. Following the documentation for creating variables and themes, I am not able to get those variables to load into storybook globally. As soon as I use a color variable that I have defined with defineVars it is not being applied. I can also not see any CSS variables being applied to the dom. I wish there was some sort of documentation for setting this up as there is very little support on this topic on the internet.
Thanks a lot
The text was updated successfully, but these errors were encountered:
The PostCSS plugin is likely the best approach for making this work. I don't have a lot of experience using Storybook myself, so if you could provide a basic setup you need we might be able to help.
The Discussions tab might also reveal some information about storybook. There have been previous members of the community who got it to work.
Adding storybook documentation
I'm so excited to be using stylexjs for out companies new component library. Unfortunately I am not able to get the project setup using storybook and webpack. Following the documentation for creating variables and themes, I am not able to get those variables to load into storybook globally. As soon as I use a color variable that I have defined with defineVars it is not being applied. I can also not see any CSS variables being applied to the dom. I wish there was some sort of documentation for setting this up as there is very little support on this topic on the internet.
Thanks a lot
The text was updated successfully, but these errors were encountered: