Polish #22

Merged
LucidKobold merged 3 commits from polish into main 2021-12-22 13:10:37 -05:00
3 changed files with 14 additions and 2 deletions
Showing only changes of commit 87b980e67e - Show all commits

View File

@@ -29,6 +29,7 @@ const AppTheme = extendTheme({
footer: "#0097a7", footer: "#0097a7",
footerText: "black", footerText: "black",
content: "#2d3748", content: "#2d3748",
patreon: "#FF424D",
}, },
}, },
styles: { styles: {

View File

@@ -157,6 +157,18 @@ const buttonStyles = {
border: "1px solid #0068ff", border: "1px solid #0068ff",
}, },
}), }),
patreon: (props: Dict<never> | StyleFunctionProps) => ({
bg: "brand.patreon",
fontSize: "lg",
p: 3,
color: "whiteAlpha",
_hover: {
bg: mode(
whiten("brand.patreon", 20),
darken("brand.patreon", 20)
)(props),
},
}),
}, },
// default values for `size` and `variant` // default values for `size` and `variant`
defaultProps: {}, defaultProps: {},

View File

@@ -87,8 +87,7 @@ const Footer = (): JSX.Element => {
> >
<Button <Button
color="whiteAlpha" color="whiteAlpha"
background="#FF424D" variant="patreon"
variant="credits"
leftIcon={<Icon icon="ri:patreon-fill" />} leftIcon={<Icon icon="ri:patreon-fill" />}
> >
Fund This App Fund This App