Rethinking phx-no-feedback

I wonder if there are any initiatives to improve this, I was revisiting some old code that uses core components today and noticed that we redeclare classes for the base styles of an input (notice the border-zinc-300 and focus:border-zinc-400):

 "mt-2 block w-full rounded-lg text-zinc-900 focus:ring-0 sm:text-sm sm:leading-6",
 "phx-no-feedback:border-zinc-300 phx-no-feedback:focus:border-zinc-400",
 @errors == [] && "border-zinc-300 focus:border-zinc-400",
 @errors != [] && "border-rose-400 focus:border-rose-400"

PS.: If you follow this pattern, once you have to support a dark mode (or responsive variants) which is what I’m doing now, you start having lots and lots of duplicated classes.