1 | interface Colors {
|
2 | mongeral: string;
|
3 | regalBlue: string;
|
4 | }
|
5 |
|
6 | export default (Colors: Colors) => (svg: string) => `
|
7 | background-size: 200% 100%;
|
8 | background-position: right bottom;
|
9 | background-image: linear-gradient(to left, ${Colors.mongeral} 50%, ${Colors.regalBlue} 0%);
|
10 | ${svg};
|
11 |
|
12 | &:hover {
|
13 | background-position: left bottom;
|
14 | .link-arrow-elements { transform: translateX(5px); }
|
15 | }
|
16 | `;
|