diff --git a/src/theme/drawer.ts b/src/theme/drawer.ts
index 06e23170..cdc474eb 100644
--- a/src/theme/drawer.ts
+++ b/src/theme/drawer.ts
@@ -1,7 +1,7 @@
export default {
slots: {
- overlay: 'fixed inset-0 z-50 bg-[--ui-bg-elevated]/75',
- content: 'fixed z-50 bg-[--ui-bg] ring ring-[--ui-border] flex focus:outline-none',
+ overlay: 'fixed inset-0 bg-[--ui-bg-elevated]/75',
+ content: 'fixed bg-[--ui-bg] ring ring-[--ui-border] flex focus:outline-none',
handle: 'shrink-0 rounded-full bg-[--ui-bg-accented]',
container: 'w-full flex flex-col gap-4 p-4 overflow-y-auto',
header: '',
diff --git a/src/theme/modal.ts b/src/theme/modal.ts
index c4d6a0e3..f0cd246f 100644
--- a/src/theme/modal.ts
+++ b/src/theme/modal.ts
@@ -1,7 +1,7 @@
export default {
slots: {
- overlay: 'fixed inset-0 z-50 bg-[--ui-bg-elevated]/75',
- content: 'fixed z-50 w-full h-dvh bg-[--ui-bg] divide-y divide-[--ui-border] flex flex-col focus:outline-none',
+ overlay: 'fixed inset-0 bg-[--ui-bg-elevated]/75',
+ content: 'fixed w-full h-dvh bg-[--ui-bg] divide-y divide-[--ui-border] flex flex-col focus:outline-none',
header: 'px-4 py-5 sm:px-6',
body: 'flex-1 p-4 sm:p-6',
footer: 'flex items-center gap-1.5 p-4 sm:px-6',
diff --git a/src/theme/slideover.ts b/src/theme/slideover.ts
index e4eba486..3f87a9ac 100644
--- a/src/theme/slideover.ts
+++ b/src/theme/slideover.ts
@@ -1,7 +1,7 @@
export default {
slots: {
- overlay: 'fixed inset-0 z-50 bg-[--ui-bg-elevated]/75',
- content: 'fixed z-50 bg-[--ui-bg] divide-y divide-[--ui-border] sm:ring ring-[--ui-border] sm:shadow-lg flex flex-col focus:outline-none',
+ overlay: 'fixed inset-0 bg-[--ui-bg-elevated]/75',
+ content: 'fixed bg-[--ui-bg] divide-y divide-[--ui-border] sm:ring ring-[--ui-border] sm:shadow-lg flex flex-col focus:outline-none',
header: 'px-4 py-5 sm:px-6',
body: 'flex-1 overflow-y-auto p-4 sm:p-6',
footer: 'flex items-center gap-1.5 p-4 sm:px-6',
diff --git a/test/components/__snapshots__/Drawer.spec.ts.snap b/test/components/__snapshots__/Drawer.spec.ts.snap
index 3ea21062..43a08b9f 100644
--- a/test/components/__snapshots__/Drawer.spec.ts.snap
+++ b/test/components/__snapshots__/Drawer.spec.ts.snap
@@ -5,8 +5,8 @@ exports[`Drawer > renders with body slot correctly 1`] = `
-
-
+
+
@@ -24,8 +24,8 @@ exports[`Drawer > renders with class correctly 1`] = `
-
-
+
+
@@ -43,8 +43,8 @@ exports[`Drawer > renders with content slot correctly 1`] = `
-
-
+
+
@@ -57,8 +57,8 @@ exports[`Drawer > renders with default slot correctly 1`] = `
-
-
+
+
@@ -76,8 +76,8 @@ exports[`Drawer > renders with description correctly 1`] = `
-
-
+
+
@@ -98,8 +98,8 @@ exports[`Drawer > renders with description slot correctly 1`] = `
-
-
+
+
@@ -120,8 +120,8 @@ exports[`Drawer > renders with footer slot correctly 1`] = `
-
-
+
+
@@ -139,8 +139,8 @@ exports[`Drawer > renders with header slot correctly 1`] = `
-
-
+
+
Header slot
@@ -158,8 +158,8 @@ exports[`Drawer > renders with left direction correctly 1`] = `
-
-
+
+
@@ -180,8 +180,8 @@ exports[`Drawer > renders with right direction correctly 1`] = `
-
-
+
+
@@ -202,8 +202,8 @@ exports[`Drawer > renders with title correctly 1`] = `
-
-
+
+
@@ -224,8 +224,8 @@ exports[`Drawer > renders with title slot correctly 1`] = `
-
-
+
+
@@ -246,8 +246,8 @@ exports[`Drawer > renders with top direction correctly 1`] = `
-
-
+
+
@@ -268,8 +268,8 @@ exports[`Drawer > renders with ui correctly 1`] = `
-
-
+
+
@@ -287,8 +287,8 @@ exports[`Drawer > renders without handle correctly 1`] = `
-
-
+
+
@@ -310,7 +310,7 @@ exports[`Drawer > renders without overlay correctly 1`] = `
-
+
diff --git a/test/components/__snapshots__/Modal.spec.ts.snap b/test/components/__snapshots__/Modal.spec.ts.snap
index 592f831d..b23553a3 100644
--- a/test/components/__snapshots__/Modal.spec.ts.snap
+++ b/test/components/__snapshots__/Modal.spec.ts.snap
@@ -5,8 +5,8 @@ exports[`Modal > renders with body slot correctly 1`] = `
-
-
+
+