Single CSS rule in globals.css makes typed text gray-900 and placeholders gray-500 across all 15 field-bearing components. Element selector specificity (0,0,1) is lower than any existing Tailwind utility so no per-component overrides are affected. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CPf5Rc8QPx6V8KLEEgfKEQ
38 lines
675 B
CSS
38 lines
675 B
CSS
@import "tailwindcss";
|
|
|
|
:root {
|
|
--background: #ffffff;
|
|
--foreground: #171717;
|
|
}
|
|
|
|
@theme inline {
|
|
--color-background: var(--background);
|
|
--color-foreground: var(--foreground);
|
|
--font-sans: var(--font-geist-sans);
|
|
--font-mono: var(--font-geist-mono);
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
:root {
|
|
--background: #0a0a0a;
|
|
--foreground: #ededed;
|
|
}
|
|
}
|
|
|
|
body {
|
|
background: var(--background);
|
|
color: var(--foreground);
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
}
|
|
|
|
input,
|
|
textarea,
|
|
select {
|
|
color: #111827; /* gray-900 — dark typed text */
|
|
}
|
|
|
|
input::placeholder,
|
|
textarea::placeholder {
|
|
color: #6b7280; /* gray-500 — readable placeholder */
|
|
}
|