Closed JamDev0 closed 1 year ago
since box-shadow
properties can be sizes
or colors
, it would require more code for stitches to figure out which exactly value you want to interpolate here, f.e. boxShadow: 0 0 $md $brand-50
should understand $md
is var(--stitches-sizes-md)
and $brand-50
is var(--stitches-colors-brand-50)
. So you need to provide a hint, boxShadow: "0 0 0 1px $colors$default-brand-50"
Oh, ok, thank you :) appreciate it
Bug report
Describe the bug
When I try to set a boxShadow that uses a color that I have set in my theme, it doesn't apply when the element is focused.
To Reproduce
in "styles/index.ts"(Stitches configuration file):
In the styled component:
Expected behavior
That the border was aplied to the element when it was focused
System information
Additional context
I am using Stitches to create react components to be used in my Storybook. Could that be the problem?