sets canvas zindex behind sidebar/header

This commit is contained in:
2025-07-28 13:32:03 -07:00
parent f312730e35
commit eae9bc4048
3 changed files with 14 additions and 3 deletions
+9 -1
View File
@@ -16,12 +16,19 @@ const headerRecipe = defineRecipe({
}
});
const canvasRecipe = defineRecipe({
const dashboardRecipe = defineRecipe({
base: {
bg: "{base200}"
}
});
const canvasRecipe = defineRecipe({
base: {
bg: "{base200}",
zIndex: "-1"
}
});
const sidebarRecipe = defineSlotRecipe({
slots: ["root", "close_button", "buttons", "dark_mode_button"],
base: {
@@ -111,6 +118,7 @@ const config = defineConfig({
},
recipes: {
header: headerRecipe,
dashboard: dashboardRecipe,
canvas: canvasRecipe,
},
slotRecipes: {