1.0.3 • Published 2 years ago

tailwind-color-util v1.0.3

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

A small utility to get tailwind color scheme in case you need to work with other css styling tool such as styled component, inline style... I've found it very useful in my projects, so I hope you found it useful too.

Example:

  • twHex("slate-900") ~ #0f172a,
  • twRgb("slate-900") ~ rgb(15 23 42),
  • twRgba("slate-900", 10) ~ rgba(15,23,42,10)
1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago