aligned slider colors with guidelines

This commit is contained in:
Vadim 2024-05-07 20:28:00 +02:00
parent 5e764d3876
commit c8351b3cc0
2 changed files with 2 additions and 2 deletions

View file

@ -107,7 +107,7 @@ class _Ruler extends StatelessWidget {
), ),
const SizedBox(width: Dimens.grid4), const SizedBox(width: Dimens.grid4),
ColoredBox( ColoredBox(
color: Theme.of(context).colorScheme.onBackground, color: Theme.of(context).colorScheme.primaryContainer,
child: SizedBox( child: SizedBox(
height: 1, height: 1,
width: isMainTick ? Dimens.grid8 : Dimens.grid4, width: isMainTick ? Dimens.grid8 : Dimens.grid4,

View file

@ -16,7 +16,7 @@ class TimerTimeline extends StatelessWidget {
Widget build(BuildContext context) { Widget build(BuildContext context) {
return CustomPaint( return CustomPaint(
painter: _TimelinePainter( painter: _TimelinePainter(
backgroundColor: Theme.of(context).colorScheme.surface, backgroundColor: Theme.of(context).colorScheme.primaryContainer,
progressColor: Theme.of(context).colorScheme.primary, progressColor: Theme.of(context).colorScheme.primary,
progress: progress, progress: progress,
), ),