Tailwind alias/rename utility?

I've got a theme color config that looks a little like this:
theme: {
  colors: {
    text: {
      vivid: "...",
      muted: "...",
    },
  }
}

Is it possible to make it so I can just use
text-vivid
instead of
text-text-vivid
?
Non-
text
utilities should be unaffected, so
bg-text-valid
if for some reason I want to color the background with the
text-vivid
color.
I assume this can probably been done with a plugin, but I'm not sure. Is it possible? Are there any existing solutions?
Thanks 🙂
Was this page helpful?