stitch-0.4.0.0: lightweight CSS DSL

Safe HaskellNone
LanguageHaskell2010

Stitch.Types.Selector

Description

This module defines everything used to manage CSS selectors: creating them as well as combining them (using the Monoid instance). It also includes a function fromText for converting arbitrary Texts to Selectors.

Synopsis

Documentation

fromText :: Text -> Selector Source #

Parse a Selector from a Text value. This is the same function used by the IsString instance used by OverloadedStrings.