sebastiaanvisser / clay

A CSS preprocessor as embedded Haskell.
Other
360 stars 73 forks source link

Rewrite boxShadow functionality using BoxShadow newtype #160

Closed dbaynard closed 6 years ago

dbaynard commented 6 years ago

Fixes #146 (also #144)

There is one breaking change (though the type error will make it obvious) to the type of boxShadow. The rest of old API still available, though, with deprecation warnings.

Test suite + changelog included. The tests are a little noisy; there's probably an acceptable way to factor out all of the browser prefixes from the test results.

This does interact slightly with #158 and #159 so if you want to merge all three, I'd be happy to rebase this, first.