Skip to content

Commit

Permalink
fix: set input placeholder text color to higher contrast (#708)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys committed Sep 22, 2023
1 parent 260a226 commit 7cae09f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions theme/src/components/wrap-page-element.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
import {BaseStyles} from '@primer/components'
import React from 'react'
import SkipLink from './skip-link'
import {createGlobalStyle} from 'styled-components'

const GlobalStyle = createGlobalStyle`
::placeholder {
color: #dddddd;
}
`

function wrapPageElement({element}) {
return (
<BaseStyles>
<GlobalStyle />
<SkipLink />
{element}
</BaseStyles>
Expand Down

0 comments on commit 7cae09f

Please sign in to comment.