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

No way to `text-shadow: none` #154

Open nsaunders opened 2 years ago

nsaunders commented 2 years ago

After reviewing the CSS.Text.Shadow module, I don't see how it would be possible to create a declaration equivalent to text-shadow: none (initial, inherit, ...) If anyone is aware of something I've overlooked, please let me know.

Possible solutions:

  1. textShadow as a polyvariadic function
  2. Specialized functions like textShadowNone