Skip to content

Commit

Permalink
fix: gradient on header
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamil Dzieniszewski authored and dzienisz committed Apr 24, 2019
1 parent 41b99f8 commit e9efe81
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src/sections/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,13 @@ const LogoContainer = styled.div`
align-items: center;
margin-right: auto;
color: ${({ theme }) => theme.colors.white};
font-size: 1.2rem;
`;

const Logo = styled.img`
margin-right: .6rem
box-shadow: 0px 2px 9px rgba(0, 0, 0, 0.25);
border-radius: 50%;
`;

export default () => (
Expand Down
4 changes: 2 additions & 2 deletions src/styles/theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ export const createTheme = ({ primary, secondary }) => ({
primary,
secondary,
colors,
primaryGradient: `linear-gradient(90deg, ${colors.darkPeach} 0%, ${
colors.peach
primaryGradient: `linear-gradient(90deg, ${colors.peach} 0%, ${
colors.darkPeach
} 100%)`,
secondaryGradient: `linear-gradient(90deg, ${colors.oceanBlue} 0%, ${
colors.scampi
Expand Down

0 comments on commit e9efe81

Please sign in to comment.