{-# LANGUAGE DataKinds #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE GADTs #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE QuasiQuotes #-}
{-# OPTIONS_GHC -fno-warn-missing-fields #-}
module Text.Lucius.Ordered
(
lucius
, luciusFile
, luciusFileDebug
, luciusFileReload
, luciusMixin
, Mixin
, luciusRT
, luciusRT'
, luciusRTMinified
, luciusRTMixin
, RTValue (..)
,
Css
, CssUrl
, ToCss (..)
, renderCss
, renderCssUrl
, Color (..)
, colorRed
, colorBlack
, mkSize
, AbsoluteUnit (..)
, AbsoluteSize (..)
, absoluteSize
, EmSize (..)
, ExSize (..)
, PercentageSize (..)
, percentageSize
, PixelSize (..)
, parseTopLevels
, luciusUsedIdentifiers
) where
import Text.Internal.CssCommon
import Text.Internal.Lucius
import Language.Haskell.TH.Quote (QuasiQuoter (..))
import Language.Haskell.TH.Syntax
import Data.Text (Text)
import qualified Data.Text.Lazy as TL
import Text.Internal.Css
lucius :: QuasiQuoter
lucius :: QuasiQuoter
lucius = Order -> QuasiQuoter
luciusWithOrder Order
Ordered
luciusFile :: FilePath -> Q Exp
luciusFile :: FilePath -> Q Exp
luciusFile = Order -> FilePath -> Q Exp
luciusFileWithOrd Order
Ordered
luciusFileDebug :: FilePath -> Q Exp
luciusFileDebug :: FilePath -> Q Exp
luciusFileDebug = Order -> FilePath -> Q Exp
luciusFileDebugWithOrder Order
Ordered
luciusFileReload :: FilePath -> Q Exp
luciusFileReload :: FilePath -> Q Exp
luciusFileReload = FilePath -> Q Exp
luciusFileDebug
luciusRT' :: TL.Text
-> Either String ([(Text, Text)]
-> Either String [TopLevel 'Resolved])
luciusRT' :: Text
-> Either
FilePath ([(Text, Text)] -> Either FilePath [TopLevel 'Resolved])
luciusRT' = Order
-> Text
-> Either
FilePath ([(Text, Text)] -> Either FilePath [TopLevel 'Resolved])
luciusRTWithOrder' Order
Ordered
luciusRT :: TL.Text -> [(Text, Text)] -> Either String TL.Text
luciusRT :: Text -> [(Text, Text)] -> Either FilePath Text
luciusRT = Order -> Text -> [(Text, Text)] -> Either FilePath Text
luciusRTWithOrder Order
Ordered
luciusRTMixin :: TL.Text
-> Bool
-> [(Text, RTValue)]
-> Either String TL.Text
luciusRTMixin :: Text -> Bool -> [(Text, RTValue)] -> Either FilePath Text
luciusRTMixin = Order -> Text -> Bool -> [(Text, RTValue)] -> Either FilePath Text
luciusRTMixinWithOrder Order
Ordered
luciusRTMinified :: TL.Text -> [(Text, Text)] -> Either String TL.Text
luciusRTMinified :: Text -> [(Text, Text)] -> Either FilePath Text
luciusRTMinified = Order -> Text -> [(Text, Text)] -> Either FilePath Text
luciusRTMinifiedWithOrder Order
Ordered
luciusMixin :: QuasiQuoter
luciusMixin :: QuasiQuoter
luciusMixin = Order -> QuasiQuoter
luciusMixinWithOrder Order
Ordered