feat: expand CSS conditions for active and open states
This commit is contained in:
@@ -190,7 +190,8 @@ const srJuggernautPandaPreset = (config?: ThemeConfig) => {
|
||||
},
|
||||
conditions: {
|
||||
extend: {
|
||||
active: '&[data-state="open"]'
|
||||
active: '&:is(:active, [data-active], [data-state="active"], [data-state="open"])',
|
||||
open: '&:is(:open, [open], [data-open], [data-state="open"])'
|
||||
}
|
||||
},
|
||||
globalCss: {
|
||||
|
||||
Reference in New Issue
Block a user