Closed mdesilva closed 5 months ago
Are you loading the files anywhere else?
This may be related to use in mdx.
As the addon can't load correctly without a story the last stylesheet to load would be included but not changeable.
I'll close for now as this is a bit out of date but let us know if this is still an issue.
I am using Storybook v7 and I see that only the styles from the last stylesheet that is defined in
parameters.cssVariables.files
are applied. For example, I see that the styles from both Nation and Sports are loaded but the one for Sports is always crossed out in the Chrome Devtools Inspector. I can see the other stylesheets in the dropdown but selecting them does nothing. Here are my Storybook config files:main.ts
preview.ts