Skip to content

Commit

Permalink
fix(ui): replace purple with blue on components
Browse files Browse the repository at this point in the history
  • Loading branch information
zikani03 committed Nov 27, 2023
1 parent 149baaf commit 13039a3
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
3 changes: 1 addition & 2 deletions app/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ Future<void> main() async {
theme: ThemeData(
useMaterial3: true,
fontFamily: GoogleFonts.lato().fontFamily,
// colorSchemeSeed: Colors.deepPurple,
appBarTheme: AppBarTheme(
backgroundColor: Colors.deepPurple[800],
backgroundColor: const Color.fromARGB(255, 15, 91, 254),
),
),
),
Expand Down
2 changes: 1 addition & 1 deletion app/lib/presentation/screens/favourites.dart
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ class Favourite extends StatelessWidget {
width: size.width,
child: Center(
child: CircularProgressIndicator(
color: Colors.deepPurple[800],
color: const Color.fromARGB(255, 15, 91, 254),
),
),
);
Expand Down
4 changes: 2 additions & 2 deletions app/lib/presentation/screens/home.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class Home extends StatelessWidget {
centerTitle: true,
leading: Icon(
Icons.ac_unit,
color: Colors.deepPurple[800],
color: const Color.fromARGB(255, 15, 91, 254),
),
bottom: PreferredSize(
preferredSize: const Size.fromHeight(50.0),
Expand Down Expand Up @@ -239,7 +239,7 @@ class Home extends StatelessWidget {
width: size.width,
child: Center(
child: CircularProgressIndicator(
color: Colors.deepPurple[800],
color: const Color.fromARGB(255, 15, 91, 254),
),
),
);
Expand Down
2 changes: 1 addition & 1 deletion app/lib/presentation/widgets/card.dart
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class AccountCard extends StatelessWidget {
child: Icon(Icons.favorite,
color: isFavourite
? Colors.red[400]
: Colors.deepPurple),
: Colors.grey),
),
const InkWell(
//Todo: Add a dropdown menu
Expand Down
2 changes: 1 addition & 1 deletion app/lib/presentation/widgets/nav_bar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class BottomNavBar extends StatelessWidget {
@override
Widget build(BuildContext context) {
return BottomAppBar(
color: Color.fromARGB(255, 15, 91, 254),
color: const Color.fromARGB(255, 15, 91, 254),
shape: const CircularNotchedRectangle(),
padding:
EdgeInsets.only(bottom: MediaQuery.of(context).viewInsets.bottom),
Expand Down

0 comments on commit 13039a3

Please sign in to comment.