chore: Streamline background gradients
This commit is contained in:
parent
780986340f
commit
303181b566
3 changed files with 20 additions and 19 deletions
|
|
@ -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: [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue