From 83f93b291bfe9f7ae0f4b3a37beece1d0d9b0927 Mon Sep 17 00:00:00 2001 From: IvaniGabrovsky <45581154+IvaniGabrovsky@users.noreply.github.com> Date: Sat, 5 Nov 2022 22:40:41 -0400 Subject: [PATCH] Improve google Lighthouse accessibly score (#3735) --- src/web/app/src/components/Posts/index.tsx | 4 ++-- src/web/app/src/theme/index.ts | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/web/app/src/components/Posts/index.tsx b/src/web/app/src/components/Posts/index.tsx index d8dad418d1..522524017d 100644 --- a/src/web/app/src/components/Posts/index.tsx +++ b/src/web/app/src/components/Posts/index.tsx @@ -21,12 +21,12 @@ const useStyles = makeStyles((theme: Theme) => width: '100%', }, error: { - color: '#B5B5B5', + color: theme.palette.error.light, fontSize: '5rem', paddingBottom: '30px', }, errorIcon: { - color: '#B5B5B5', + color: theme.palette.error.light, fontSize: '10rem', paddingBottom: '0', }, diff --git a/src/web/app/src/theme/index.ts b/src/web/app/src/theme/index.ts index 2454662461..5146224437 100644 --- a/src/web/app/src/theme/index.ts +++ b/src/web/app/src/theme/index.ts @@ -21,6 +21,7 @@ export const lightTheme: Theme = createTheme({ }, error: { main: red.A400, + light: '#4d4d4d', }, background: { default: '#FFFFFF',