diff --git a/package.json b/package.json index 9dc27b4..7d63a6b 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "README.md" ], "main": "dist/index.js", - "version": "0.0.9", + "version": "0.0.10", "scripts": { "prepare": "ts-patch install -s && bun .husky/install.ts", "prepublishOnly": "bun run build", diff --git a/src/index.ts b/src/index.ts index bc4caa8..8505d58 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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: {