Closed tmg0 closed 4 months ago
Used startViewTransition and animate API to add toggle theme color transition like nuxt devtools.
startViewTransition
animate
I'm not quite sure about if the isAppearanceTransition var should be defind in DarkSwitcher component.
isAppearanceTransition
DarkSwitcher
Description
Used
startViewTransition
andanimate
API to add toggle theme color transition like nuxt devtools.Additional context
I'm not quite sure about if the
isAppearanceTransition
var should be defind inDarkSwitcher
component.