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:
@@ -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 });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user