git clone ssh://git.iko.soy/rowtype-yoga/purescript-fahrtwind
* PureScript Fahrtwind
#+CAPTION: A nice picture of somebody's hair blowing in Fahrtwind
#+NAME: fig:fahrtwind
[[./docs/img/fahrtwind.jpg]]
A library that leverages [[https://github.com/lumihq/purescript-react-basic-emotion][react-basic-emotion]] to provide a lot of functionality from [[https://tailwindcss.com/][tailwind]].
** Example
#+BEGIN_SRC purescript
module Example where
import Fahrtwind
import React.Basic.Emotion as Emotion
import React.Basic.DOM (a', text)
import Fahrtwind.Icon.Heroicons as Heroicon
anchor href caption = Emotion.element a'
{ className: "my-anchor"
, css: textCol blue._500
<> hover textDecorationUnderline
, href
, children: [ text caption, Heroicon.externalLink ]
}
#+END_SRC