Commit 2daa33ce authored by Administrator's avatar Administrator
Browse files

color scheme for list buttons

parent 3f3710ed
...@@ -113,7 +113,7 @@ class _DashboardState extends State<Dashboard> { ...@@ -113,7 +113,7 @@ class _DashboardState extends State<Dashboard> {
children: <Widget>[ children: <Widget>[
RaisedButton.icon( RaisedButton.icon(
icon: MyIcon.analyze, icon: MyIcon.analyze,
color: MyColor.detail, color: MyColor.athlete,
onPressed: () => goToListActivitiesScreen(athlete: athlete), onPressed: () => goToListActivitiesScreen(athlete: athlete),
label: Text("Analyze"), label: Text("Analyze"),
), ),
......
...@@ -61,8 +61,8 @@ class ShowActivityScreen extends StatelessWidget { ...@@ -61,8 +61,8 @@ class ShowActivityScreen extends StatelessWidget {
), ),
), ),
navigationButton( navigationButton(
title: 'Laps', title: 'Laps List',
color: MyColor.detail, color: MyColor.lap,
icon: MyIcon.laps, icon: MyIcon.laps,
context: context, context: context,
nextWidget: LapsListWidget(activity: activity), nextWidget: LapsListWidget(activity: activity),
......
...@@ -67,7 +67,7 @@ class _ShowAthleteScreenState extends State<ShowAthleteScreen> { ...@@ -67,7 +67,7 @@ class _ShowAthleteScreenState extends State<ShowAthleteScreen> {
mainAxisSpacing: 3, mainAxisSpacing: 3,
children: [ children: [
navigationButton( navigationButton(
color: MyColor.detail, color: MyColor.activity,
title: "Activities List", title: "Activities List",
icon: MyIcon.activities, icon: MyIcon.activities,
nextWidget: ActivitiesListWidget(athlete: widget.athlete), nextWidget: ActivitiesListWidget(athlete: widget.athlete),
......
...@@ -64,7 +64,7 @@ class ShowLapScreen extends StatelessWidget { ...@@ -64,7 +64,7 @@ class ShowLapScreen extends StatelessWidget {
nextWidget: ({lap}) => LapPowerWidget(lap: lap), nextWidget: ({lap}) => LapPowerWidget(lap: lap),
), ),
navigationButton( navigationButton(
title: "Power Duration", title: "Power\nDuration",
color: MyColor.navigate, color: MyColor.navigate,
icon: MyIcon.powerDuration, icon: MyIcon.powerDuration,
context: context, context: context,
...@@ -78,7 +78,7 @@ class ShowLapScreen extends StatelessWidget { ...@@ -78,7 +78,7 @@ class ShowLapScreen extends StatelessWidget {
nextWidget: ({lap}) => LapGroundTimeWidget(lap: lap), nextWidget: ({lap}) => LapGroundTimeWidget(lap: lap),
), ),
navigationButton( navigationButton(
title: "Leg Spring Stiffness", title: "Leg Spring\nStiffness",
color: MyColor.navigate, color: MyColor.navigate,
icon: MyIcon.legSpringStiffness, icon: MyIcon.legSpringStiffness,
context: context, context: context,
...@@ -99,7 +99,7 @@ class ShowLapScreen extends StatelessWidget { ...@@ -99,7 +99,7 @@ class ShowLapScreen extends StatelessWidget {
nextWidget: ({lap}) => LapStrydCadenceWidget(lap: lap), nextWidget: ({lap}) => LapStrydCadenceWidget(lap: lap),
), ),
navigationButton( navigationButton(
title: "Vertical Oscillation", title: "Vertical\nOscillation",
color: MyColor.navigate, color: MyColor.navigate,
icon: MyIcon.verticalOscillation, icon: MyIcon.verticalOscillation,
context: context, context: context,
......
...@@ -58,7 +58,7 @@ class MyColor { ...@@ -58,7 +58,7 @@ class MyColor {
static Color delete = danger; static Color delete = danger;
static Color navigate = white; static Color navigate = white;
static Color athlete = ecstasy; static Color athlete = brightGoldenYellow;
static Color activity = bitterSweetAccent; static Color activity = mintAccent;
static Color lap = grassAccent; static Color lap = grassAccent;
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment