- Dossiers unifiés #119, pending-families enrichi, validation admin (wizards) - Front: modèles dossier_unifie / pending_family, NIR, auth - Migrations dossier_famille, scripts de test API - Résolution conflits: parents.*, docs tickets, auth_service, nir_utils Made-with: Cursor
19 lines
727 B
Dart
19 lines
727 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
/// Couleurs / styles communs aux modales de validation (cohérent avec le violet / lavande admin).
|
|
abstract final class ValidationModalTheme {
|
|
/// Violet pastel foncé (proche des cartes admin, ex. `0xFF6D4EA1`).
|
|
static const Color primaryActionBackground = Color(0xFF6D4EA1);
|
|
static const Color primaryActionForeground = Colors.white;
|
|
|
|
static ButtonStyle get primaryElevatedStyle {
|
|
return ElevatedButton.styleFrom(
|
|
backgroundColor: primaryActionBackground,
|
|
foregroundColor: primaryActionForeground,
|
|
disabledBackgroundColor: primaryActionBackground.withOpacity(0.45),
|
|
disabledForegroundColor: primaryActionForeground.withOpacity(0.7),
|
|
);
|
|
}
|
|
}
|
|
|