79765362

Date: 2025-09-15 16:00:25
Score: 1
Natty:
Report link

If using tailwind v4 the documentation misses out ring-offset-color
I've found bg-color helps with the clipped border radius but if you have any ring offset by default it's white and you cannot make it transparent. This means you need to set it also.

I've ended up just having to pass in a prop for the classes I want to apply for colour because I have different background colours the same component can sit on. Could do this with a class prop or if you only have 2 options then you could just use a boolean...

That's just my experience/solution for ring.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jamie Corkindale