Commit 2daa33ce authored by Administrator's avatar Administrator

color scheme for list buttons

parent 3f3710ed
......@@ -113,7 +113,7 @@ class _DashboardState extends State<Dashboard> {
children: <Widget>[
RaisedButton.icon(
icon: MyIcon.analyze,
color: MyColor.detail,
color: MyColor.athlete,
onPressed: () => goToListActivitiesScreen(athlete: athlete),
label: Text("Analyze"),
),
......
......@@ -61,8 +61,8 @@ class ShowActivityScreen extends StatelessWidget {
),
),
navigationButton(
title: 'Laps',
color: MyColor.detail,
title: 'Laps List',
color: MyColor.lap,
icon: MyIcon.laps,
context: context,
nextWidget: LapsListWidget(activity: activity),
......
......@@ -67,7 +67,7 @@ class _ShowAthleteScreenState extends State<ShowAthleteScreen> {
mainAxisSpacing: 3,
children: [
navigationButton(
color: MyColor.detail,
color: MyColor.activity,
title: "Activities List",
icon: MyIcon.activities,
nextWidget: ActivitiesListWidget(athlete: widget.athlete),
......
......@@ -64,7 +64,7 @@ class ShowLapScreen extends StatelessWidget {
nextWidget: ({lap}) => LapPowerWidget(lap: lap),
),
navigationButton(
title: "Power Duration",
title: "Power\nDuration",
color: MyColor.navigate,
icon: MyIcon.powerDuration,
context: context,
......@@ -78,7 +78,7 @@ class ShowLapScreen extends StatelessWidget {
nextWidget: ({lap}) => LapGroundTimeWidget(lap: lap),
),
navigationButton(
title: "Leg Spring Stiffness",
title: "Leg Spring\nStiffness",
color: MyColor.navigate,
icon: MyIcon.legSpringStiffness,
context: context,
......@@ -99,7 +99,7 @@ class ShowLapScreen extends StatelessWidget {
nextWidget: ({lap}) => LapStrydCadenceWidget(lap: lap),
),
navigationButton(
title: "Vertical Oscillation",
title: "Vertical\nOscillation",
color: MyColor.navigate,
icon: MyIcon.verticalOscillation,
context: context,
......
......@@ -58,7 +58,7 @@ class MyColor {
static Color delete = danger;
static Color navigate = white;
static Color athlete = ecstasy;
static Color activity = bitterSweetAccent;
static Color athlete = brightGoldenYellow;
static Color activity = mintAccent;
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