Skip to content

Commit

Permalink
fix(docz-theme-default): link color
Browse files Browse the repository at this point in the history
  • Loading branch information
pedronauck committed Dec 14, 2018
1 parent 09c058f commit 21d58fb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const Wrapper = styled.div<WrapperProps>`
${p => p.active && activeWrapper};
`

export const linkStyle = (colors: any) => css`
export const linkStyle = ({ colors }: any) => css`
position: relative;
display: block;
padding: 4px 24px;
Expand All @@ -62,7 +62,7 @@ export const linkStyle = (colors: any) => css`
`

const LinkAnchor = styled('a')`
${p => linkStyle(get('colors')(p))};
${p => linkStyle(p.theme.docz)};
`

export const getActiveFromClass = (el: HTMLElement | null) =>
Expand Down

0 comments on commit 21d58fb

Please sign in to comment.