-
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.
Dark theme as default, redesign (no rounded corners), repo clean, updated todo, updated appname
- Loading branch information
Showing
30 changed files
with
215 additions
and
52 deletions.
There are no files selected for viewing
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-17 Bytes
android/.gradle/8.3/dependencies-accessors/dependencies-accessors.lock
Binary file not shown.
Empty file.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Empty file.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Empty file.
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
19 changes: 0 additions & 19 deletions
19
android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
import 'package:flutter/material.dart'; | ||
import 'package:google_fonts/google_fonts.dart'; | ||
|
||
class AppTheme { | ||
|
||
// For now we will only use dark theme but it seems simple enough to implement an alternative | ||
// theme overriding the material theme TODO: Add the light theme with a switch button to change somewhere in settings | ||
static ThemeData darkTheme = ThemeData( | ||
brightness: Brightness.dark, | ||
scaffoldBackgroundColor: Colors.black, | ||
primarySwatch: Colors.purple, | ||
primaryColor: Colors.purple, | ||
colorScheme: ColorScheme.dark( | ||
primary: Colors.purple, // Primary color for components | ||
secondary: Colors.purple, | ||
onPrimary: Colors.white, // Text color on primary | ||
onSecondary: Colors.white, // Text color on secondary | ||
surface: Colors.black, | ||
), | ||
iconTheme: const IconThemeData( // TODO: Find out how to import the icons from the design | ||
color: Colors.white, | ||
), | ||
textTheme: GoogleFonts.outfitTextTheme( // Outfit font from google fonts TODO: I think its free to use but gotta check the license | ||
ThemeData.dark().textTheme, | ||
), | ||
appBarTheme: const AppBarTheme( | ||
backgroundColor: Colors.black, | ||
titleTextStyle: TextStyle(color: Colors.white, fontSize: 20), | ||
iconTheme: IconThemeData(color: Colors.white), | ||
), | ||
bottomNavigationBarTheme: BottomNavigationBarThemeData( | ||
backgroundColor: Colors.black, | ||
selectedItemColor: Colors.purple, | ||
unselectedItemColor: Colors.white, | ||
selectedIconTheme: const IconThemeData(color: Colors.purple), | ||
unselectedIconTheme: const IconThemeData(color: Colors.white), | ||
elevation: 0, // Apparently removes shadow | ||
type: BottomNavigationBarType.fixed, | ||
), | ||
); | ||
} |
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
Oops, something went wrong.