mejroas ui/ux cuentas-cliente

This commit is contained in:
2025-10-01 01:29:54 -06:00
parent b8d0c67659
commit 19a77bc69c
6 changed files with 445 additions and 50 deletions

View File

@@ -323,7 +323,7 @@
<div class="flex flex-col gap-3">
<div class="flex items-center justify-between">
<div>
<h2 class="text-xl font-bold brand-section-title">{{ tableTitle }}</h2>
<h2 :class="['text-xl font-bold', tableTitleClass]">{{ tableTitle }}</h2>
<p class="text-xs text-[var(--brand-text-muted)] mt-1">
{{ tableDescription }}
</p>
@@ -528,6 +528,20 @@ const tableTitle = computed(() => {
}
})
const tableTitleClass = computed(() => {
switch (selectedView.value) {
case 'ingresos-only':
return 'text-cyan-400'
case 'clientes-only':
return 'text-yellow-500'
case 'ingresos-clientes':
case 'clientes-ingresos':
return 'bg-gradient-to-r from-cyan-400 to-yellow-500 bg-clip-text text-transparent'
default:
return 'brand-section-title'
}
})
const tableDescription = computed(() => {
switch (selectedView.value) {
case 'ingresos-only':