diff options
author | Joris | 2019-10-12 11:23:10 +0200 |
---|---|---|
committer | Joris | 2019-10-12 11:23:10 +0200 |
commit | 52331eeadce8d250564851c25fc965172640bc55 (patch) | |
tree | e634c6d232d9a28384499fe19caeb80288d05df9 /client/src/Util/Css.hs | |
parent | 7529a18ff0ac443e7f9764b5e2d0f57a5d3a850b (diff) |
Implement client routing
Diffstat (limited to 'client/src/Util/Css.hs')
-rw-r--r-- | client/src/Util/Css.hs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/client/src/Util/Css.hs b/client/src/Util/Css.hs new file mode 100644 index 0000000..804b10f --- /dev/null +++ b/client/src/Util/Css.hs @@ -0,0 +1,9 @@ +module Util.Css + ( classes + ) where + +import Data.Text (Text) +import qualified Data.Text as T + +classes :: [(Text, Bool)] -> Text +classes = T.unwords . map fst . filter snd |