Open BebeSparkelSparkel opened 4 years ago
How about simply adding a function marginAuto :: Css
?
Or an algebraic datatype that works with the Val
typeclass, like e.g. Color
? See http://hackage.haskell.org/package/clay-0.13.1/docs/Clay-Color.html#t:Color
ADT sounds better. Allows a lot more functionality. Not sure what to name the function though unless we want to break margin
This issue has not seen any activity in a long time. If no further activity occurs, it will be closed after ten weeks.
Currently,
margin :: Size a -> Size a -> Size a -> Size a -> Css
accepts 4 arguments. This makes it impossible to havemargin: auto
.margin would be better if it accepted one argument.