aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/components/Header
diff options
context:
space:
mode:
authorSascha <GlancingMind@outlook.com>2021-05-06 16:31:12 +0200
committerSascha <GlancingMind@outlook.com>2021-05-06 16:33:28 +0200
commitd9646a8674e044c3195cd6469fe2135613aab8ed (patch)
tree75ebf2b0eaf88e9070c0e094b1ae87fc955fdb00 /webui/src/components/Header
parent59912ec6965c9c830707af81688233c57dafd337 (diff)
downloadgit-bug-d9646a8674e044c3195cd6469fe2135613aab8ed.tar.gz
Fix theme switcher icon color in release
Diffstat (limited to 'webui/src/components/Header')
-rw-r--r--webui/src/components/Header/Header.tsx9
1 files changed, 4 insertions, 5 deletions
diff --git a/webui/src/components/Header/Header.tsx b/webui/src/components/Header/Header.tsx
index 56b35968..866e52db 100644
--- a/webui/src/components/Header/Header.tsx
+++ b/webui/src/components/Header/Header.tsx
@@ -6,7 +6,7 @@ import Tab, { TabProps } from '@material-ui/core/Tab';
import Tabs from '@material-ui/core/Tabs';
import Toolbar from '@material-ui/core/Toolbar';
import Tooltip from '@material-ui/core/Tooltip/Tooltip';
-import { makeStyles } from '@material-ui/core/styles';
+import { fade, makeStyles } from '@material-ui/core/styles';
import CurrentIdentity from '../Identity/CurrentIdentity';
import { LightSwitch } from '../Themer';
@@ -30,7 +30,8 @@ const useStyles = makeStyles((theme) => ({
alignItems: 'center',
},
lightSwitch: {
- padding: '0 20px',
+ marginRight: '20px',
+ color: fade(theme.palette.primary.contrastText, 0.5),
},
logo: {
height: '42px',
@@ -85,9 +86,7 @@ function Header() {
git-bug
</Link>
<div className={classes.filler} />
- <div className={classes.lightSwitch}>
- <LightSwitch />
- </div>
+ <LightSwitch className={classes.lightSwitch} />
<CurrentIdentity />
</Toolbar>
</AppBar>