~alcinnz/haskell-stylist

ref: b63c178768ed51e223c9f2b2e6ad1a779c909abc haskell-stylist/src/Data/CSS/Syntax/StyleSheet.hs -rw-r--r-- 558 bytes
b63c1787 — Adrian Cochrane Add utils for implementing :target-within, ensure unlayered styles take precedance. 2 years ago
                                                                                
6344dc8e Adrian Cochrane
186cbffa Adrian Cochrane
a73ae441 Adrian Cochrane
c1fca3d5 Adrian Cochrane
d073900e Adrian Cochrane
c66e9303 Adrian Cochrane
be4bb6f0 Adrian Cochrane
7061161d Adrian Cochrane
be4bb6f0 Adrian Cochrane
c1fca3d5 Adrian Cochrane
a73ae441 Adrian Cochrane
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{-# LANGUAGE OverloadedStrings #-}
-- | Parses a CSS stylesheet
-- See `StyleSheet` & `parseForURL`.
--
-- Backwards-compatability module, this API has been moved out into "stylist-traits".
module Data.CSS.Syntax.StyleSheet (
        parse, parse', parseForURL, TrivialStyleSheet(..),
        StyleSheet(..), skipAtRule, scanAtRule, scanBlock, skipSpace,
        StyleRule(..),
        -- For parsing at-rules, HTML "style" attribute, etc.
        parseProperties, parseProperties',
        -- for testing
        scanValue
    ) where

import Stylist.Parse