From c7c8ce9d488cf21855cf5cd179f95fd397cded40 Mon Sep 17 00:00:00 2001 From: Antonio De Lucreziis Date: Sat, 10 Sep 2022 19:48:27 +0200 Subject: [PATCH] Darkmode anche in mobile --- src/components/HamburgerMenu.jsx | 20 ++++++++++++++------ src/components/Toolbar.jsx | 32 ++++++++++++++++++++++---------- src/main.jsx | 8 +++++--- src/styles/main.scss | 6 ++++++ 4 files changed, 47 insertions(+), 19 deletions(-) diff --git a/src/components/HamburgerMenu.jsx b/src/components/HamburgerMenu.jsx index 09bf29c..146cfed 100644 --- a/src/components/HamburgerMenu.jsx +++ b/src/components/HamburgerMenu.jsx @@ -2,13 +2,21 @@ import { ComboBox } from './ComboBox.jsx' import { Help } from './Help.jsx' import { Icon } from './Icon.jsx' -export const HamburgerMenu = ({ onClose, mode, setMode, source, setSource }) => { +export const HamburgerMenu = ({ onClose, mode, setMode, source, setSource, theme, setTheme }) => { return (