Fixed syntax for linear-gradient

Closes GH-1531