mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-17 12:01:33 +02:00
fix: theme toggle fallback animation flash issue (final)
This commit is contained in:
parent
00149b251b
commit
d4e5fda5d1
4 changed files with 44 additions and 45 deletions
|
@ -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';
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue