Skip to content

Commit b8c41c4

Browse files
committed
make SkipLink less obtrusive in dark mode
1 parent e630712 commit b8c41c4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/docs/src/components/skip-link.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
/** @jsx jsx */
22
import { jsx } from 'theme-ui'
33

4-
export default props => (
4+
export default (props) => (
55
<a
66
children="Skip to content"
77
{...props}
88
href="#content"
99
sx={{
10+
color: 'text',
11+
bg: 'background',
1012
clip: 'rect(0 0 0 0)',
1113
height: 1,
1214
width: 1,
@@ -23,8 +25,6 @@ export default props => (
2325
left: 0,
2426
m: 2,
2527
fontWeight: 'bold',
26-
color: 'black',
27-
bg: 'white',
2828
width: 'auto',
2929
height: 'auto',
3030
clip: 'auto',

0 commit comments

Comments
 (0)