diff options
author | Sascha <GlancingMind@outlook.com> | 2021-03-03 17:49:53 +0100 |
---|---|---|
committer | Sascha <GlancingMind@outlook.com> | 2021-03-04 20:54:04 +0100 |
commit | 8e8ca99bd5f72de60f6e0e1b334f33312cab5388 (patch) | |
tree | 506778b24554f62f4acbba9e8faee22321a7e5bc /webui/src/pages/list | |
parent | c24b7370f484e89662283a52b66e34940f972cf6 (diff) | |
download | git-bug-8e8ca99bd5f72de60f6e0e1b334f33312cab5388.tar.gz |
Use colors from theme palette
- Use theme colors for title input.
- Remove inputTitle classes as they are not applied to the TextField.
This will lead to double borders and artifacts at the field corners.
Diffstat (limited to 'webui/src/pages/list')
-rw-r--r-- | webui/src/pages/list/ListQuery.tsx | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/webui/src/pages/list/ListQuery.tsx b/webui/src/pages/list/ListQuery.tsx index d4ce7f80..021f70b0 100644 --- a/webui/src/pages/list/ListQuery.tsx +++ b/webui/src/pages/list/ListQuery.tsx @@ -112,12 +112,9 @@ const useStyles = makeStyles<Theme, StylesProps>((theme) => ({ padding: theme.spacing(2, 3), }, }, - greenButton: { - backgroundColor: '#2ea44fd9', - color: '#fff', - '&:hover': { - backgroundColor: '#2ea44f', - }, + newIssueButton: { + backgroundColor: theme.palette.success.main, + color: theme.palette.success.contrastText, }, })); @@ -318,7 +315,7 @@ function ListQuery() { <IfLoggedIn> {() => ( <Button - className={classes.greenButton} + className={classes.newIssueButton} variant="contained" href="/new" > |