From ff2d0511ac6cdffddf0da05c5687512939e296e2 Mon Sep 17 00:00:00 2001 From: OlegMoshkovich Date: Sun, 8 Oct 2023 23:42:28 +0200 Subject: [PATCH] adjust colors --- src/theme/Colors.js | 2 +- src/theme/Components.js | 2 +- src/theme/Palette.js | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/theme/Colors.js b/src/theme/Colors.js index dffe134bf..2ae246772 100644 --- a/src/theme/Colors.js +++ b/src/theme/Colors.js @@ -11,7 +11,7 @@ export function getColors() { lightest: grey[100], light: grey[300], medium: '#C1C1C1', - dark: '#444444', + dark: '#242424', darkest: '#171717', }, green: { diff --git a/src/theme/Components.js b/src/theme/Components.js index c2cbf1a95..f34258ac7 100644 --- a/src/theme/Components.js +++ b/src/theme/Components.js @@ -90,7 +90,7 @@ export function getComponentOverrides(palette, typography) { { props: {variant: 'control'}, style: ({ownerState, theme}) => ({ - backgroundColor: palette.scene.background, + backgroundColor: palette.primary.background, boxShadow: theme.shadows[ownerState.elevation], }), }, diff --git a/src/theme/Palette.js b/src/theme/Palette.js index 6c50df36c..a9edd7b6c 100644 --- a/src/theme/Palette.js +++ b/src/theme/Palette.js @@ -8,7 +8,7 @@ export const day = { mode: 'light', primary: { main: '#6D8752', - background: colors.grey.light, + background: colors.grey.lightest, contrastText: colors.black, highlight: colors.orange, }, @@ -30,7 +30,7 @@ export const night = { mode: 'dark', primary: { main: '#6D8752', - background: colors.grey.darkest, + background: colors.grey.dark, contrastText: colors.grey.lightest, highlight: colors.orange, },