elm-css
elm-css copied to clipboard
Phantom types: Logical borders
Adds functions covering the following properties for the phantom-types branch:
(to my knowledge this covers all logical border properties apart from border-radius ones)
-
border-block -
border-block-color -
border-block-end -
border-block-end-color -
border-block-end-style -
border-block-end-width -
border-block-start -
border-block-start-color -
border-block-start-style -
border-block-start-width -
border-block-style -
border-block-width -
border-inline -
border-inline-color -
border-inline-end -
border-inline-end-color -
border-inline-end-style -
border-inline-end-width -
border-inline-start -
border-inline-start-color -
border-inline-start-style -
border-inline-start-width -
border-inline-style -
border-inline-width
Implementing them basically just involved a lot of repetition because they share identical arguments with similar border properties.