-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make folder structure feature oriented
- Loading branch information
1 parent
d269912
commit 45d8638
Showing
21 changed files
with
200 additions
and
214 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
16 changes: 8 additions & 8 deletions
16
...end/lib/pages/core/root_page_wrapper.dart → ...nd/lib/auth/pages/auth_page_selector.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,165 @@ | ||
/* Light theme */ | ||
import 'package:flutter/material.dart'; | ||
|
||
final ThemeData lightTheme = ThemeData( | ||
brightness: Brightness.light, | ||
useMaterial3: true, // Opt-in to using Material 3 features | ||
colorScheme: ColorScheme.light( | ||
primary: Colors.grey.shade900, | ||
onPrimary: Colors.white, | ||
secondary: Colors.grey.shade700, | ||
onSecondary: Colors.grey.shade200, | ||
background: Colors.grey.shade100, | ||
onBackground: Colors.black, | ||
surface: Colors.grey.shade500, | ||
onSurface: Colors.black, | ||
error: Colors.red[700]!, | ||
onError: Colors.white, | ||
), | ||
inputDecorationTheme: InputDecorationTheme( | ||
fillColor: Colors.grey.shade300, | ||
hintStyle: TextStyle( | ||
color: Colors.grey.shade500, | ||
fontSize: 16, | ||
), | ||
enabledBorder: OutlineInputBorder( | ||
borderSide: BorderSide( | ||
color: Colors.grey.shade500, | ||
), | ||
), | ||
focusedBorder: OutlineInputBorder( | ||
borderSide: BorderSide( | ||
color: Colors.grey.shade700, | ||
), | ||
), | ||
), | ||
textTheme: const TextTheme( | ||
displayLarge: TextStyle( | ||
fontSize: 24, | ||
fontWeight: FontWeight.bold, | ||
color: Colors.black, | ||
), | ||
displayMedium: TextStyle( | ||
fontSize: 22, | ||
fontWeight: FontWeight.bold, | ||
color: Colors.black, | ||
), | ||
displaySmall: TextStyle( | ||
fontSize: 20, | ||
fontWeight: FontWeight.bold, | ||
color: Colors.black, | ||
), | ||
bodyLarge: TextStyle( | ||
fontSize: 16, | ||
fontWeight: FontWeight.normal, | ||
color: Colors.black, | ||
), | ||
bodyMedium: TextStyle( | ||
fontSize: 14, | ||
fontWeight: FontWeight.normal, | ||
color: Colors.black, | ||
), | ||
bodySmall: TextStyle( | ||
fontSize: 12, | ||
fontWeight: FontWeight.normal, | ||
color: Colors.black, | ||
), | ||
labelLarge: TextStyle( | ||
fontSize: 16, | ||
fontWeight: FontWeight.bold, | ||
color: Colors.white, | ||
), | ||
labelMedium: TextStyle( | ||
fontSize: 14, | ||
fontWeight: FontWeight.bold, | ||
color: Colors.white, | ||
), | ||
labelSmall: TextStyle( | ||
fontSize: 20, | ||
fontWeight: FontWeight.bold, | ||
color: Colors.white, | ||
), | ||
), | ||
); | ||
|
||
/* Dark theme */ | ||
final ThemeData darkTheme = ThemeData( | ||
brightness: Brightness.dark, | ||
useMaterial3: true, | ||
colorScheme: ColorScheme.dark( | ||
primary: Colors.grey.shade100, | ||
onPrimary: Colors.black, | ||
secondary: Colors.grey.shade300, | ||
onSecondary: Colors.grey.shade800, | ||
background: Colors.grey.shade900, | ||
onBackground: Colors.white, | ||
surface: Colors.grey.shade500, | ||
onSurface: Colors.black, | ||
error: Colors.red[900]!, | ||
onError: Colors.white, | ||
), | ||
inputDecorationTheme: InputDecorationTheme( | ||
fillColor: Colors.grey.shade700, | ||
hintStyle: TextStyle( | ||
color: Colors.grey.shade500, | ||
fontSize: 16, | ||
), | ||
enabledBorder: OutlineInputBorder( | ||
borderSide: BorderSide( | ||
color: Colors.grey.shade500, | ||
), | ||
), | ||
focusedBorder: OutlineInputBorder( | ||
borderSide: BorderSide( | ||
color: Colors.grey.shade300, | ||
), | ||
), | ||
), | ||
textTheme: const TextTheme( | ||
displayLarge: TextStyle( | ||
fontSize: 24, | ||
fontWeight: FontWeight.bold, | ||
color: Colors.white, | ||
), | ||
displayMedium: TextStyle( | ||
fontSize: 22, | ||
fontWeight: FontWeight.bold, | ||
color: Colors.white, | ||
), | ||
displaySmall: TextStyle( | ||
fontSize: 20, | ||
fontWeight: FontWeight.bold, | ||
color: Colors.white, | ||
), | ||
bodyLarge: TextStyle( | ||
fontSize: 16, | ||
fontWeight: FontWeight.normal, | ||
color: Colors.white, | ||
), | ||
bodyMedium: TextStyle( | ||
fontSize: 14, | ||
fontWeight: FontWeight.normal, | ||
color: Colors.white, | ||
), | ||
bodySmall: TextStyle( | ||
fontSize: 12, | ||
fontWeight: FontWeight.normal, | ||
color: Colors.white, | ||
), | ||
labelLarge: TextStyle( | ||
fontSize: 16, | ||
fontWeight: FontWeight.bold, | ||
color: Colors.black, | ||
), | ||
labelMedium: TextStyle( | ||
fontSize: 14, | ||
fontWeight: FontWeight.bold, | ||
color: Colors.black, | ||
), | ||
labelSmall: TextStyle( | ||
fontSize: 20, | ||
fontWeight: FontWeight.bold, | ||
color: Colors.black, | ||
), | ||
), | ||
); |
File renamed without changes.
Oops, something went wrong.