feat: Version 3.3.4 - Nouvelle architecture pages, optimisations widgets Flutter et API

- Mise à jour VERSION vers 3.3.4
- Optimisations et révisions architecture API (deploy-api.sh, scripts de migration)
- Ajout documentation Stripe Tap to Pay complète
- Migration vers polices Inter Variable pour Flutter
- Optimisations build Android et nettoyage fichiers temporaires
- Amélioration système de déploiement avec gestion backups
- Ajout scripts CRON et migrations base de données

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
pierre
2025-10-05 20:11:15 +02:00
parent 242a90720e
commit b6584c83fa
1625 changed files with 145669 additions and 51249 deletions

View File

@@ -99,7 +99,7 @@ class AppTheme {
return ThemeData(
useMaterial3: true,
brightness: Brightness.light,
fontFamily: 'Figtree',
fontFamily: 'Inter',
colorScheme: const ColorScheme.light(
primary: primaryColor,
secondary: secondaryColor,
@@ -128,9 +128,9 @@ class AppTheme {
borderRadius: BorderRadius.circular(borderRadiusRounded),
),
textStyle: const TextStyle(
fontFamily: 'Figtree',
fontFamily: 'Inter',
fontSize: 18,
fontWeight: FontWeight.w500,
fontWeight: FontWeight.w600,
),
),
),
@@ -196,7 +196,7 @@ class AppTheme {
return ThemeData(
useMaterial3: true,
brightness: Brightness.dark,
fontFamily: 'Figtree',
fontFamily: 'Inter',
colorScheme: const ColorScheme.dark(
primary: primaryColor,
secondary: secondaryColor,
@@ -225,9 +225,9 @@ class AppTheme {
borderRadius: BorderRadius.circular(borderRadiusRounded),
),
textStyle: const TextStyle(
fontFamily: 'Figtree',
fontFamily: 'Inter',
fontSize: 18,
fontWeight: FontWeight.w500,
fontWeight: FontWeight.w600,
),
),
),
@@ -295,88 +295,90 @@ class AppTheme {
return TextTheme(
// Display styles (très grandes tailles)
displayLarge: TextStyle(
fontFamily: 'Figtree',
fontFamily: 'Inter',
color: textColor,
fontSize: 57 * scaleFactor, // Material 3 default
),
displayMedium: TextStyle(
fontFamily: 'Figtree',
fontFamily: 'Inter',
color: textColor,
fontSize: 45 * scaleFactor,
),
displaySmall: TextStyle(
fontFamily: 'Figtree',
fontFamily: 'Inter',
color: textColor,
fontSize: 36 * scaleFactor,
),
// Headline styles (titres principaux)
headlineLarge: TextStyle(
fontFamily: 'Figtree',
fontFamily: 'Inter',
color: textColor,
fontSize: 32 * scaleFactor,
),
headlineMedium: TextStyle(
fontFamily: 'Figtree',
fontFamily: 'Inter',
color: textColor,
fontSize: 28 * scaleFactor,
),
headlineSmall: TextStyle(
fontFamily: 'Figtree',
fontFamily: 'Inter',
color: textColor,
fontSize: 24 * scaleFactor,
),
// Title styles (sous-titres)
titleLarge: TextStyle(
fontFamily: 'Figtree',
fontFamily: 'Inter',
color: textColor,
fontSize: 22 * scaleFactor,
),
titleMedium: TextStyle(
fontFamily: 'Figtree',
fontFamily: 'Inter',
color: textColor,
fontSize: 16 * scaleFactor,
fontWeight: FontWeight.w500,
fontWeight: FontWeight.w600,
),
titleSmall: TextStyle(
fontFamily: 'Figtree',
fontFamily: 'Inter',
color: textColor,
fontSize: 14 * scaleFactor,
fontWeight: FontWeight.w500,
fontWeight: FontWeight.w600,
),
// Body styles (texte principal)
bodyLarge: TextStyle(
fontFamily: 'Figtree',
fontFamily: 'Inter',
color: textColor,
fontSize: 16 * scaleFactor,
fontWeight: FontWeight.w500,
),
bodyMedium: TextStyle(
fontFamily: 'Figtree',
fontFamily: 'Inter',
color: textColor,
fontSize: 14 * scaleFactor,
fontWeight: FontWeight.w500,
),
bodySmall: TextStyle(
fontFamily: 'Figtree',
fontFamily: 'Inter',
color: textColor.withValues(alpha: 0.7),
fontSize: 12 * scaleFactor,
),
// Label styles (petits textes, boutons)
labelLarge: TextStyle(
fontFamily: 'Figtree',
fontFamily: 'Inter',
color: textColor,
fontSize: 14 * scaleFactor,
fontWeight: FontWeight.w500,
fontWeight: FontWeight.w600,
),
labelMedium: TextStyle(
fontFamily: 'Figtree',
fontFamily: 'Inter',
color: textColor.withValues(alpha: 0.7),
fontSize: 12 * scaleFactor,
),
labelSmall: TextStyle(
fontFamily: 'Figtree',
fontFamily: 'Inter',
color: textColor.withValues(alpha: 0.7),
fontSize: 11 * scaleFactor,
),
@@ -386,21 +388,21 @@ class AppTheme {
// Version statique pour compatibilité (utilise les tailles par défaut)
static TextTheme _getTextTheme(Color textColor) {
return TextTheme(
displayLarge: TextStyle(fontFamily: 'Figtree', color: textColor, fontSize: 57),
displayMedium: TextStyle(fontFamily: 'Figtree', color: textColor, fontSize: 45),
displaySmall: TextStyle(fontFamily: 'Figtree', color: textColor, fontSize: 36),
headlineLarge: TextStyle(fontFamily: 'Figtree', color: textColor, fontSize: 32),
headlineMedium: TextStyle(fontFamily: 'Figtree', color: textColor, fontSize: 28),
headlineSmall: TextStyle(fontFamily: 'Figtree', color: textColor, fontSize: 24),
titleLarge: TextStyle(fontFamily: 'Figtree', color: textColor, fontSize: 22),
titleMedium: TextStyle(fontFamily: 'Figtree', color: textColor, fontSize: 16, fontWeight: FontWeight.w500),
titleSmall: TextStyle(fontFamily: 'Figtree', color: textColor, fontSize: 14, fontWeight: FontWeight.w500),
bodyLarge: TextStyle(fontFamily: 'Figtree', color: textColor, fontSize: 16),
bodyMedium: TextStyle(fontFamily: 'Figtree', color: textColor, fontSize: 14),
bodySmall: TextStyle(fontFamily: 'Figtree', color: textColor.withValues(alpha: 0.7), fontSize: 12),
labelLarge: TextStyle(fontFamily: 'Figtree', color: textColor, fontSize: 14, fontWeight: FontWeight.w500),
labelMedium: TextStyle(fontFamily: 'Figtree', color: textColor.withValues(alpha: 0.7), fontSize: 12),
labelSmall: TextStyle(fontFamily: 'Figtree', color: textColor.withValues(alpha: 0.7), fontSize: 11),
displayLarge: TextStyle(fontFamily: 'Inter', color: textColor, fontSize: 57),
displayMedium: TextStyle(fontFamily: 'Inter', color: textColor, fontSize: 45),
displaySmall: TextStyle(fontFamily: 'Inter', color: textColor, fontSize: 36),
headlineLarge: TextStyle(fontFamily: 'Inter', color: textColor, fontSize: 32),
headlineMedium: TextStyle(fontFamily: 'Inter', color: textColor, fontSize: 28),
headlineSmall: TextStyle(fontFamily: 'Inter', color: textColor, fontSize: 24),
titleLarge: TextStyle(fontFamily: 'Inter', color: textColor, fontSize: 22),
titleMedium: TextStyle(fontFamily: 'Inter', color: textColor, fontSize: 16, fontWeight: FontWeight.w600),
titleSmall: TextStyle(fontFamily: 'Inter', color: textColor, fontSize: 14, fontWeight: FontWeight.w600),
bodyLarge: TextStyle(fontFamily: 'Inter', color: textColor, fontSize: 16, fontWeight: FontWeight.w500),
bodyMedium: TextStyle(fontFamily: 'Inter', color: textColor, fontSize: 14, fontWeight: FontWeight.w500),
bodySmall: TextStyle(fontFamily: 'Inter', color: textColor.withValues(alpha: 0.7), fontSize: 12),
labelLarge: TextStyle(fontFamily: 'Inter', color: textColor, fontSize: 14, fontWeight: FontWeight.w600),
labelMedium: TextStyle(fontFamily: 'Inter', color: textColor.withValues(alpha: 0.7), fontSize: 12),
labelSmall: TextStyle(fontFamily: 'Inter', color: textColor.withValues(alpha: 0.7), fontSize: 11),
);
}