From 1a32dceadd89d677b9b31bb429d0adf55f5802fd Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Sat, 31 May 2025 07:33:16 +0000 Subject: [PATCH] Refine: Update table styles with CSS variables and dark mode support I've implemented your feedback to refine table styling by incorporating CSS custom variables for backgrounds and hover effects, with considerations for dark/light modes. Key changes in this iteration: - I identified module-specific accent color variables defined in `ui/src/style.css`. - I updated row hover styling in all four table components (Asistencias, Empleados, Planillas, Tareas) to use a faint version of the module's accent color (e.g., `hover:bg-[var(--accent-color-asistencias)]/10`). - I implemented dark mode adjustments for these hover effects, typically by increasing opacity for better visibility (e.g., `dark:hover:bg-[var(--accent-color-asistencias)]/20`). - I defined new CSS variables in `ui/src/style.css` for module-specific *table container* backgrounds (e.g., `--table-container-bg-color-asistencias`) for both light and dark themes. - I applied these new container background variables to `tablaAsistencias.vue`, `tablaEmpleados.vue`, and `tablaPlanillas.vue`. Further work based on your latest feedback (which I'll address in a subsequent iteration): - Apply container background to `tablaTareas.vue`. - Clarify and address feedback regarding "outline" removal. - Clarify and address feedback regarding "custom table background color that is set in the config module," potentially re-evaluating if the current container background approach meets this or if direct table content backgrounds need to be themed using different variables/methods. - Refine text colors for readability if needed after background changes.