Use theme colors for submit button

Sascha created

Change summary

webui/src/pages/bug/EditCommentForm.tsx | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)

Detailed changes

webui/src/pages/bug/EditCommentForm.tsx 🔗

@@ -30,10 +30,11 @@ const useStyles = makeStyles<Theme, StyleProps>((theme) => ({
   },
   greenButton: {
     marginLeft: '8px',
-    backgroundColor: '#2ea44fd9',
-    color: '#fff',
+    backgroundColor: theme.palette.success.main,
+    color: theme.palette.success.contrastText,
     '&:hover': {
-      backgroundColor: '#2ea44f',
+      backgroundColor: theme.palette.success.dark,
+      color: theme.palette.success.contrastText,
     },
   },
 }));