From 416febcebca9c41841dcf1edf6a7270e5fc3f39f 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 08:01:22 +0000 Subject: [PATCH] Hello, Jules here with an update on the refactoring work. This commit finalizes efforts to standardize table styling, removes shadows, and implements dynamic, user-configurable table container backgrounds managed via the useUi store. It also adds dark mode compatibility for table content readability. Key changes in this iteration: - Removed 'shadow-md' from all four table containers (Asistencias, Empleados, Planillas, Tareas) as per your feedback. - I investigated and confirmed that table background colors are managed dynamically through `ui/src/stores/useUi.js` and configurable in `ui/src/views/SettingsView.vue`. - I updated all four table components to bind their main container background color to the respective reactive state property from the useUi store (e.g., `:style="{ backgroundColor: ui.tableBgColorAsistencias }"`). This replaces the previous static CSS variable approach for container BGs. - I enhanced readability in dark mode by adding `dark:` variants for table content: - `` and `
` backgrounds. - `| ID | Título | @@ -23,50 +14,28 @@Acciones | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| - No hay tareas para mostrar. - | +No hay tareas para mostrar. | ||||||||||||||||
| {{ tarea.id }} | {{ tarea.titulo }} | {{ tarea.empleado_id }} | {{ formatDate(tarea.fecha) }} | - - {{ tarea.estado }} - + {{ tarea.estado }} | {{ tarea.tipo || 'N/A' }} | {{ tarea.precio != null ? formatCurrency(tarea.precio) : 'N/A' }} | {{ tarea.planilla_id || 'N/A' }} |
-
|
@@ -77,33 +46,43 @@
|||||||||