From a721febb27e35f95c1c13a2df0f18cc27cbf5477 Mon Sep 17 00:00:00 2001 From: Der_Googler <54764558+DerGoogler@users.noreply.github.com> Date: Wed, 15 May 2024 23:24:04 +0200 Subject: [PATCH] drawer 2 --- Website/src/components/onsenui/Splitter.tsx | 2 ++ Website/src/hooks/useTheme.tsx | 1 + Website/src/typings/global.d.ts | 1 + 3 files changed, 4 insertions(+) diff --git a/Website/src/components/onsenui/Splitter.tsx b/Website/src/components/onsenui/Splitter.tsx index 3cfa9266..7359fbf4 100644 --- a/Website/src/components/onsenui/Splitter.tsx +++ b/Website/src/components/onsenui/Splitter.tsx @@ -1,4 +1,5 @@ import onsCustomElement from "@Util/onsCustomElement"; +import { SxProps } from "@mui/material"; import "onsenui/esm/elements/ons-splitter"; import React from "react"; @@ -9,6 +10,7 @@ interface HTMLSplitter { interface HTMLSplitterContent {} interface HTMLSplitterSide { + sx?: SxProps; collapse?: boolean | "portrait" | "landscape"; swipeable?: boolean; isOpen?: boolean; diff --git a/Website/src/hooks/useTheme.tsx b/Website/src/hooks/useTheme.tsx index 210a4ab2..6c6e6d96 100644 --- a/Website/src/hooks/useTheme.tsx +++ b/Website/src/hooks/useTheme.tsx @@ -216,6 +216,7 @@ const THIS_IS_THE_THEME_OBJECT_OF_THIS_F_APP = createTheme({ secondary: "#777777", }, divider: "#f3f5f726", + menuoutline: "#333638", }, } as unknown as MMRLTheme); diff --git a/Website/src/typings/global.d.ts b/Website/src/typings/global.d.ts index 945a4310..51f39c08 100644 --- a/Website/src/typings/global.d.ts +++ b/Website/src/typings/global.d.ts @@ -92,6 +92,7 @@ declare global { primary?: { header?: string; }; + menuoutline?: string; text?: { link?: string; };