diff --git a/mu-plugins/fea-accesibilidad.php b/mu-plugins/fea-accesibilidad.php index 98a58a0..210d9d8 100644 --- a/mu-plugins/fea-accesibilidad.php +++ b/mu-plugins/fea-accesibilidad.php @@ -47,14 +47,14 @@ add_action('wp_head', function () { @font-face { font-family: 'Atkinson Hyperlegible'; font-style: normal; - font-weight: 400; + font-weight: 100 500; font-display: swap; src: url('/atkinson-hyperlegible-regular.woff2') format('woff2'); } @font-face { font-family: 'Atkinson Hyperlegible'; font-style: normal; - font-weight: 700; + font-weight: 501 900; font-display: swap; src: url('/atkinson-hyperlegible-bold.woff2') format('woff2'); } @@ -66,6 +66,15 @@ add_action('wp_head', function () { font-family: 'Atkinson Hyperlegible', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; } + h1, h2, h3, h4, h5, h6, + .fea-hero-title, + .fea-section-title { + font-family: 'Atkinson Hyperlegible', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; + } + input, textarea, select, button { + font-family: inherit; + } + /* ── Toggle claro/oscuro: botón inyectado junto al selector de idioma ── */ #fea-theme-btn { display: inline-flex; align-items: center; justify-content: center;