Mixing TW
const AppStyles = styled.div.attrs({ className: "w-full h-screen flex flex-col items-center justify-center" })` & { h1 { ${tw`font-sans text-6xl font-hairline text-6xl text-teal-500`} transform: scale(1); transition: all 0.3s ease-in-out; } h1:hover { transform: scale(2); } } `;
Just seems overly complexing mixing all these styles. Stick with Styled. Or go full out with TW. Not sure the benefit of this mix.
Ah, okay, got it, thank you!
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Mixing TW
Just seems overly complexing mixing all these styles.
Stick with Styled. Or go full out with TW. Not sure the benefit of this mix.
Ah, okay, got it, thank you!