chore: Streamline background gradients

This commit is contained in:
Krille 2023-06-29 16:56:15 +09:00
commit 303181b566
3 changed files with 20 additions and 19 deletions

View file

@ -48,18 +48,9 @@ class LoginScaffold extends StatelessWidget {
: null,
);
if (isMobileMode) return scaffold;
final colorScheme = Theme.of(context).colorScheme;
return Container(
decoration: BoxDecoration(
gradient: LinearGradient(
begin: Alignment.topCenter,
colors: [
colorScheme.primaryContainer.withAlpha(64),
colorScheme.secondaryContainer.withAlpha(64),
colorScheme.tertiaryContainer.withAlpha(64),
colorScheme.primaryContainer.withAlpha(64),
],
),
gradient: FluffyThemes.backgroundGradient(context, 156),
),
child: Column(
children: [