fix(ui): thème, textes et lisibilité restants de la revue
All checks were successful
CI / Lint, Unit Tests & Build (push) Successful in 6m57s
CI / Deploy production (on server) (push) Successful in 24s

Les boutons suivent la couleur d’apparence, les libellés trop petits ou trop techniques sont clarifiés, et le catalogue des fournisseurs se met à jour tout seul.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Antigravity
2026-08-30 21:13:07 +00:00
parent ebf6f16fde
commit afbb0dfc2d
77 changed files with 2842 additions and 1546 deletions

View File

@@ -10,6 +10,7 @@ interface DashboardWidgetTitleRowProps {
title: string
actions?: ReactNode
className?: string
wrapTitle?: boolean
}
/** Titre widget : actions dabord, aide « ? » en dernier — ne masque jamais la navigation. */
@@ -19,12 +20,15 @@ export function DashboardWidgetTitleRow({
title,
actions,
className = 'mb-3',
wrapTitle,
}: DashboardWidgetTitleRowProps) {
return (
<div className={`flex items-center justify-between gap-2 ${className}`}>
<div className="flex items-center gap-2 min-w-0 flex-1">
{icon}
<h2 className="text-[10px] font-mono font-bold uppercase tracking-widest text-ink dark:text-dark-ink truncate">
<div className={`flex items-start justify-between gap-2 ${className}`}>
<div className="flex items-start gap-2 min-w-0 flex-1">
{icon ? <span className="shrink-0 mt-0.5">{icon}</span> : null}
<h2 className={`text-[13px] font-semibold uppercase tracking-wider text-ink dark:text-dark-ink ${
wrapTitle ? 'leading-tight whitespace-normal' : 'truncate'
}`}>
{title}
</h2>
</div>