feat(shared): legacy presentation/ + shared design system + widgets

- lib/presentation : pages legacy (explore/network, notifications) avec BLoC
- lib/shared/design_system : UnionFlow Design System v2 (tokens, components)
  + MD3 tokens + module_colors par feature
- lib/shared/widgets : widgets transversaux (core_card, core_shimmer,
  error_widget, loading_widget, powered_by_lions_dev, etc.)
- lib/shared/constants + utils
This commit is contained in:
dahoud
2026-04-15 20:27:23 +00:00
parent 744faa3a9c
commit 7cd7c6fc9e
36 changed files with 1890 additions and 837 deletions

View File

@@ -42,7 +42,7 @@ class ProfileDrawer extends StatelessWidget {
Text(
name,
style: AppTypography.headerSmall.copyWith(
color: isDark ? AppColors.textPrimaryDark : AppColors.textPrimaryLight,
color: isDark ? AppColors.textPrimaryDark : AppColors.textPrimary,
),
),
const SizedBox(height: 4),
@@ -68,7 +68,7 @@ class ProfileDrawer extends StatelessWidget {
},
),
Divider(color: isDark ? AppColors.darkBorder : AppColors.lightBorder, height: 1),
Divider(color: isDark ? AppColors.borderDark : AppColors.border, height: 1),
// Liens / Actions (factorisés)
Expanded(
@@ -84,7 +84,7 @@ class ProfileDrawer extends StatelessWidget {
),
),
Divider(color: isDark ? AppColors.darkBorder : AppColors.lightBorder, height: 1),
Divider(color: isDark ? AppColors.borderDark : AppColors.border, height: 1),
// Bouton Déconnexion
Padding(
@@ -124,14 +124,14 @@ class ProfileDrawer extends StatelessWidget {
Icon(
icon,
size: 22,
color: isDark ? AppColors.textPrimaryDark : AppColors.textPrimaryLight,
color: isDark ? AppColors.textPrimaryDark : AppColors.textPrimary,
),
const SizedBox(width: 20),
Text(
title,
style: AppTypography.headerSmall.copyWith(
fontWeight: FontWeight.w500,
color: isDark ? AppColors.textPrimaryDark : AppColors.textPrimaryLight,
color: isDark ? AppColors.textPrimaryDark : AppColors.textPrimary,
),
),
],