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 making a component library for my company and I'm having issues applying styles.
The ones defined in Histoire's setup file are only loaded once the component page is loaded.
Is there any way to apply styles as soon as Histoire gets opened (without stories)?
Also, styles I already have in setup are bleeding to the rest of Histoire. It would normally be fine but they get applied later and I have custom font sizes applied so there is unpleasant jump of the UI once some component story gets opened.
Particularly I need to style introduction page written in markdown so it has custom heading font and colours.
Also, is there any way to make intro page open by default while going into Histoire?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm making a component library for my company and I'm having issues applying styles.
The ones defined in Histoire's setup file are only loaded once the component page is loaded.
Is there any way to apply styles as soon as Histoire gets opened (without stories)?
Also, styles I already have in setup are bleeding to the rest of Histoire. It would normally be fine but they get applied later and I have custom font sizes applied so there is unpleasant jump of the UI once some component story gets opened.
Particularly I need to style introduction page written in markdown so it has custom heading font and colours.
Also, is there any way to make intro page open by default while going into Histoire?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions