connection line dark mode implemented

This commit is contained in:
Lucas Oliveira 2023-03-02 09:38:05 -03:00
commit f38e84fc4e

View file

@ -21,7 +21,7 @@ const ConnectionLineComponent = ({
fill="none" fill="none"
stroke="#222" stroke="#222"
strokeWidth={1.5} strokeWidth={1.5}
className="animated" className="animated dark:stroke-gray-400"
d={`M${fromX},${fromY} C ${fromX} ${toY} ${fromX} ${toY} ${toX},${toY}`} d={`M${fromX},${fromY} C ${fromX} ${toY} ${fromX} ${toY} ${toX},${toY}`}
style={connectionLineStyle} style={connectionLineStyle}
/> />
@ -31,6 +31,7 @@ const ConnectionLineComponent = ({
fill="#fff" fill="#fff"
r={3} r={3}
stroke="#222" stroke="#222"
className="dark:stroke-gray-400 dark:fill-gray-800"
strokeWidth={1.5} strokeWidth={1.5}
/> />
</g> </g>