From e3572643017ac9d00730d72f60128abd1b32ad23 Mon Sep 17 00:00:00 2001 From: Johnn Mis Date: Fri, 26 Feb 2021 09:57:20 -0600 Subject: [PATCH] Support and Choose buttons had wrong color contrast on dark mode Signed-off-by: Johnn Mis --- packages/core/src/components/SupportButton/SupportButton.tsx | 5 ++++- packages/theme/src/themes.ts | 1 + .../scaffolder/src/components/TemplateCard/TemplateCard.tsx | 5 ++++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/packages/core/src/components/SupportButton/SupportButton.tsx b/packages/core/src/components/SupportButton/SupportButton.tsx index eea2b000ca..0afc2eea1f 100644 --- a/packages/core/src/components/SupportButton/SupportButton.tsx +++ b/packages/core/src/components/SupportButton/SupportButton.tsx @@ -43,6 +43,9 @@ const useStyles = makeStyles(theme => ({ minWidth: 260, maxWidth: 400, }, + primary: { + color: theme.palette.primary.light, + }, })); const SupportIcon = ({ icon }: { icon: string | undefined }) => { @@ -98,7 +101,7 @@ export const SupportButton = ({ children }: PropsWithChildren) => {