Update header background shapes and colors (#2015)

* Update header background shapes and colors

* Remove an unused type frmo PageThemeProvider

* Remove Waves.test as there is no more Waves.jsx
This commit is contained in:
Niklas Ek
2020-08-19 09:34:15 +02:00
committed by GitHub
parent b569f44a38
commit 4618f0b76a
7 changed files with 122 additions and 325 deletions
@@ -56,7 +56,7 @@ export const TemplateCard = ({
name,
}: TemplateCardProps) => {
const theme = pageTheme[type] ?? pageTheme.other;
const [gradientStart, gradientStop] = theme.gradient.colors;
const [gradientStart, gradientStop] = theme.colors;
const classes = useStyles({ gradientStart, gradientStop });
const href = generatePath(templateRoute.path, { templateName: name });