Photo Gallery's opacity eases off in high contrast mode.

This commit is contained in:
Alex Garneau
2025-04-04 13:23:26 -06:00
parent bf909fe669
commit a2bccce1d6

View File

@ -292,7 +292,7 @@ class _PhotoGalleryState extends State<PhotoGallery> {
Positioned.fill(
child: AnimatedOpacity(
duration: $styles.times.med,
opacity: isSelected ? 0 : .7,
opacity: isSelected ? 0 : ($styles.highContrast ? 0.4 : 0.7),
child: ColoredBox(color: $styles.colors.black),
),
),