Replies: 1 comment 8 replies
-
@k35o This is how you'd use it. Seems we need to update the types for the config though. |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi I want to use the
filter
property in panda-css.According to the documentation, if I set
filter
to'auto'
, thefilter
will be'var(--blur, ) var(--brightness, ) var(--contrast, ) var(--grayscale, ) var(--hue- rotate, ) var(--invert, ) var(--saturate, ) var(--sepia, ) var(--drop-shadow, )'
.var(--drop-shadow, )
is set to the value given todropShadow
, and the value to be given is written to make use ofdropShadows
in the Token Category.filter
filter
blur
--blur
blurs
brightness
--brightness
contrast
--contrast
grayscale
--grayscale
hueRotate
--hue-rotate
invert
--invert
saturate
--saturate
sepia
--sepia
dropShadow
--drop-shadow
dropShadows
However, the
dropShadows
does not appear except here.If I want to use
dropShadows
as a token, how should I describe the configuration file?Beta Was this translation helpful? Give feedback.
All reactions