WIP Themes: Entity page heade color

This commit is contained in:
Yegor Vialov 2020-04-04 16:19:25 +00:00
parent d94235ef6d
commit 37c721e4f6
2 changed files with 1 additions and 2 deletions

View File

@ -16,7 +16,7 @@ class EntityPageLayout extends StatelessWidget {
children: <Widget>[ children: <Widget>[
showClose ? showClose ?
Container( Container(
color: Colors.blue[300], color: Theme.of(context).primaryColorLight,
height: 40, height: 40,
child: Row( child: Row(
children: <Widget>[ children: <Widget>[

View File

@ -30,7 +30,6 @@ class HAClientTheme {
HAClientTheme._internal(); HAClientTheme._internal();
final ThemeData lightTheme = ThemeData.light().copyWith( final ThemeData lightTheme = ThemeData.light().copyWith(
//primaryColor: Colors.blue,
textTheme: ThemeData.light().textTheme.copyWith( textTheme: ThemeData.light().textTheme.copyWith(
display1: textTheme.display1.copyWith(color: Colors.black54), display1: textTheme.display1.copyWith(color: Colors.black54),
display2: textTheme.display2.copyWith(color: Colors.redAccent), display2: textTheme.display2.copyWith(color: Colors.redAccent),