Fixed a bunch of color transition issues on theme switch

This commit is contained in:
Alexis
2025-08-04 21:48:57 +02:00
parent 9b8f48ad8e
commit 119968e7fc
10 changed files with 10 additions and 10 deletions

View File

@@ -6,7 +6,7 @@ const { isSidebarOpened } = storeToRefs(useUiStore())
<template>
<div
class="h-full grid md:grid-cols-[auto_1fr] dark:bg-black transition-colors after:absolute after:transition-colors"
class="h-full grid md:grid-cols-[auto_1fr] bg-background transition-colors after:absolute after:transition-colors"
:class="cn({
'max-md:after:bg-transparent': isSidebarOpened,
'has-sidebar max-md:after:bg-black/20 md:after:opacity-0 md:after:pointer-events-none': isSidebarOpened