Light theme
This commit is contained in:
parent
4e763bca52
commit
88f55bd769
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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
|
||||
? []
|
||||
|
|
|
|||
Loading…
Reference in New Issue