From e8d2e704220d1d65882c3cfd0392b23d6a95f47a Mon Sep 17 00:00:00 2001 From: Alberto Date: Wed, 11 Mar 2026 19:19:48 +0000 Subject: [PATCH] Eliminar creche_app/lib/shared/themes.dart --- creche_app/lib/shared/themes.dart | 59 ------------------------------- 1 file changed, 59 deletions(-) delete mode 100644 creche_app/lib/shared/themes.dart diff --git a/creche_app/lib/shared/themes.dart b/creche_app/lib/shared/themes.dart deleted file mode 100644 index 1332b29..0000000 --- a/creche_app/lib/shared/themes.dart +++ /dev/null @@ -1,59 +0,0 @@ -import 'package:flutter/material.dart'; - -const kPrimaryBlue = Color(0xFF4FC3F7); -const kAccentGreen = Color(0xFFA5D6A7); -const kDarkBlue = Color(0xFF1976D2); -const kBackground = Color(0xFFF5F5F5); -const kCardBackground = Colors.white; - -final appTheme = ThemeData( - useMaterial3: true, - colorScheme: ColorScheme.fromSeed( - seedColor: kPrimaryBlue, - primary: kPrimaryBlue, - secondary: kAccentGreen, - background: kBackground, - ), - scaffoldBackgroundColor: kBackground, - appBarTheme: const AppBarTheme( - backgroundColor: kPrimaryBlue, - foregroundColor: Colors.white, - elevation: 0, - centerTitle: true, - titleTextStyle: TextStyle( - color: Colors.white, - fontSize: 20, - fontWeight: FontWeight.bold, - ), - ), - elevatedButtonTheme: ElevatedButtonThemeData( - style: ElevatedButton.styleFrom( - backgroundColor: kPrimaryBlue, - foregroundColor: Colors.white, - minimumSize: const Size(double.infinity, 52), - shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(12)), - textStyle: const TextStyle(fontSize: 16, fontWeight: FontWeight.bold), - ), - ), - inputDecorationTheme: InputDecorationTheme( - border: OutlineInputBorder(borderRadius: BorderRadius.circular(12)), - focusedBorder: OutlineInputBorder( - borderRadius: BorderRadius.circular(12), - borderSide: const BorderSide(color: kPrimaryBlue, width: 2), - ), - contentPadding: const EdgeInsets.symmetric(horizontal: 16, vertical: 14), - ), - cardTheme: CardThemeData( - elevation: 3, - shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(16)), - color: kCardBackground, - ), - textTheme: const TextTheme( - headlineMedium: TextStyle( - color: kDarkBlue, fontWeight: FontWeight.bold, fontSize: 24), - titleLarge: - TextStyle(color: kDarkBlue, fontWeight: FontWeight.w600, fontSize: 18), - bodyLarge: TextStyle(color: Color(0xFF333333), fontSize: 16), - bodyMedium: TextStyle(color: Color(0xFF555555), fontSize: 14), - ), -);