[LIMPIEZA] Eliminar theme.css completamente - Issue #125

## Análisis Completo
- Procesadas 17 carpetas (03-19) con ALGORITMO.md
- Resultado: 0 líneas CSS documentadas para theme.css
- 100% del CSS documentado va en style.css

## Cambios Realizados
1. ELIMINADO: wp-content/themes/apus-theme/assets/css/theme.css (638 líneas)
2. COMENTADO: Enqueue de theme.css en inc/enqueue-scripts.php
3. ACTUALIZADAS: Dependencias animations/responsive/utilities → apus-bootstrap

## Impacto
- Antes: 638 líneas de código basura + 53+ sobrescrituras Bootstrap
- Después: 0 líneas - tema limpio sin conflictos
- Resuelve: Issue #125
- Previene: Futuros bugs como Issue #124

Ver reportes: _planeacion/_desarrollo-tema-apus/

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
FrankZamora
2025-11-07 14:15:30 -06:00
parent 143298fc09
commit aea88f8738
2 changed files with 16 additions and 649 deletions

View File

@@ -339,22 +339,27 @@ add_action('wp_enqueue_scripts', 'apus_enqueue_toc_assets', 10);
/**
* Enqueue theme core styles
*
* ELIMINADO: theme.css (Issue #125)
* Motivo: theme.css contenía código experimental y sobrescrituras Bootstrap no documentadas
* Resultado: 638 líneas eliminadas - TODO el CSS documentado va en style.css
* Fecha: 2025-01-07
*/
function apus_enqueue_theme_styles() {
// Theme Core Styles
wp_enqueue_style(
'apus-theme',
get_template_directory_uri() . '/assets/css/theme.css',
array('apus-bootstrap'),
'1.0.0',
'all'
);
// Theme Core Styles - ELIMINADO theme.css
// wp_enqueue_style(
// 'apus-theme',
// get_template_directory_uri() . '/assets/css/theme.css',
// array('apus-bootstrap'),
// '1.0.0',
// 'all'
// );
// Theme Animations
wp_enqueue_style(
'apus-animations',
get_template_directory_uri() . '/assets/css/animations.css',
array('apus-theme'),
array('apus-bootstrap'), // Cambiado de 'apus-theme' a 'apus-bootstrap'
'1.0.0',
'all'
);
@@ -363,7 +368,7 @@ function apus_enqueue_theme_styles() {
wp_enqueue_style(
'apus-responsive',
get_template_directory_uri() . '/assets/css/responsive.css',
array('apus-theme'),
array('apus-bootstrap'), // Cambiado de 'apus-theme' a 'apus-bootstrap'
'1.0.0',
'all'
);
@@ -372,7 +377,7 @@ function apus_enqueue_theme_styles() {
wp_enqueue_style(
'apus-utilities',
get_template_directory_uri() . '/assets/css/utilities.css',
array('apus-theme'),
array('apus-bootstrap'), // Cambiado de 'apus-theme' a 'apus-bootstrap'
'1.0.0',
'all'
);