purescript-contrib / purescript-css

A clean, type-safe library for describing, manipulating and rendering CSS
Apache License 2.0
106 stars 40 forks source link

Add outline and constituent properties. (Resolves #84, #85, #144.) #145

Closed nsaunders closed 2 years ago

nsaunders commented 2 years ago

Description of the change

This change primarily adds support for outline, outline-style, outline-color, outline-width, and outline-offset. Unfortunately it supersedes #85 (which regrettably has sat unmerged for years), but hopefully it will be easy to understand why after reviewing the full scope of changes.

Aside from outline properties, the tests that I added (based on examples from MDN) revealed some missing type class instances (see #144).

Finally, I have begun implementing a different architecture for the test suite based on Clay. Hopefully this will make it easier in the future to "copy and paste" their tests if desired. 😉


Checklist: