Rerouted (cache, verified). The original is gone. This copy comes from a Lamdera package cache made before it went. The Lamdera package server serves a copy recovered from a Lamdera package cache from 2021-02-13.
What we checked: Rebuilt from the unpacked sources in a Lamdera package cache (5 copies agree), which Elm only writes after the published SHA-1 checked out; elm.json is byte-identical to package.elm-lang.org's; the exposed modules match docs.json; the zip is our own, so its SHA-1 is not the published one.
The Lamdera compiler uses this copy and prints a one-line notice saying so. elm itself fails to download this version.
Details · package.elm-lang.org's zip: https://github.com/afidegnum/elm-tailwind/zipball/1.0.0/
A small library that makes using tailwind.css a little easier and a little safer to use within Elm.
You'll find classes responding to Tailwind rules in Tailwind.Classes.
In there you'll also find functions for appending responsive qualifiers to those classes. Here's an example of what a div using tailwind might look like:
div
[ tailwind
<| withClasses [ "__login_page" ] -- __login_page is not a tailwind class, it's just for marking the div's purpose.
<| [ m_1, lg m_6 ]
]A convenience function for specifying classes as a list of strings
A convenience function for adding non-tailwind classes to an element alongside other tailwind classes. Could be used like this:
div
[ tailwind
<| withClasses [ "superfunclass" ]
<| [ sm mt_1 ]
]Turns tailwind classes into normal strings, for when you just want a list of strings instead of an Html.Attribute.
An HTML "link" tag that will import the default tailwind stylesheet