Light theme

This commit is contained in:
Hillel Coren 2020-05-27 09:54:10 +03:00
parent 4e763bca52
commit 88f55bd769
4 changed files with 10 additions and 6 deletions

View File

@ -178,15 +178,15 @@ class InvoiceNinjaAppState extends State<InvoiceNinjaApp> {
indicatorColor: Colors.white,
backgroundColor: const Color(0xFFE7EBEE),
canvasColor: const Color(0xFFE7EBEE),
scaffoldBackgroundColor: const Color(0xFFE7EBEE),
cardColor: Colors.white,
bottomAppBarColor: Colors.white,
tabBarTheme: TabBarTheme(
labelColor: Colors.black,
unselectedLabelColor: Colors.black.withOpacity(.65),
),
buttonTheme: ButtonThemeData(
textTheme: ButtonTextTheme.accent
),
buttonTheme:
ButtonThemeData(textTheme: ButtonTextTheme.accent),
appBarTheme: AppBarTheme(
color: Colors.white,
iconTheme: IconThemeData(

View File

@ -75,8 +75,11 @@ EntityStats quoteStatsForClient(
String clientId, BuiltMap<String, InvoiceEntity> quoteMap) {
int countActive = 0;
int countArchived = 0;
print('## CLIENT ID: $clientId');
quoteMap.forEach((quoteId, quote) {
print('## QUOTE ID: $quoteId, ${quote.number} ${quote.amount}');
if (quote.clientId == clientId) {
print('## MATCH');
if (quote.isActive) {
countActive++;
} else if (quote.isArchived) {

View File

@ -22,8 +22,9 @@ class AppBorder extends StatelessWidget {
final state = store.state;
final enableDarkMode = state.prefState.enableDarkMode;
const borderWidth = 1.5;
final color = convertHexStringToColor(
enableDarkMode ? kDefaultDarkBorderColor : kDefaultLightBorderColor);
final color = enableDarkMode
? convertHexStringToColor(kDefaultDarkBorderColor)
: Colors.white;
return Container(
decoration: BoxDecoration(

View File

@ -68,7 +68,7 @@ class ViewScaffold extends StatelessWidget {
appBar: AppBar(
leading: leading,
automaticallyImplyLeading: isMobile(context) || isSettings,
title: FittedBox(child: Text(title)),
title: Text(title, maxLines: 2,),
bottom: appBarBottom,
actions: entity.isNew
? []