From a9e436fa717d4b62243b5ee80af20b65c632a105 Mon Sep 17 00:00:00 2001 From: James Babcock Date: Fri, 11 Sep 2026 22:43:09 -0700 Subject: [PATCH] Fix white-on-light-gray text for keyboard inputs on the phone if in dark mode --- app/app.css | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/app/app.css b/app/app.css index faa23972..d95f977e 100644 --- a/app/app.css +++ b/app/app.css @@ -52,7 +52,8 @@ TextField { color: #f0f0f0; } -.system-name-modal TextField { +.system-name-modal TextField, +.system-name-modal TextView { background-color: #ffffff; color: #222222; } @@ -132,6 +133,14 @@ Button.-primary { border-radius: 8; } +/* The modal stays light in dark mode (setting editor and keyboard-input + * panel); the .ns-dark pairing outguns the theme's dark-mode recolour of + * Label/.h2 so the title doesn't go white-on-light-gray. */ +.system-name-modal Label, +.ns-dark .system-name-modal Label { + color: #222222; +} + /* Modal behind the action bar's warning triangle: the problem-status warnings * that used to sit inline on the main page, each with its fix-it button. * The width is set from the view model (near-full-width on phones, capped on