diff options
author | Michael Muré <batolettre@gmail.com> | 2021-03-07 22:09:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-07 22:09:41 +0100 |
commit | 501e1678b2af280300a4c35d762c54379e3142e4 (patch) | |
tree | 8577cf83b4d661184b9e38b17fee9652daf4b153 /webui/src/components/Header | |
parent | 2a21b02af157275e20c4ce6d308b45f9a3d7ebaf (diff) | |
parent | c2c5c40e752663e238bdd29c54d3a5634ba9615c (diff) | |
download | git-bug-501e1678b2af280300a4c35d762c54379e3142e4.tar.gz |
Merge pull request #588 from GlancingMind/upstream-dark-colorscheme
Dark Colorscheme
Diffstat (limited to 'webui/src/components/Header')
-rw-r--r-- | webui/src/components/Header/Header.tsx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/webui/src/components/Header/Header.tsx b/webui/src/components/Header/Header.tsx index 3e39b5f3..3bdb252f 100644 --- a/webui/src/components/Header/Header.tsx +++ b/webui/src/components/Header/Header.tsx @@ -5,6 +5,7 @@ import AppBar from '@material-ui/core/AppBar'; import Toolbar from '@material-ui/core/Toolbar'; import { makeStyles } from '@material-ui/core/styles'; +import { LightSwitch } from '../../components/Themer'; import CurrentIdentity from '../CurrentIdentity/CurrentIdentity'; const useStyles = makeStyles((theme) => ({ @@ -21,6 +22,9 @@ const useStyles = makeStyles((theme) => ({ display: 'flex', alignItems: 'center', }, + lightSwitch: { + padding: '0 20px', + }, logo: { height: '42px', marginRight: theme.spacing(2), @@ -39,6 +43,9 @@ function Header() { git-bug </Link> <div className={classes.filler}></div> + <div className={classes.lightSwitch}> + <LightSwitch /> + </div> <CurrentIdentity /> </Toolbar> </AppBar> |