diff --git a/lib/widgets/pizza_event_widget.dart b/lib/widgets/pizza_event_widget.dart index 09827b7..5710965 100644 --- a/lib/widgets/pizza_event_widget.dart +++ b/lib/widgets/pizza_event_widget.dart @@ -10,8 +10,11 @@ class PizzaEventWidget extends StatelessWidget { @override Widget build(BuildContext context){ return Container( + decoration: BoxDecoration( + color: Theme.of(context).primaryColor.withAlpha(30), + borderRadius: const BorderRadius.all(Radius.circular(10)), + ), height: 120, - color: Colors.blueAccent, child: Container( padding: const EdgeInsets.all(8), child: Column( @@ -37,8 +40,8 @@ class PizzaEventWidget extends StatelessWidget { divisions: pizzaEvent.recipe.recipeSteps.length, value: pizzaEvent.recipe.getStepsCompleted().toDouble(), onChanged: (d) {}, - activeColor: Colors.green, - inactiveColor: Colors.white, + activeColor: Theme.of(context).highlightColor, + inactiveColor: Theme.of(context).highlightColor.withOpacity(0.5), ) ) ), diff --git a/todo.md b/todo.md index 34884c7..68ecdb6 100644 --- a/todo.md +++ b/todo.md @@ -10,5 +10,4 @@ ## Refactor - create a theme for the app - prettify view event page -- prettify pizza event widget ## Bug \ No newline at end of file