Fix Theme/Plugin File Editor sidebar legibility in dark mode (v1.13)

Core sets an explicit light background on the shared #templateside > ul
file-tree component, which nothing in native-dark.css covered - combined
with this file's dark-surface text colors, that produced light text on
a light background rather than just unstyled.
This commit is contained in:
NixReaper
2026-07-26 15:26:26 -05:00
parent d39155e4d5
commit 8b66155ba5
4 changed files with 23 additions and 3 deletions
+5
View File
@@ -5,6 +5,11 @@ bump. Versioning restarted at **1.0** on 2026-07-25 for the first public
release; the earlier internal 3.x history is preserved in
[`CHANGELOG-legacy.md`](CHANGELOG-legacy.md).
## [1.13] — 2026-07-26
### Fixed
- **Theme File Editor** (`theme-editor.php`) and **Plugin File Editor** (`plugin-editor.php`) rendered their file-tree sidebar essentially unreadable in dark mode — core's `#templateside > ul` sets an explicit light background (`#f6f7f7`) that nothing in `native-dark.css` covered, and since this file's own text/link colors are tuned for a dark surface, the combination was light text on a light background rather than just unstyled. Both screens share the exact same `#templateside` component, so one rule (`#templateside > ul { background: transparent; }`) fixes both. Visual-only; direct file editing remains entirely native WordPress functionality, framed the same way as Site Health and Updates rather than rebuilt.
## [1.12] — 2026-07-26
### Added