fix: theme toggle fallback animation flash issue (final)

This commit is contained in:
radishzzz 2025-01-24 00:30:39 +00:00
parent 00149b251b
commit d4e5fda5d1
4 changed files with 44 additions and 45 deletions

View file

@ -64,7 +64,7 @@ animation: none;
z-index: -1;
}
@supports not (view-transition-name: none) {
body {
body:not([data-restore-theme]) {
--at-apply: 'transition-all duration-500 ease-in-out';
}
}
}

View file

@ -12,9 +12,9 @@
}
.scrollbar-light {
--os-handle-bg: #D1C6BE;
--os-handle-bg-hover: #C1B6AF;
--os-handle-bg-active: #C1B6AF;
--os-handle-bg: #C9C4C1;
--os-handle-bg-hover: #B8B3B0;
--os-handle-bg-active: #B8B3B0;
}
.scrollbar-dark {