News for hackers. Stuff that matters.
Re:Why Tailwind Isn't for Me by bernawil on Saturday January 27, 2024 @01:22AM (#39153131)
hey no need to make this an hypothetical! styled components come with ThemeProvider that does just that.

  const StyledButton = styled.button`
    background-color: ${props => props.theme.primaryColor};
  `

There are no comments on this comment yet.