1 | interface Colors {
|
2 | mongeral: string;
|
3 | regalBlue: string;
|
4 | white: string;
|
5 | }
|
6 |
|
7 | export default (Colors: Colors) => (rest: string) => `
|
8 | ${rest};
|
9 | background-color: ${Colors.white};
|
10 | color: ${Colors.mongeral};
|
11 | border: 2px solid ${Colors.mongeral};
|
12 |
|
13 | &:hover {
|
14 | color: ${Colors.white};
|
15 | border-color: ${Colors.regalBlue};
|
16 | }
|
17 | `;
|