fix(bienvenida): match body/bullet type sizes and clip the logo mark

Tier 4 visual fidelity, audit 14.4/14.5/14.6/14.8 (t4 lines 693-701):
body copy is 14.5px (was bodyMedium's 14), bullet titles are
13.5px/w800 and subtitles 11.5px (was 14/w800 and 12), the gap between
bullets tightens from 16 to 12, and the 76x76 logo mark is now clipped
to a 20px rounded rect instead of painted square.
This commit is contained in:
2026-07-30 13:02:40 +02:00
parent 038ec7f3b8
commit 7ff156852f
2 changed files with 97 additions and 13 deletions
+29 -13
View File
@@ -71,17 +71,23 @@ class PantallaBienvenida extends StatelessWidget {
child: Column(
crossAxisAlignment: CrossAxisAlignment.stretch,
children: [
Image.asset(
'assets/icons/pluriwave_app_mark.png',
key: const ValueKey('welcome-logo'),
width: 76,
height: 76,
errorBuilder:
(_, __, ___) => Icon(
Icons.graphic_eq_rounded,
size: 76,
color: t.electricMagenta,
),
// Audit 14.8 (t4 line 693): the prototype clips
// its logo mark to a 20px rounded rect; the build
// used to paint it square.
ClipRRect(
borderRadius: BorderRadius.circular(20),
child: Image.asset(
'assets/icons/pluriwave_app_mark.png',
key: const ValueKey('welcome-logo'),
width: 76,
height: 76,
errorBuilder:
(_, __, ___) => Icon(
Icons.graphic_eq_rounded,
size: 76,
color: t.electricMagenta,
),
),
),
const SizedBox(height: 22),
Text(
@@ -95,7 +101,10 @@ class PantallaBienvenida extends StatelessWidget {
const SizedBox(height: 12),
Text(
l10n.welcomeBody,
// Audit 14.4 (t4 line 697): 14.5px, not
// bodyMedium's 14.
style: theme.textTheme.bodyMedium?.copyWith(
fontSize: 14.5,
color: theme.colorScheme.onSurface.withValues(
alpha: 0.72,
),
@@ -109,14 +118,16 @@ class PantallaBienvenida extends StatelessWidget {
titulo: l10n.welcomeBullet1Title,
subtitulo: l10n.welcomeBullet1Subtitle,
),
const SizedBox(height: 16),
// Audit 14.6 (t4 line 701): 12px between bullets,
// not 16.
const SizedBox(height: 12),
FilaCaracteristicaBienvenida(
icon: Icons.directions_car_rounded,
iconColor: t.liveGreen,
titulo: l10n.welcomeBullet2Title,
subtitulo: l10n.welcomeBullet2Subtitle,
),
const SizedBox(height: 16),
const SizedBox(height: 12),
FilaCaracteristicaBienvenida(
icon: Icons.alarm_rounded,
iconColor: t.warmCoral,
@@ -196,13 +207,18 @@ class FilaCaracteristicaBienvenida extends StatelessWidget {
children: [
Text(
titulo,
// Audit 14.5 (t4 line 700): 13.5px/w800, not bodyMedium's
// 14/w800.
style: theme.textTheme.bodyMedium?.copyWith(
fontSize: 13.5,
fontWeight: FontWeight.w800,
),
),
Text(
subtitulo,
// Audit 14.5 (t4 line 700): 11.5px, not bodySmall's 12.
style: theme.textTheme.bodySmall?.copyWith(
fontSize: 11.5,
color: theme.colorScheme.onSurface.withValues(alpha: 0.58),
),
),