chore: Follow up chat bubble design

pull/1455/head
krille-chan 9 months ago
parent 45299a741f
commit 6e92693966
No known key found for this signature in database

@ -320,7 +320,8 @@ class Message extends StatelessWidget {
? LinearGradient( ? LinearGradient(
colors: [ colors: [
theme.colorScheme.primary, theme.colorScheme.primary,
theme.colorScheme.secondary, theme.colorScheme
.onPrimaryFixedVariant,
], ],
begin: Alignment.centerLeft, begin: Alignment.centerLeft,
end: Alignment.bottomRight, end: Alignment.bottomRight,

@ -216,7 +216,7 @@ class SettingsStyleView extends StatelessWidget {
gradient: LinearGradient( gradient: LinearGradient(
colors: [ colors: [
theme.colorScheme.primary, theme.colorScheme.primary,
theme.colorScheme.secondary, theme.colorScheme.onPrimaryFixedVariant,
], ],
begin: Alignment.centerLeft, begin: Alignment.centerLeft,
end: Alignment.bottomRight, end: Alignment.bottomRight,
@ -253,8 +253,10 @@ class SettingsStyleView extends StatelessWidget {
bottom: 12, bottom: 12,
), ),
child: Material( child: Material(
color: theme color: accountConfig.wallpaperUrl == null
.colorScheme.surfaceContainerHighest, ? theme
.colorScheme.surfaceContainerHighest
: theme.colorScheme.surfaceBright,
borderRadius: BorderRadius.circular( borderRadius: BorderRadius.circular(
AppConfig.borderRadius, AppConfig.borderRadius,
), ),
@ -281,7 +283,12 @@ class SettingsStyleView extends StatelessWidget {
), ),
), ),
ListTile( ListTile(
title: OutlinedButton( title: TextButton(
style: TextButton.styleFrom(
backgroundColor: theme.colorScheme.secondaryContainer,
foregroundColor:
theme.colorScheme.onSecondaryContainer,
),
onPressed: controller.setWallpaper, onPressed: controller.setWallpaper,
child: Text(L10n.of(context).setWallpaper), child: Text(L10n.of(context).setWallpaper),
), ),

Loading…
Cancel
Save