mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-23 16:00:41 +00:00
aligned slider colors with guidelines
This commit is contained in:
parent
5e764d3876
commit
c8351b3cc0
2 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||||
|
|
|
@ -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,
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in a new issue