From ee002a7a7cd823326408c2fd7f80dba8737fe70d Mon Sep 17 00:00:00 2001 From: Rohit Date: Mon, 4 Aug 2025 23:22:33 +0530 Subject: [PATCH] fix: cancel button dark theme UI --- src/components/robot/pages/RobotConfigPage.tsx | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/src/components/robot/pages/RobotConfigPage.tsx b/src/components/robot/pages/RobotConfigPage.tsx index e394ddca..665223dc 100644 --- a/src/components/robot/pages/RobotConfigPage.tsx +++ b/src/components/robot/pages/RobotConfigPage.tsx @@ -144,18 +144,10 @@ export const RobotConfigPage: React.FC = ({ onClick={handleBack} disabled={isLoading} sx={{ - color: '#ff00c3', - borderColor: '#ff00c3', - bgcolor: 'white', - '&:hover': { - borderColor: '#cc0099', - bgcolor: '#fff5fc', - }, - textTransform: 'none', - fontWeight: 500, - px: 3 - }} - > + color: '#ff00c3 !important', + borderColor: '#ff00c3 !important', + backgroundColor: 'whitesmoke !important', + }} > {cancelButtonText} )}