Files
planilla/ui/src/components
google-labs-jules[bot] 365bbbb89e feat(ui): Synchronize card backgrounds with table background settings
This commit updates the card components in all modules (Asistencias, Empleados, Planillas, Tareas) to use the same background color as you specified in the module's "Table Background" setting.

Previously, card backgrounds were hardcoded (typically white). Now, they dynamically reflect your color choice for the corresponding module's table, ensuring visual consistency.

Changes made:
- Modified `cardAsistencia.vue`, `cardEmpleado.vue`, `cardPlanilla.vue`, and `cardTarea.vue`.
- Each card component now imports the `useUi` store.
- The main container of each card component has its `backgroundColor` style dynamically bound to the respective `tableBgColor<ModuleName>` property from the `useUi` store (e.g., `ui.tableBgColorAsistencias` for `cardAsistencia.vue`).
- Removed the static `bg-white` class from these card components.

This change directly addresses the issue where cards did not respect the color customization you selected in settings for table backgrounds.
2025-05-31 08:29:59 +00:00
..
2025-05-25 08:21:57 -06:00
2025-05-02 17:59:47 -06:00