WashNGo-2.12.0.1: WASH is a family of EDSLs for programming Web applications in Haskell.

WASH.CGI.Style

Synopsis

Documentation

data Style Source

First class style elements. Intended for CSS2.

Constructors

NoStyle 
String :=: String

primitive style name :=: value

Style :^: Style

combine two styles

Named String

reference to style sheet

Instances

usingSource

Arguments

:: Monad m 
=> Style 
-> (WithHTML x m b -> c)

a field constructor, typically HTMLField

-> WithHTML x m b 
-> c

styled version of this constructor

Attaches a style to a field constructor.