aboutsummaryrefslogtreecommitdiff
path: root/client/src/Util/Css.hs
blob: 804b10f431023db3e0231d510c203429ffa586ea (plain)
1
2
3
4
5
6
7
8
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