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 made Avatar component using vanilla-extract and radix ui.
and I made avatar in storybook. By the way, storybook style is broken !!
The strange thing in this situation is Avatar component is fine. but Input, Button component's style is broken...
Another strange thing is other Components(ex Input, CheckBox, Button....) use sprinkles, But storybook is fine
Not using sprinkles
using sprinkles
strangely I change sprinkles => style, and enter same css value, this problem is fixed
and I simply ran const a = sprinkles();in Avatar.css.ts , result is same(broken Input and Button style)
Why does using sprinkles in Avatar.css.ts break Input and Button style ?
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I made Avatar component using vanilla-extract and radix ui.
and I made avatar in storybook. By the way, storybook style is broken !!
The strange thing in this situation is Avatar component is fine. but Input, Button component's style is broken...
Another strange thing is other Components(ex Input, CheckBox, Button....) use
sprinkles
, But storybook is fineNot using
sprinkles
using
sprinkles
strangely I change
sprinkles
=>style
, and enter same css value, this problem is fixedand I simply ran
const a = sprinkles();
in Avatar.css.ts , result is same(broken Input and Button style)Why does using
sprinkles
in Avatar.css.ts break Input and Button style ?Beta Was this translation helpful? Give feedback.
All reactions