Skip to content

Commit 4c89760

Browse files
ralyodioclaude
andcommitted
fix: hardcode input/select/textarea colors for reliable readability
color: inherit was insufficient — use explicit hex values so inputs always render dark text on white bg regardless of browser/OS behavior. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent f610215 commit 4c89760

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

apps/web/app/globals.css

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,13 @@ body {
2626
}
2727

2828
input, select, textarea {
29-
color: inherit;
29+
color: #171717;
30+
background-color: #ffffff;
31+
}
32+
33+
@media (prefers-color-scheme: dark) {
34+
input, select, textarea {
35+
color: #ededed;
36+
background-color: #1f1f1f;
37+
}
3038
}

0 commit comments

Comments
 (0)