1 | interface Colors {
|
2 | line: string;
|
3 | white: string;
|
4 | }
|
5 |
|
6 | export default (Colors: Colors) => `
|
7 | min-width: 175px;
|
8 | padding: 25px;
|
9 | color: ${Colors.white};
|
10 | border-radius: 50px;
|
11 | transition: 0.3s all;
|
12 |
|
13 | &:disabled {
|
14 | cursor: default;
|
15 | background-color: ${Colors.line};
|
16 | background-image: linear-gradient(to left, ${Colors.line} 50%, ${Colors.line} 0%);
|
17 | }
|
18 | `;
|