-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
[FEATURE] Animate <motion.meta name="theme-color" content={ANIMATE THIS} /> #3100
Copy link
Copy link
Open
Labels
featureNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
As I'm animating my background (or something else), I'd love to animate the theme color as well.
Describe the solution you'd like
To animate content like I would any other color.
Describe alternatives you've considered
const [themeColor, setThemeColor] = useState<string>(
backgrounds.default[colorScheme].themeColor
);
// ...
<motion.div
initial={{
backgroundColor: "green",
}}
animate={{
backgroundColor: "blue",
transition: {
duration: 3,
},
}}
onUpdate={({ backgroundColor }) =>
setThemeColor(backgroundColor as string)
}
/>
// ...
<meta key={name} name={name} content={themeColor} />Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
featureNew feature or requestNew feature or request