Safe Haskell | None |
---|---|
Language | GHC2021 |
Web.Atomic.Types.Selector
Synopsis
- newtype Selector = Selector {}
- selector :: ClassName -> Selector
- data Pseudo = Pseudo {}
- newtype MediaQuery = MediaQuery {
- conditions :: [Text]
- data Media
- mediaCriteria :: Media -> MediaQuery
Documentation
Psuedos allow for specifying styles that only apply in certain conditions. See hover
etc
el (color Primary . hover (color White)) "hello"
newtype MediaQuery Source #
Constructors
MediaQuery | |
Fields
|
Instances
Media allows for responsive designs that change based on characteristics of the window. See Layout Example
mediaCriteria :: Media -> MediaQuery Source #