diff --git a/mu-plugins/fea-accesibilidad.php b/mu-plugins/fea-accesibilidad.php index 210d9d8..9711d8d 100644 --- a/mu-plugins/fea-accesibilidad.php +++ b/mu-plugins/fea-accesibilidad.php @@ -98,6 +98,13 @@ add_action('wp_head', function () { background-color: #0d0d0d !important; color: #ececec !important; } + /* En artículos, fea-ui.php fija --wp--preset--color--base en el body + para el modo claro. El contenedor desplegable del menú hereda esa + variable, así que hay que restaurarla aquí en oscuro. */ + html[data-fea-theme="dark"] body.single-post { + --wp--preset--color--base: #0d0d0d; + --wp--preset--color--contrast: #ececec; + } html[data-fea-theme="dark"] a { color: ; } html[data-fea-theme="dark"] a:focus-visible, html[data-fea-theme="dark"] button:focus-visible {