Clean up styles
This commit is contained in:
parent
f3eef47eda
commit
97d2b709c1
|
|
@ -62,7 +62,6 @@ class _InvoiceNinjaAppState extends State<InvoiceNinjaApp> {
|
||||||
GlobalMaterialLocalizations.delegate,
|
GlobalMaterialLocalizations.delegate,
|
||||||
],
|
],
|
||||||
// light theme
|
// light theme
|
||||||
|
|
||||||
theme: ThemeData().copyWith(
|
theme: ThemeData().copyWith(
|
||||||
accentColor: Colors.lightBlueAccent,
|
accentColor: Colors.lightBlueAccent,
|
||||||
primaryColor: const Color(0xFF117cc1),
|
primaryColor: const Color(0xFF117cc1),
|
||||||
|
|
@ -71,36 +70,17 @@ class _InvoiceNinjaAppState extends State<InvoiceNinjaApp> {
|
||||||
indicatorColor: const Color(0xFFFFFFFF),
|
indicatorColor: const Color(0xFFFFFFFF),
|
||||||
iconTheme: IconThemeData().copyWith(),
|
iconTheme: IconThemeData().copyWith(),
|
||||||
bottomAppBarColor: const Color(0xFF117cc1),
|
bottomAppBarColor: const Color(0xFF117cc1),
|
||||||
|
backgroundColor: Colors.grey[200],
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
||||||
//dark theme
|
//dark theme
|
||||||
/*
|
/*
|
||||||
theme: ThemeData.dark().copyWith(
|
|
||||||
accentColor: Colors.lightBlueAccent,
|
|
||||||
primaryColor: const Color(0xFF117cc1),
|
|
||||||
primaryColorLight: const Color(0xFF5dabf4),
|
|
||||||
primaryColorDark: const Color(0xFF0D5D91),
|
|
||||||
indicatorColor: const Color(0xFFFFFFFF),
|
|
||||||
iconTheme: IconThemeData().copyWith(color: Colors.white),
|
|
||||||
bottomAppBarColor: const Color(0xFF117cc1),
|
|
||||||
),
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
theme: ThemeData().copyWith(
|
|
||||||
primaryColor: const Color(0xFF117cc1),
|
|
||||||
primaryColorLight: const Color(0xFF5dabf4),
|
|
||||||
primaryColorDark: const Color(0xFF0D5D91),
|
|
||||||
indicatorColor: const Color(0xFFFFFFFF),
|
|
||||||
),
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
theme: ThemeData(
|
theme: ThemeData(
|
||||||
brightness: Brightness.dark,
|
brightness: Brightness.dark,
|
||||||
accentColor: Colors.lightBlueAccent,
|
accentColor: Colors.lightBlueAccent,
|
||||||
),
|
),
|
||||||
*/
|
*/
|
||||||
|
|
||||||
title: 'Invoice Ninja',
|
title: 'Invoice Ninja',
|
||||||
routes: {
|
routes: {
|
||||||
LoginVM.route: (context) {
|
LoginVM.route: (context) {
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,7 @@ class _AppBottomBarState extends State<AppBottomBar> {
|
||||||
converter: (Store<AppState> store) => store.state.getListState(widget.entityType).stateFilters,
|
converter: (Store<AppState> store) => store.state.getListState(widget.entityType).stateFilters,
|
||||||
builder: (BuildContext context, stateFilters) {
|
builder: (BuildContext context, stateFilters) {
|
||||||
return Container(
|
return Container(
|
||||||
color: Theme.of(context).backgroundColor, //Colors.grey[200],
|
color: Theme.of(context).backgroundColor,
|
||||||
child: new Column(mainAxisSize: MainAxisSize.min, children: <Widget>[
|
child: new Column(mainAxisSize: MainAxisSize.min, children: <Widget>[
|
||||||
Column(
|
Column(
|
||||||
children: EntityState.values.map<Widget>((state) {
|
children: EntityState.values.map<Widget>((state) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue