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:
@@ -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
|
release; the earlier internal 3.x history is preserved in
|
||||||
[`CHANGELOG-legacy.md`](CHANGELOG-legacy.md).
|
[`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
|
## [1.12] — 2026-07-26
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|||||||
@@ -119,6 +119,18 @@ html.aurora-dark.aurora-ready #wpbody-content .plugins tr {
|
|||||||
background: transparent;
|
background: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Theme File Editor / Plugin File Editor (theme-editor.php, plugin-editor.php)
|
||||||
|
share the same #templateside file-tree component. Core sets an explicit
|
||||||
|
light background directly on `#templateside > ul` (not just inherited from
|
||||||
|
the page), which nothing else here targets — combined with this file's own
|
||||||
|
light text/link colors (meant for a dark surface), that produced light text
|
||||||
|
on a light background, i.e. effectively unreadable rather than just
|
||||||
|
unstyled. Both screens are deliberately left as framed native content (not
|
||||||
|
rebuilt), same as Site Health/Updates, but still need to be legible. */
|
||||||
|
html.aurora-dark.aurora-ready #wpbody-content #templateside > ul {
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
html.aurora-dark.aurora-ready #wpbody-content .wp-list-table.striped > tbody > :nth-child(odd),
|
html.aurora-dark.aurora-ready #wpbody-content .wp-list-table.striped > tbody > :nth-child(odd),
|
||||||
html.aurora-dark.aurora-ready #wpbody-content .striped > tbody > :nth-child(odd) {
|
html.aurora-dark.aurora-ready #wpbody-content .striped > tbody > :nth-child(odd) {
|
||||||
background: var(--aurora-bg-subtle);
|
background: var(--aurora-bg-subtle);
|
||||||
|
|||||||
+2
-2
@@ -3,7 +3,7 @@
|
|||||||
* Plugin Name: Aurora Admin
|
* Plugin Name: Aurora Admin
|
||||||
* Plugin URI: https://aurora.auroradragon.studio
|
* Plugin URI: https://aurora.auroradragon.studio
|
||||||
* Description: A modern, fast WordPress admin interface.
|
* Description: A modern, fast WordPress admin interface.
|
||||||
* Version: 1.12
|
* Version: 1.13
|
||||||
* Author: Aurora Dragon Studio
|
* Author: Aurora Dragon Studio
|
||||||
* Author URI: https://auroradragon.studio
|
* Author URI: https://auroradragon.studio
|
||||||
* Text Domain: aurora-admin
|
* Text Domain: aurora-admin
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
defined("ABSPATH") || exit();
|
defined("ABSPATH") || exit();
|
||||||
|
|
||||||
define("AURORA_ADMIN_VERSION", "1.12");
|
define("AURORA_ADMIN_VERSION", "1.13");
|
||||||
define("AURORA_ADMIN_PATH", plugin_dir_path(__FILE__));
|
define("AURORA_ADMIN_PATH", plugin_dir_path(__FILE__));
|
||||||
define("AURORA_ADMIN_URL", plugins_url("aurora-admin/"));
|
define("AURORA_ADMIN_URL", plugins_url("aurora-admin/"));
|
||||||
|
|
||||||
|
|||||||
+4
-1
@@ -4,7 +4,7 @@ Tags: admin, dashboard, admin theme, dark mode, admin redesign
|
|||||||
Requires at least: 5.5
|
Requires at least: 5.5
|
||||||
Tested up to: 7.0
|
Tested up to: 7.0
|
||||||
Requires PHP: 7.4
|
Requires PHP: 7.4
|
||||||
Stable tag: 1.12
|
Stable tag: 1.13
|
||||||
License: GPLv2 or later
|
License: GPLv2 or later
|
||||||
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
|
||||||
@@ -86,6 +86,9 @@ Use the "Report a Bug" item in the Aurora sidebar menu, or open a thread in this
|
|||||||
|
|
||||||
== Changelog ==
|
== Changelog ==
|
||||||
|
|
||||||
|
= 1.13 =
|
||||||
|
* Fixed the Theme File Editor and Plugin File Editor rendering their file-tree sidebar as nearly unreadable light-on-light text in dark mode. Visual-only fix; direct file editing is still entirely native WordPress functionality (Aurora doesn't add a custom editor here, matching the same "frame native content" approach used for Site Health and Updates).
|
||||||
|
|
||||||
= 1.12 =
|
= 1.12 =
|
||||||
* Added a "Disable Gutenberg" toggle (Settings > Screens > Editor): switches all post types to WordPress's classic editor instead of the block editor, using the same core-supported filter the official Classic Editor plugin uses. Off by default.
|
* Added a "Disable Gutenberg" toggle (Settings > Screens > Editor): switches all post types to WordPress's classic editor instead of the block editor, using the same core-supported filter the official Classic Editor plugin uses. Off by default.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user