Fix TOC Sidebar: Agregar variables CSS faltantes del template y cambiar a fuente Poppins
Problema: - TOC sidebar usaba system fonts en lugar de Poppins - Faltaban variables CSS del template (--color-navy-primary, --color-neutral-*) - Variables de color estaban intercambiadas (#495057 vs #6c757d) Solución: 1. Agregar variables faltantes a variables.css: - --color-navy-primary: #1e3a5f - --color-navy-light: #2c5282 - --color-neutral-50: #f8f9fa - --color-neutral-100: #e9ecef - --color-neutral-600: #495057 (text default) - --color-neutral-700: #6c757d (text secondary) - --color-orange-light: #FFB800 - --color-orange-hover: #FF6B35 2. Cambiar --font-family-base de system fonts a 'Poppins', sans-serif (Google Fonts Poppins ya se carga en enqueue-scripts.php) 3. Incrementar APUS_VERSION de 1.0.2 a 1.0.3 para cache busting Archivos modificados: - wp-content/themes/apus-theme/assets/css/variables.css - wp-content/themes/apus-theme/functions.php Reabre issue #121 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -14,8 +14,10 @@
|
||||
COLORES PRINCIPALES - Paleta RDash
|
||||
======================================== */
|
||||
|
||||
/* Azules */
|
||||
/* Azules - Template variables */
|
||||
--color-navy-dark: #0E2337; /* Navbar background */
|
||||
--color-navy-primary: #1e3a5f; /* Navy primary (template) */
|
||||
--color-navy-light: #2c5282; /* Navy light (template) */
|
||||
--color-blue-primary: #1e3a5f; /* Hero gradient start */
|
||||
--color-blue-secondary: #2c5282; /* Hero gradient end */
|
||||
--color-blue-light: #1a73e8; /* Links, accents */
|
||||
@@ -28,9 +30,16 @@
|
||||
/* Naranjas */
|
||||
--color-orange-primary: #FF8600; /* CTA primary */
|
||||
--color-orange-secondary: #FFB800; /* CTA gradient end */
|
||||
--color-orange-light: #FFB800; /* Orange light (template) */
|
||||
--color-orange-button: #FF6B35; /* Let's Talk button start */
|
||||
--color-orange-button-end: #FF8C42;/* Let's Talk button end */
|
||||
--color-orange-hover: #e67800; /* Orange hover state */
|
||||
--color-orange-hover: #FF6B35; /* Orange hover state (template) */
|
||||
|
||||
/* Neutrales - Template variables */
|
||||
--color-neutral-50: #f8f9fa; /* Light backgrounds (template) */
|
||||
--color-neutral-100: #e9ecef; /* Borders light (template) */
|
||||
--color-neutral-600: #495057; /* Text default (template) */
|
||||
--color-neutral-700: #6c757d; /* Text secondary (template) */
|
||||
|
||||
/* Grises */
|
||||
--color-slate-gray: #4C5C6B; /* Notification bar background */
|
||||
@@ -54,7 +63,8 @@
|
||||
TIPOGRAFÍA
|
||||
======================================== */
|
||||
|
||||
--font-family-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
||||
/* Template usa Poppins (cargado via Google Fonts en enqueue-scripts.php) */
|
||||
--font-family-base: 'Poppins', sans-serif;
|
||||
--font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
||||
|
||||
--font-size-base: 1rem;
|
||||
|
||||
@@ -14,7 +14,7 @@ if (!defined('ABSPATH')) {
|
||||
/**
|
||||
* Theme Version
|
||||
*/
|
||||
define('APUS_VERSION', '1.0.2');
|
||||
define('APUS_VERSION', '1.0.3');
|
||||
|
||||
/**
|
||||
* Theme Setup
|
||||
|
||||
Reference in New Issue
Block a user