wallpapers and ui cleanup

This commit is contained in:
Christien Rioux 2025-03-17 20:30:20 -04:00
parent 77c68aa45f
commit 6bd60207d8
32 changed files with 17947 additions and 150 deletions

View file

@ -9,8 +9,9 @@ class StyledScaffold extends StatelessWidget {
@override
Widget build(BuildContext context) {
final theme = Theme.of(context);
final scale = theme.extension<ScaleScheme>()!;
final scaleScheme = theme.extension<ScaleScheme>()!;
final scaleConfig = theme.extension<ScaleConfig>()!;
final scale = scaleScheme.scale(ScaleKind.primary);
final enableBorder = !isMobileSize(context);
@ -18,13 +19,11 @@ class StyledScaffold extends StatelessWidget {
clipEnabled: enableBorder,
borderEnabled: scaleConfig.useVisualIndicators,
borderRadius: 16 * scaleConfig.borderRadiusScale,
borderColor: scale.primaryScale.border,
borderColor: scale.border,
child: Scaffold(appBar: appBar, body: body, key: key));
if (!scaleConfig.useVisualIndicators) {
scaffold = scaffold.withShadow(
offset: const Offset(0, 16),
shadowColor: scale.primaryScale.primary.withAlpha(0x3F).darken(60));
scaffold = scaffold.withThemedShadow(scaleConfig, scale);
}
return GestureDetector(