chore: update comments and documentation for clarity and consistency across various files
- Translated comments from Spanish to English in vite.config.ts, docker-compose.yml, attendance-risk.ts, analytics.ts, attendance.ts, attendees.ts, enums.ts, groups.ts, and onboarding.ts. - Improved descriptions for better understanding of code functionality and purpose. - Ensured uniformity in terminology and phrasing throughout the codebase.
This commit is contained in:
@@ -12,10 +12,10 @@ const variants: Record<BadgeVariant, string> = {
|
||||
warning: 'bg-warning-soft text-warning',
|
||||
danger: 'bg-danger-soft text-danger',
|
||||
neutral: 'bg-primary-soft text-primary',
|
||||
/* Estado informativo que no es alerta: lista de espera, cupos libres. Usa la
|
||||
tinta de acento legible (`accent-fg` es el azul claro en tema oscuro,
|
||||
7.1:1 sobre la tarjeta) y no el `accent` directo, que en oscuro da 2.2:1
|
||||
y no alcanza el mínimo de 3:1 para contenido no textual. */
|
||||
/* Informational state, not an alert: waitlist, free spots. Uses the legible
|
||||
accent ink (`accent-fg` is the light blue in the dark theme, 7.1:1 on the
|
||||
card) and not the plain `accent`, which in dark scores 2.2:1 and misses the
|
||||
3:1 minimum for non-text content. */
|
||||
info: 'bg-accent-soft text-accent-fg',
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user