(null);
const numberOfSparks = 4;
+ const { theme } = useTheme();
return (
@@ -86,7 +88,7 @@ export default function TreeAnimation() {
y1={a.y}
x2={b.x}
y2={b.y}
- stroke="white"
+ stroke={theme === "light" ? "black" : "white"}
strokeWidth="0.3"
filter="url(#glow)"
/>