~alcinnz/haskell-stylist

ref: fec99b19a7ca7886471d2e5554b7a1e21dbb2c98 haskell-stylist/src/Data/CSS d---------
7d1e8859 — Adrian Cochrane 4 years ago
Let user & useragent styles query for a lack of author styles.
41adcf9d — Adrian Cochrane 4 years ago
Introduce simplified html2css API

Which, now that these are implemented, lowers <style> to @media & <link rel=stylesheet> to @import.
950b7f7d — Adrian Cochrane 5 years ago
Release Haskell Stylist 1.1.0.0!
04976d4d — Adrian Cochrane 5 years ago
Unittest conditional styles, add loadImports API to fit Rhapsode's use.
c66e9303 — Adrian Cochrane 5 years ago
Test rules capturing of ConditionalStyleSheet.
e73cd8f9 — Adrian Cochrane 5 years ago
Code cleanliness: drop unneeded ' from Data.CSS.Style.Cascade.dispatch'
349b947a — Adrian Cochrane 5 years ago
Test CSS variables.
21baea3d — Adrian Cochrane 5 years ago
Fix: ConditionalStyles reversed CSS precedance.
0cd24157 — Adrian Cochrane 5 years ago
Fix precedence of conditional blocks (+API redesign)
efd97088 — Adrian Cochrane 5 years ago
Implement @supports.
2bb6ba1d — Adrian Cochrane 5 years ago
Draft interpretor for @supports.
d5c5ddeb — Adrian Cochrane 5 years ago
Media queries: fix popping two items off stack.

I forgot that FIFO reversed the order of the list.
b8daf07f — Adrian Cochrane 5 years ago
Implement @import & @media

Dependency injection required for an HTTP client library.
10a6e634 — Adrian Cochrane 5 years ago
Fix syntax errors in ConditionalStyles
da4a5843 — Adrian Cochrane 5 years ago
Support multiple @document conditions (FIX)
4435ce00 — Adrian Cochrane 5 years ago
Switch @document from conjunctive conditions to disjunctive conditions.
8f545827 — Adrian Cochrane 5 years ago
Implement @document rules (save regexp() conditions).

I've still got to select a regexp library to power it.
d5d20109 — Adrian Cochrane 5 years ago
Implement var() via a PropertyParser decorator.
feb616e8 — Adrian Cochrane 5 years ago
Expose hooks for implementing var().

The tricky part here is around CSS inheritance, it works naturally in the existing cascade implementation.
61ab1bce — Adrian Cochrane 5 years ago
Resolve attr() functions.

It's defined during query, because that's when Stylish Haskell (or it's callers)
have easy access to the element being queried.
Next