From 2aee3e65cb2aa2e02f867b60f7e97ae10150a8e9 Mon Sep 17 00:00:00 2001 From: RohitR311 Date: Wed, 8 Jan 2025 22:02:49 +0530 Subject: [PATCH] feat: change styling for light theme in recording page --- src/pages/RecordingPage.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/RecordingPage.tsx b/src/pages/RecordingPage.tsx index 000de254..2b5544de 100644 --- a/src/pages/RecordingPage.tsx +++ b/src/pages/RecordingPage.tsx @@ -66,10 +66,12 @@ export const RecordingPage = ({ recordingName }: RecordingPageProps) => { } else { document.body.style.background = 'radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(232, 191, 222, 1) 100%, rgba(255, 255, 255, 1) 100%)'; + document.body.style.filter = 'progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#ffffff",GradientType=1);' } return () => { document.body.style.background = ''; + document.body.style.filter = ''; }; }, [darkMode]); @@ -166,5 +168,4 @@ const RecordingPageWrapper = styled.div` width: 100vw; height: 100vh; overflow: hidden; - `; \ No newline at end of file