Skip to content

Commit 555f641

Browse files
committed
Fix accessibility color contrast issues
1 parent 046f17d commit 555f641

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/components/Layout/HomeContent.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1315,7 +1315,7 @@ function BrowserChrome({children, hasPulse, hasRefresh, domain, path}) {
13151315
/>
13161316
</svg>
13171317

1318-
<span className="text-gray-30">
1318+
<span className="text-gray-50">
13191319
{domain}
13201320
{path != null && '/'}
13211321
</span>

‎src/components/Layout/TopNav/TopNav.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ export default function TopNav({
312312
<button
313313
type="button"
314314
className={cn(
315-
'flex 3xl:w-[56rem] 3xl:mx-0 relative ps-4 pe-1 py-1 h-10 bg-gray-30/20 dark:bg-gray-40/20 outline-none focus:outline-link betterhover:hover:bg-opacity-80 pointer items-center text-start w-full text-gray-30 rounded-full align-middle text-base'
315+
'flex 3xl:w-[56rem] 3xl:mx-0 relative ps-4 pe-1 py-1 h-10 bg-gray-30/20 dark:bg-gray-40/20 outline-none focus:outline-link betterhover:hover:bg-opacity-80 pointer items-center text-start w-full text-gray-40 dark:text-gray-20 rounded-full align-middle text-base'
316316
)}
317317
onClick={onOpenSearch}>
318318
<IconSearch className="align-middle me-3 text-gray-30 shrink-0 group-betterhover:hover:text-gray-70" />

0 commit comments

Comments
 (0)