From 56b3b38979972e6350af0a6461c9802d61e9c8d5 Mon Sep 17 00:00:00 2001 From: guillaume-mathe Date: Wed, 25 Sep 2024 15:07:08 +0200 Subject: [PATCH] Fix couleur paper en mode dark --- src/theme/mui-theme-adapter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/theme/mui-theme-adapter.js b/src/theme/mui-theme-adapter.js index 8def3db..c69780c 100644 --- a/src/theme/mui-theme-adapter.js +++ b/src/theme/mui-theme-adapter.js @@ -30,7 +30,7 @@ const createColorScheme = (mode) => ({ }, background: { default: cssVar('--md-sys-color-background', mode), - paper: cssVar('--md-sys-color-surface-1-light', mode), + paper: cssVar('--md-sys-color-surface-1-'+mode, mode), highlight: cssVar('--md-sys-color-surface-container', mode), }, error: {