refactor(#155): phase 2 — panels staff sous widgets/dashboard/.
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>
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
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),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user