forked from abner/for-legacy-web
Add donation button to home page.
This commit is contained in:
@@ -6,6 +6,7 @@ interface Props {
|
||||
readonly contrast?: boolean;
|
||||
readonly plain?: boolean;
|
||||
readonly error?: boolean;
|
||||
readonly gold?: boolean;
|
||||
readonly iconbutton?: boolean;
|
||||
}
|
||||
|
||||
@@ -125,4 +126,22 @@ export default styled.button<Props>`
|
||||
background: var(--error);
|
||||
}
|
||||
`}
|
||||
|
||||
${(props) =>
|
||||
props.gold &&
|
||||
css`
|
||||
color: black;
|
||||
font-weight: 600;
|
||||
background: goldenrod;
|
||||
|
||||
&:hover {
|
||||
filter: brightness(1.2);
|
||||
background: goldenrod;
|
||||
}
|
||||
|
||||
&:disabled {
|
||||
cursor: not-allowed;
|
||||
background: goldenrod;
|
||||
}
|
||||
`}
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user