Copyright | (c) Nathaniel Symer, 2015 |
---|---|
License | MIT |
Maintainer | nate@symer.io |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
Niagra DSL.
- css :: Monad m => NiagraT m () -> m Text
- css' :: NiagraT Identity () -> Text
- cssBuilder :: Monad m => NiagraT m () -> m Builder
- cssBuilder' :: NiagraT Identity () -> Builder
- block :: Monad m => Selector -> NiagraT m () -> NiagraT m ()
- declaration :: Monad m => Text -> Builder -> NiagraT m ()
- (?) :: Monad m => Selector -> NiagraT m () -> NiagraT m ()
- (.=) :: Monad m => Text -> Builder -> NiagraT m ()
Rendering Functions
Start a CSS declaration in monad m
.
Start a CSS declaration in monad m
that returns a Builder
.
cssBuilder' :: NiagraT Identity () -> Builder Source
Non-monadic version of cssBuilder
.
CSS Declaration Functions
Defines a CSS block.