diff --git a/src/lib/components/drawer/Backdrop.svelte b/src/lib/components/drawer/Backdrop.svelte
index 670e779..37f4861 100644
--- a/src/lib/components/drawer/Backdrop.svelte
+++ b/src/lib/components/drawer/Backdrop.svelte
@@ -4,7 +4,7 @@
import { getContext } from 'svelte';
const defaultClass =
- 'fixed inset-0 bg-background bg-opacity-10 backdrop-blur-sm transition-opacity pointer-events-auto';
+ 'fixed inset-0 bg-background bg-opacity-10 backdrop-blur-sm transition-opacity pointer-events-auto stwui-drawer-backdrop';
$: finalClass = twMerge(defaultClass, $$props.class);
const handleClose: () => void = getContext('drawer-handleClose');
diff --git a/src/lib/components/drawer/Content.svelte b/src/lib/components/drawer/Content.svelte
index cf22557..8ada6b6 100644
--- a/src/lib/components/drawer/Content.svelte
+++ b/src/lib/components/drawer/Content.svelte
@@ -6,7 +6,7 @@
import { exclude } from '../../utils/exclude';
const forwardEvents = forwardEventsBuilder(get_current_component());
- const defaultClass = 'relative flex-grow text-content p-4';
+ const defaultClass = 'relative flex-grow text-content p-4 stwui-drawer-content';
$: finalClass = twMerge(defaultClass, $$props.class);
diff --git a/src/lib/components/drawer/Drawer.svelte b/src/lib/components/drawer/Drawer.svelte
index 7740cf2..8f36801 100644
--- a/src/lib/components/drawer/Drawer.svelte
+++ b/src/lib/components/drawer/Drawer.svelte
@@ -90,10 +90,12 @@
}
}
- const defaultClass = 'flex inner-panel flex-col bg-surface overflow-hidden';
+ const defaultClass =
+ 'flex inner-panel flex-col bg-surface overflow-hidden stwui-drawer-inner-panel';
$: finalClass = twMerge(defaultClass, $$props.class);
- const defaultPanelClass = 'pointer-events-auto panel transition-transform duration-200';
+ const defaultPanelClass =
+ 'pointer-events-auto panel transition-transform duration-200 stwui-drawer-panel';
$: finalPanelClass = twMerge(defaultPanelClass, panelClass);
setContext('drawer-handleClose', onClose);
@@ -106,7 +108,7 @@