aboutsummaryrefslogtreecommitdiffstats
path: root/webui
diff options
context:
space:
mode:
authorSascha <GlancingMind@outlook.com>2021-02-26 19:07:11 +0100
committerSascha <GlancingMind@outlook.com>2021-03-04 20:53:28 +0100
commit9280e437b06c1812d9b4a62f18686878f9b7a769 (patch)
tree7bdd220944d9c51e0124798c9092840b77746311 /webui
parent7beffb87182355c72ceffa29325815e71ead5f59 (diff)
downloadgit-bug-9280e437b06c1812d9b4a62f18686878f9b7a769.tar.gz
Fix Bug description header for dark mode
Diffstat (limited to 'webui')
-rw-r--r--webui/src/pages/bug/Message.tsx8
1 files changed, 4 insertions, 4 deletions
diff --git a/webui/src/pages/bug/Message.tsx b/webui/src/pages/bug/Message.tsx
index 91549483..0cc9b15a 100644
--- a/webui/src/pages/bug/Message.tsx
+++ b/webui/src/pages/bug/Message.tsx
@@ -1,7 +1,7 @@
import React from 'react';
import Paper from '@material-ui/core/Paper';
-import { makeStyles } from '@material-ui/core/styles';
+import { fade, makeStyles } from '@material-ui/core/styles';
import Author, { Avatar } from 'src/components/Author';
import Content from 'src/components/Content';
@@ -27,11 +27,11 @@ const useStyles = makeStyles((theme) => ({
},
header: {
...theme.typography.body1,
- color: '#444',
+ color: theme.palette.text.secondary,
padding: '0.5rem 1rem',
- borderBottom: '1px solid #ddd',
+ borderBottom: `1px solid ${theme.palette.divider}`,
display: 'flex',
- backgroundColor: '#e2f1ff',
+ backgroundColor: fade(theme.palette.text.hint, 0.05),
},
title: {
flex: 1,