diff --git a/src/Halogen/Svg/Indexed.purs b/src/Halogen/Svg/Indexed.purs index 76aee84..c6f3429 100644 --- a/src/Halogen/Svg/Indexed.purs +++ b/src/Halogen/Svg/Indexed.purs @@ -76,6 +76,20 @@ type GlobalEventAttributes r = , onMouseOver :: MouseEvent , onMouseUp :: MouseEvent , onWheel :: WheelEvent + | r) + +-- These can also be done with CSS +type PresentationAttributes r = + ( stroke :: String + , strokeWidth :: Number + , fill :: String + | r + ) + +type MarkerAttributes r = + ( markerStart :: String + , markerMid :: String + , markerEnd :: String | r ) @@ -108,13 +122,6 @@ type FillAttributes r = | r ) -type MarkerAttributes r = - ( markerStart :: String - , markerMid :: String - , markerEnd :: String - | r - ) - type FontAttributes r = ( font_family :: String , font_size :: String