Accesibilidad: Atkinson Hyperlegible + modo oscuro (#196) #205

Merged
rafa merged 6 commits from fix/dark-article-menu into main 2026-08-12 12:47:23 +00:00
Showing only changes of commit 825434a0b7 - Show all commits
+7
View File
@@ -98,6 +98,13 @@ add_action('wp_head', function () {
background-color: #0d0d0d !important; background-color: #0d0d0d !important;
color: #ececec !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: <?php echo esc_html($accent_dark); ?>; } html[data-fea-theme="dark"] a { color: <?php echo esc_html($accent_dark); ?>; }
html[data-fea-theme="dark"] a:focus-visible, html[data-fea-theme="dark"] a:focus-visible,
html[data-fea-theme="dark"] button:focus-visible { html[data-fea-theme="dark"] button:focus-visible {