Skip to content

Commit

Permalink
HOTFIX - form font colour
Browse files Browse the repository at this point in the history
When system/browser is forced into dark mode, the mobile chrome browser was applying a black text over black background, causing rendering to be invisible. Set css rule to target dar mode and apply white color to input fonts.
  • Loading branch information
tomtranmer committed Oct 2, 2023
1 parent b0d04e1 commit ff61817
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,15 @@ a {
text-decoration: none;
}



@media (prefers-color-scheme: dark) {
html {
color-scheme: dark;
}

/* override input text to white for dark mode */
.text-black {
color: #fff;
}
}

0 comments on commit ff61817

Please sign in to comment.