add logo gutter

This commit is contained in:
Anya Stasiuk 2019-04-08 17:42:30 +03:00
parent 649940bfe5
commit 82c0cb1a3c
2 changed files with 3 additions and 0 deletions

View File

@ -10,6 +10,7 @@ export const LogoImgEl = styled.img`
export const LogoWrap = styled.div`
text-align: center;
padding: ${props => props.theme.logo.gutter};
`;
const Link = styled.a`

View File

@ -139,6 +139,7 @@ const defaultTheme: ThemeInterface = {
logo: {
maxHeight: ({ menu }) => menu.width,
maxWidth: ({ menu }) => menu.width,
gutter: '2px',
},
rightPanel: {
backgroundColor: '#263238',
@ -307,6 +308,7 @@ export interface ResolvedThemeInterface {
logo: {
maxHeight: string;
maxWidth: string;
gutter: string;
};
rightPanel: {
backgroundColor: string;