From a7d50ccee37bc2103a7dfa337fea0ccfb9792e1b Mon Sep 17 00:00:00 2001 From: Aditya Raut Date: Sat, 4 Apr 2026 17:39:16 +0530 Subject: [PATCH] refactor: update theme styles and improve ThemeApplier functionality - Adjusted light and dark theme colors for better contrast and aesthetics. - Removed custom theme support from ThemeApplier and ThemeSelector. - Enhanced CSS variable management in ThemeApplier for improved theme switching. - Updated ThemeSelector styles for a more consistent appearance across themes. --- client/src/App.jsx | 21 +- .../components/CourseView/AssignmentCard.jsx | 13 +- .../components/CourseView/CourseHeader.jsx | 170 ++- .../components/CourseView/LiveClassCard.jsx | 9 +- .../components/CourseView/LiveClassesTab.jsx | 5 +- .../components/CourseView/MaterialCard.jsx | 261 +++-- client/src/components/CourseView/Modals.jsx | 12 +- .../src/components/CourseView/QuizzesTab.jsx | 14 +- .../src/components/CourseView/StudentsTab.jsx | 13 +- client/src/components/Navbar.jsx | 42 +- client/src/context/ThemeContext.jsx | 1 - client/src/index.css | 79 +- client/src/pages/CourseView.jsx | 55 +- client/src/pages/Mainpage.jsx | 12 +- client/src/pages/TechArchitecture.jsx | 997 ++++++------------ client/src/theme/ThemeApplier.jsx | 57 +- client/src/theme/ThemeSelector.jsx | 5 +- 17 files changed, 684 insertions(+), 1082 deletions(-) diff --git a/client/src/App.jsx b/client/src/App.jsx index 66a66e1..c5ba89a 100644 --- a/client/src/App.jsx +++ b/client/src/App.jsx @@ -39,25 +39,8 @@ function App() { -
- {/* Animated morphing background orbs */} -
-
-
-
-
- - {/* Subtle noise texture overlay */} -
- -
- -
+
+
diff --git a/client/src/components/CourseView/AssignmentCard.jsx b/client/src/components/CourseView/AssignmentCard.jsx index f1f0c78..afd09af 100644 --- a/client/src/components/CourseView/AssignmentCard.jsx +++ b/client/src/components/CourseView/AssignmentCard.jsx @@ -43,12 +43,9 @@ function AssignmentCard({ return (
- {/* Status accent bar */} -
-
{/* Status icon */} @@ -139,14 +136,14 @@ function AssignmentCard({ {/* Student: submission form */} {!isTeacher && !hasSubmission && ( -
+

Your Answer