';
$html .= '
';
$html .= ' ';
$html .= ' Colores';
$html .= '
';
// Colores principales
$html .= '
Contenedor
';
$html .= '
';
$bgColor = $this->renderer->getFieldValue($componentId, 'colors', 'background_color', '#ffffff');
$html .= $this->buildColorPicker('tocBackgroundColor', 'Fondo', $bgColor);
$borderColor = $this->renderer->getFieldValue($componentId, 'colors', 'border_color', '#E6E9ED');
$html .= $this->buildColorPicker('tocBorderColor', 'Borde', $borderColor);
$html .= '
';
// Colores del titulo
$html .= '
Titulo
';
$html .= '
';
$titleColor = $this->renderer->getFieldValue($componentId, 'colors', 'title_color', '#0E2337');
$html .= $this->buildColorPicker('tocTitleColor', 'Color', $titleColor);
$titleBorderColor = $this->renderer->getFieldValue($componentId, 'colors', 'title_border_color', '#E6E9ED');
$html .= $this->buildColorPicker('tocTitleBorderColor', 'Borde', $titleBorderColor);
$html .= '
';
// Colores de enlaces
$html .= '
Enlaces
';
$html .= '
';
$linkColor = $this->renderer->getFieldValue($componentId, 'colors', 'link_color', '#6B7280');
$html .= $this->buildColorPicker('tocLinkColor', 'Normal', $linkColor);
$linkHoverColor = $this->renderer->getFieldValue($componentId, 'colors', 'link_hover_color', '#0E2337');
$html .= $this->buildColorPicker('tocLinkHoverColor', 'Hover', $linkHoverColor);
$html .= '
';
$html .= '
';
$linkHoverBg = $this->renderer->getFieldValue($componentId, 'colors', 'link_hover_background', '#F9FAFB');
$html .= $this->buildColorPicker('tocLinkHoverBackground', 'Fondo hover', $linkHoverBg);
$activeBorderColor = $this->renderer->getFieldValue($componentId, 'colors', 'active_border_color', '#0E2337');
$html .= $this->buildColorPicker('tocActiveBorderColor', 'Borde activo', $activeBorderColor);
$html .= '
';
// Colores de activo
$html .= '
Estado Activo
';
$html .= '
';
$activeBgColor = $this->renderer->getFieldValue($componentId, 'colors', 'active_background_color', '#F9FAFB');
$html .= $this->buildColorPicker('tocActiveBackgroundColor', 'Fondo', $activeBgColor);
$activeTextColor = $this->renderer->getFieldValue($componentId, 'colors', 'active_text_color', '#0E2337');
$html .= $this->buildColorPicker('tocActiveTextColor', 'Texto', $activeTextColor);
$html .= '
';
// Colores de scrollbar
$html .= '
Scrollbar
';
$html .= '
';
$scrollbarTrack = $this->renderer->getFieldValue($componentId, 'colors', 'scrollbar_track_color', '#F9FAFB');
$html .= $this->buildColorPicker('tocScrollbarTrackColor', 'Pista', $scrollbarTrack);
$scrollbarThumb = $this->renderer->getFieldValue($componentId, 'colors', 'scrollbar_thumb_color', '#6B7280');
$html .= $this->buildColorPicker('tocScrollbarThumbColor', 'Thumb', $scrollbarThumb);
$html .= '
';
$html .= '