docs: resolve dark mode transition flicker (#22117)

This commit is contained in:
Zhong
2025-09-11 13:49:21 +08:00
committed by GitHub
parent 66c37f139f
commit a1f7d84def

View File

@@ -70,6 +70,7 @@ const beforeChange = () => {
{
duration: 400,
easing: 'ease-in',
fill: 'both',
pseudoElement: isDark.value
? '::view-transition-old(root)'
: '::view-transition-new(root)',