UNPKG

455 BTypeScriptView Raw
1interface Colors {
2 mongeral: string;
3 regalBlue: string;
4 white: string;
5 heaven: string;
6}
7
8export default (Colors: Colors) => `
9 background-color: ${Colors.white};
10 color: ${Colors.mongeral};
11 background-image: linear-gradient(${Colors.heaven}, ${Colors.heaven});
12 background-position: 50% 50%;
13 background-repeat: no-repeat;
14 background-size: 0% 100%;
15
16 &:hover { background-size: 100% 100%; }
17
18 &:hover { color: ${Colors.regalBlue}; }
19`;