diff options
author | Sascha <GlancingMind@outlook.com> | 2021-03-17 18:21:52 +0100 |
---|---|---|
committer | Sascha <GlancingMind@outlook.com> | 2021-03-19 17:52:22 +0100 |
commit | d4f96fa91faa6f56a790ebc7fd041af705ed77b0 (patch) | |
tree | 29a2d7982e9fe52b4facda081bed7ffb658fdf7d /webui/src/pages/bug/EditCommentForm.tsx | |
parent | 0e3caba922ba5a21a7e7aa0f433d944aacf58e78 (diff) | |
download | git-bug-d4f96fa91faa6f56a790ebc7fd041af705ed77b0.tar.gz |
Use theme colors for submit button
Diffstat (limited to 'webui/src/pages/bug/EditCommentForm.tsx')
-rw-r--r-- | webui/src/pages/bug/EditCommentForm.tsx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/webui/src/pages/bug/EditCommentForm.tsx b/webui/src/pages/bug/EditCommentForm.tsx index f5040064..ca627c27 100644 --- a/webui/src/pages/bug/EditCommentForm.tsx +++ b/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, }, }, })); |