Menu screen enhancements

* Increase background blur
* Reduce overlay transparency
* Override local button padding to reduce size
This commit is contained in:
Jared Bell 2023-01-04 21:32:50 -07:00
parent 123f4749f9
commit 1eae15a1a8
3 changed files with 3 additions and 3 deletions

View File

@ -18,7 +18,7 @@ class AppBackdrop extends StatelessWidget {
final double normalStrength = clampDouble(strength, 0, 1);
if (settingsLogic.useBlurs) {
return BackdropFilter(
filter: ImageFilter.blur(sigmaX: normalStrength * 5.0, sigmaY: normalStrength * 5.0),
filter: ImageFilter.blur(sigmaX: normalStrength * 15.0, sigmaY: normalStrength * 15.0),
child: child ?? SizedBox.expand(),
);
}

View File

@ -11,6 +11,6 @@ class LocaleSwitcher extends StatelessWidget with GetItMixin {
await settingsLogic.changeLocale(newLocale);
}
return AppBtn.from(text: $strings.localeSwapButton, onPressed: handleSwapLocale);
return AppBtn.from(text: $strings.localeSwapButton, onPressed: handleSwapLocale, padding: EdgeInsets.all($styles.insets.sm));
}
}

View File

@ -54,7 +54,7 @@ class _HomeMenuState extends State<HomeMenu> {
/// Backdrop / Underlay
AppBackdrop(
strength: .5,
child: Container(color: $styles.colors.greyStrong.withOpacity(.7)),
child: Container(color: $styles.colors.greyStrong.withOpacity(.5)),
),
PopNavigatorUnderlay(),