fix: remove body background-color/color transitions to prevent theme flash
- Remove transition: background-color/color from body in all CSS files - These transitions caused visible flash when navigating between pages - The browser would animate from old theme colors to new theme colors
This commit is contained in:
@@ -19,8 +19,6 @@
|
||||
font-size: var(--text-body-sm);
|
||||
color: var(--color-text-primary);
|
||||
background-color: var(--color-bg-base);
|
||||
transition: background-color var(--duration-normal) var(--ease-in-out),
|
||||
color var(--duration-normal) var(--ease-in-out);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user