Compose together rule stores.
1 files changed, 17 insertions(+), 0 deletions(-) A src/Stylish/Style/Selector.hs
A src/Stylish/Style/Selector.hs => src/Stylish/Style/Selector.hs +17 -0
@@ 0,0 1,17 @@ module Stylish.Style.Selector( ) where import Stylish.Style.Selector.Index import Stylish.Style.Selector.Interpret import Stylish.Style.Selector.Specificity import Stylish.Style.Selector.Common ruleStore = OrderedRuleStore (InterpretedRuleStore styleIndex) 0 data QueryableStyleSheet = QueryableStyleSheet { store :: RuleStore, priority :: Int -- author vs user agent vs user styles } queryableStyleSheet = QueryableStyleSheet {store = ruleStore, proirity = 0}