feat(api): add timezone support for group fetching and increase page size
feat(attendance): refactor attendance summary logic and update tests feat(analytics): extend GroupRiskSummary schema with absence and attendance counts feat(groups): enhance group schema with attendee and waitlist counts chore(skills): add frontend design skill with guidelines and license feat(attendee-detail): implement AttendeePhoneLine component for phone display feat(groups): create AttendanceBadge and CapacityIndicator components for group cards feat(groups): add card utility functions for attendance alerts and capacity summaries test(groups): implement tests for attendance alert and capacity summary logic
This commit is contained in:
@@ -49,6 +49,7 @@
|
||||
--color-primary: var(--primary);
|
||||
--color-primary-soft: var(--primary-soft);
|
||||
--color-foreground: var(--foreground);
|
||||
--color-secondary: var(--secondary);
|
||||
--color-accent: var(--accent);
|
||||
--color-accent-strong: var(--accent-strong);
|
||||
--color-accent-soft: var(--accent-soft);
|
||||
@@ -60,6 +61,8 @@
|
||||
--color-success-soft: var(--success-soft);
|
||||
--color-warning: var(--warning);
|
||||
--color-warning-soft: var(--warning-soft);
|
||||
--color-warning-strong: var(--warning-strong);
|
||||
--color-warning-strong-soft: var(--warning-strong-soft);
|
||||
--color-danger: var(--danger);
|
||||
--color-danger-soft: var(--danger-soft);
|
||||
|
||||
@@ -116,6 +119,12 @@
|
||||
--primary: #0f172a;
|
||||
--primary-soft: #f1f5f9;
|
||||
--foreground: #475569;
|
||||
/* Texto secundario sobre superficies suaves (tarjetas). En tema claro el
|
||||
gris de `foreground` ya da 6.9:1 sobre `primary-soft` y 7.6:1 sobre
|
||||
`background`, así que acá no hay que mover nada: mismo valor, mismo
|
||||
contrato. El token existe igual para que "secundario" sea un nombre y no
|
||||
una coincidencia de color. */
|
||||
--secondary: #475569;
|
||||
--accent: #2544ea;
|
||||
--accent-strong: #1d33d8;
|
||||
--accent-soft: #eef4ff;
|
||||
@@ -127,6 +136,11 @@
|
||||
--success-soft: #ecfdf5;
|
||||
--warning: #b45309;
|
||||
--warning-soft: #fffbeb;
|
||||
/* naranja: escalón de severidad para la misma familia de alertas (aviso por
|
||||
asistencia, cupos). Sobre `warning-strong-soft` da 4.9:1 y sobre la
|
||||
tarjeta 4.4:1, así que sirve para texto y para un borde tenue. */
|
||||
--warning-strong: #c2410c;
|
||||
--warning-strong-soft: #fff7ed;
|
||||
--danger: #f43f5e;
|
||||
--danger-soft: #fff1f2;
|
||||
}
|
||||
@@ -140,6 +154,11 @@
|
||||
--primary: #f1f5f9;
|
||||
--primary-soft: #1e293b;
|
||||
--foreground: #94a3b8;
|
||||
/* El secundario se sube un escalón sobre `foreground`: 7.1:1 sobre la
|
||||
tarjeta (#1e293b) y 9.8:1 sobre el fondo, contra 5.7:1 del gris anterior.
|
||||
El salto importa en las superficies suaves, que son las que dominan las
|
||||
tarjetas de la lista: el texto de apoyo ahí es el que más se pierde. */
|
||||
--secondary: #a8b6c8;
|
||||
--accent: #2544ea;
|
||||
--accent-strong: #1d33d8;
|
||||
--accent-soft: color-mix(in srgb, var(--brand-500) 15%, transparent);
|
||||
@@ -151,6 +170,11 @@
|
||||
--success-soft: color-mix(in srgb, var(--success) 15%, transparent);
|
||||
--warning: #fcd34d;
|
||||
--warning-soft: color-mix(in srgb, var(--warning) 15%, transparent);
|
||||
/* En oscuro el "naranja" tiene que subir de luminosidad para alcanzar el
|
||||
mismo contraste que su versión clara: #fb923c da 4.7:1 sobre el fondo
|
||||
translúcido del badge, contra 4.1:1 del #f97316 de la paleta estándar. */
|
||||
--warning-strong: #fb923c;
|
||||
--warning-strong-soft: color-mix(in srgb, var(--warning-strong) 18%, transparent);
|
||||
--danger: #fb7185;
|
||||
--danger-soft: color-mix(in srgb, var(--danger) 15%, transparent);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user