icns-frontend/components/primary-button/index.ts

36 lines
650 B
TypeScript
Raw Normal View History

2022-12-06 10:41:38 +00:00
import styled from "styled-components";
import color from "../../styles/color";
export const PrimaryButton = styled.button`
width: 100%;
height: 100%;
border: none;
padding: 11px 30px;
font-family: "Inter", serif;
font-style: normal;
font-weight: 600;
2022-12-16 06:55:31 +00:00
font-size: 1.25rem;
line-height: 1.25rem;
letter-spacing: 0.07em;
text-transform: uppercase;
2022-12-06 10:41:38 +00:00
2022-12-09 11:59:52 +00:00
color: ${color.orange["50"]};
2022-12-15 15:43:18 +00:00
background-color: ${color.orange["100"]};
cursor: pointer;
2022-12-09 11:59:52 +00:00
&:hover {
transition-duration: 0.5s;
background-color: ${color.orange["200"]};
}
&:disabled {
2022-12-15 15:43:18 +00:00
opacity: 0.5;
background-color: ${color.orange["300"]};
2022-12-09 11:59:52 +00:00
}
2022-12-06 10:41:38 +00:00
`;