fix: set input placeholder text color to higher contrast (#708)
Luke Karrys committed
Sep 22, 2023 at 15:10 UTC
7cae09fe7a2dab59cffa099d7bcc4aaa574e9b57
1 file changed
+8
theme/src/components/wrap-page-element.js
+8
@@ -1,10 +1,18 @@
1
import {BaseStyles} from '@primer/components'
2
import React from 'react'
3
import SkipLink from './skip-link'
4
+import {createGlobalStyle} from 'styled-components'
5
+
6
+const GlobalStyle = createGlobalStyle`
7
+ ::placeholder {
8
+ color: #dddddd;
9
+ }
10
+`
11
12
function wrapPageElement({element}) {
13
return (
14
<BaseStyles>
15
+ <GlobalStyle />
16
<SkipLink />
17
{element}
18
</BaseStyles>