In order to apply a Tailwind style to all elements without an explicit class=".." attribute, declare an extension to the base layer in tailwind's input file:
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
a {
@apply text-teal-500 underline font-medium;
}
}