recording window theme changed

This commit is contained in:
amit
2024-11-10 11:29:06 +05:30
parent 36243d8b62
commit 0f801b7ac7
2 changed files with 6 additions and 3 deletions

View File

@@ -59,7 +59,7 @@ export const RecordingPage = ({ recordingName }: RecordingPageProps) => {
useEffect(() => {
if (darkMode) {
document.body.style.background = 'radial-gradient(circle, rgba(0, 0, 0, 1) 0%, rgba(35, 1, 18, 1) 100%, rgba(255, 255, 255, 1) 100%)';
document.body.style.background = 'rgba(18,18,18,1)';
} 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%)';
}