9 lines
433 B
JavaScript
9 lines
433 B
JavaScript
|
// License: LGPL-3.0-or-later
|
||
|
module.exports = (dir, to, from) =>
|
||
|
` background-image: -webkit-linear-gradient(${dir}, ${to}, ${from});
|
||
|
background-image: -moz-linear-gradient(${dir}, ${to}, ${from});
|
||
|
background-image: -ms-linear-gradient(${dir}, ${to}, ${from});
|
||
|
background-image: linear-gradient(${dir}, ${to}, ${from});
|
||
|
filter: progid:DXImageTransform.Microsoft.gradient(GradientType=1,startColorstr=${to}, endColorstr=${from});`
|
||
|
|