Skip to content

Commit

Permalink
Add "to" keyword to directional AngleOrDirection values
Browse files Browse the repository at this point in the history
  • Loading branch information
maxhallinan authored and Richard Feldman committed Jan 31, 2018
1 parent f52447b commit c4c9238
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/Css.elm
Original file line number Diff line number Diff line change
Expand Up @@ -4336,7 +4336,7 @@ linearGradient2 dir stop1 stop2 stops =
[ stop1, stop2 ]
++ stops
|> collectStops
|> (::) ("to " ++ dir.value)
|> (::) dir.value
|> cssFunction "linear-gradient"
, backgroundImage = Compatible
, listStyleTypeOrPositionOrImage = Compatible
Expand Down Expand Up @@ -4371,7 +4371,7 @@ stop2 c len =
-}
toTop : AngleOrDirection {}
toTop =
{ value = "top"
{ value = "to top"
, angleOrDirection = Compatible
}

Expand All @@ -4380,7 +4380,7 @@ toTop =
-}
toTopRight : AngleOrDirection {}
toTopRight =
{ value = "top right"
{ value = "to top right"
, angleOrDirection = Compatible
}

Expand All @@ -4389,7 +4389,7 @@ toTopRight =
-}
toRight : AngleOrDirection {}
toRight =
{ value = "right"
{ value = "to right"
, angleOrDirection = Compatible
}

Expand All @@ -4398,7 +4398,7 @@ toRight =
-}
toBottomRight : AngleOrDirection {}
toBottomRight =
{ value = "bottom right"
{ value = "to bottom right"
, angleOrDirection = Compatible
}

Expand All @@ -4407,7 +4407,7 @@ toBottomRight =
-}
toBottom : AngleOrDirection {}
toBottom =
{ value = "bottom"
{ value = "to bottom"
, angleOrDirection = Compatible
}

Expand All @@ -4416,7 +4416,7 @@ toBottom =
-}
toBottomLeft : AngleOrDirection {}
toBottomLeft =
{ value = "bottom left"
{ value = "to bottom left"
, angleOrDirection = Compatible
}

Expand All @@ -4425,7 +4425,7 @@ toBottomLeft =
-}
toLeft : AngleOrDirection {}
toLeft =
{ value = "left"
{ value = "to left"
, angleOrDirection = Compatible
}

Expand All @@ -4434,7 +4434,7 @@ toLeft =
-}
toTopLeft : AngleOrDirection {}
toTopLeft =
{ value = "top left"
{ value = "to top left"
, angleOrDirection = Compatible
}

Expand Down

0 comments on commit c4c9238

Please sign in to comment.