Skip to content

Commit

Permalink
Remove grayscale filter from the docs (#1929)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andarist authored Jul 8, 2020
1 parent a076e7f commit c0b7aec
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 18 deletions.
8 changes: 2 additions & 6 deletions site/src/components/DocWrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,10 +177,7 @@ export default ({
'none',
'none',
`1px solid ${colors.lighten(0.25, colors.border)}`
],
filter: 'grayscale(100%)',
// needed for the filter above, Chrome messed up layers without it
zIndex: 1
]
})}
>
<Search />
Expand Down Expand Up @@ -211,8 +208,7 @@ export default ({
],
gridRow: 2,
gridColumn: ['1 / span 2', '1 / span 2', '1 / span 1'],
paddingRight: [0, 0, 0],
filter: 'grayscale(100%)'
paddingRight: [0, 0, 0]
})}
>
{children}
Expand Down
3 changes: 1 addition & 2 deletions site/src/components/SiteHeader.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ export default function SiteHeader() {
paddingTop: 24,
display: 'flex',
alignItems: 'center',
paddingBottom: space[2],
filter: 'grayscale(100%)'
paddingBottom: space[2]
}}
>
<Link
Expand Down
10 changes: 2 additions & 8 deletions site/src/pages/404.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,8 @@ const NotFoundPage = () => {
const title = 'NOT FOUND'
return (
<Layout title={title}>
<div
css={{
filter: 'grayscale(100%)'
}}
>
<h1>{title}</h1>
<p>You just hit a route that doesn&#39;t exist... the sadness.😢</p>
</div>
<h1>{title}</h1>
<p>You just hit a route that doesn&#39;t exist... the sadness.😢</p>
</Layout>
)
}
Expand Down
3 changes: 1 addition & 2 deletions site/src/pages/community.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ const Community = (props: *) => {
<Layout title={title}>
<div
css={mq({
gridColumn: '1 / span 2',
filter: 'grayscale(100%)'
gridColumn: '1 / span 2'
})}
>
<div>
Expand Down

0 comments on commit c0b7aec

Please sign in to comment.