Déplace les panels/wizards/validation/common partagés hors de widgets/admin/ ; ne conserve que AdminManagementWidget (variante A). Co-authored-by: Cursor <cursoragent@cursor.com>
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),
|
|
);
|
|
}
|
|
}
|
|
|