79095447

Date: 2024-10-16 18:56:54
Score: 2
Natty:
Report link

It clunky but you could define a custom tailwind utility class that applies both the color and padding in your tailwind config, and then just use the [&>button]:custom-class-name. Here is documentation: https://tailwindcss.com/docs/adding-custom-styles#adding-custom-utilities

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: alemulli