Add TailwindColor
to your Swift project using Swift Package Manager:
.package(url: "https://github.com/infinity-ooo/tailwind-color.git", from: "1.0.0")
import TailwindColor
Text("Hello, TailwindColor!")
.foregroundStyle(TailwindColor.blue600)
// or you can use the shorthand `TC` for TailwindColor
Text("Hello, TailwindColor!")
.foregroundStyle(TC.blue600)
Every color constant within TailwindColor is a valid Color instance: