Skip to content

Commit c0b7aec

Browse files
authored
Remove grayscale filter from the docs (#1929)
1 parent a076e7f commit c0b7aec

File tree

4 files changed

+6
-18
lines changed

4 files changed

+6
-18
lines changed

site/src/components/DocWrapper.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -177,10 +177,7 @@ export default ({
177177
'none',
178178
'none',
179179
`1px solid ${colors.lighten(0.25, colors.border)}`
180-
],
181-
filter: 'grayscale(100%)',
182-
// needed for the filter above, Chrome messed up layers without it
183-
zIndex: 1
180+
]
184181
})}
185182
>
186183
<Search />
@@ -211,8 +208,7 @@ export default ({
211208
],
212209
gridRow: 2,
213210
gridColumn: ['1 / span 2', '1 / span 2', '1 / span 1'],
214-
paddingRight: [0, 0, 0],
215-
filter: 'grayscale(100%)'
211+
paddingRight: [0, 0, 0]
216212
})}
217213
>
218214
{children}

site/src/components/SiteHeader.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,7 @@ export default function SiteHeader() {
6464
paddingTop: 24,
6565
display: 'flex',
6666
alignItems: 'center',
67-
paddingBottom: space[2],
68-
filter: 'grayscale(100%)'
67+
paddingBottom: space[2]
6968
}}
7069
>
7170
<Link

site/src/pages/404.js

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,8 @@ const NotFoundPage = () => {
77
const title = 'NOT FOUND'
88
return (
99
<Layout title={title}>
10-
<div
11-
css={{
12-
filter: 'grayscale(100%)'
13-
}}
14-
>
15-
<h1>{title}</h1>
16-
<p>You just hit a route that doesn&#39;t exist... the sadness.😢</p>
17-
</div>
10+
<h1>{title}</h1>
11+
<p>You just hit a route that doesn&#39;t exist... the sadness.😢</p>
1812
</Layout>
1913
)
2014
}

site/src/pages/community.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ const Community = (props: *) => {
1616
<Layout title={title}>
1717
<div
1818
css={mq({
19-
gridColumn: '1 / span 2',
20-
filter: 'grayscale(100%)'
19+
gridColumn: '1 / span 2'
2120
})}
2221
>
2322
<div>

0 commit comments

Comments
 (0)