backdrop merging
ameinhardt opened this issue · comments
Axel Meinhardt commented
In WindiCSS, I would combine (light/dark) backdrop filter like backdrop-blur-sm backdrop-brightness-75 dark:backdrop-brightness-125
. It works fine in @apply and inline.
In UnoCSS, I noticed that @apply doesn't merge but overwrites all backdrop-*
filter of an element. Inline works better, but the dark:backdrop-
still overwrites the other backdrop-filters.
Would you elaborate on how the array response with CONTROL_SHORTCUT_NO_MERGE for dynamic rules/shortcuts is (supposed to be) used in these cases?
See overlay example in playground (btw., maybe playground forwards to wrong baseurl / instead of /play ?)
Axel Meinhardt commented
Anthony Fu commented
Should be fixed.