aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/pages/bug/Bug.tsx
diff options
context:
space:
mode:
authorSascha <GlancingMind@outlook.com>2021-03-11 12:47:09 +0100
committerSascha <GlancingMind@outlook.com>2021-03-15 16:35:14 +0100
commitde26990afc9f21a9017b039ba9d7546a8d8ea5da (patch)
treed5e07a67e011e3e0ca3e2bb1d449aafa1886686b /webui/src/pages/bug/Bug.tsx
parent46d38aa53fa925a2335fdf6c3b0b6f47d05dce94 (diff)
downloadgit-bug-de26990afc9f21a9017b039ba9d7546a8d8ea5da.tar.gz
Adjust BackToList button color for dark/light-mode
The AppBar is commonly used for navigation. As the BackToList button is a navigation element, use similar colors as the AppBar.
Diffstat (limited to 'webui/src/pages/bug/Bug.tsx')
-rw-r--r--webui/src/pages/bug/Bug.tsx7
1 files changed, 4 insertions, 3 deletions
diff --git a/webui/src/pages/bug/Bug.tsx b/webui/src/pages/bug/Bug.tsx
index 8b537fb8..343721b4 100644
--- a/webui/src/pages/bug/Bug.tsx
+++ b/webui/src/pages/bug/Bug.tsx
@@ -76,10 +76,11 @@ const useStyles = makeStyles((theme) => ({
backButton: {
position: 'sticky',
top: '80px',
- backgroundColor: '#574142',
- color: '#fff',
+ backgroundColor: theme.palette.primary.dark,
+ color: theme.palette.primary.contrastText,
'&:hover': {
- backgroundColor: '#610B0B',
+ backgroundColor: theme.palette.primary.main,
+ color: theme.palette.primary.contrastText,
},
},
}));