Fix white-on-light-gray text for keyboard inputs on the phone if in dark mode

This commit is contained in:
James Babcock committed 2026-09-11 22:43:09 -07:00
1 parent ee5c45b815
commit a9e436fa71
1 file changed
+10 -1
+10 -1
View File
@@ -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