chore: Follow up chat bubble design
This commit is contained in:
parent
45299a741f
commit
6e92693966
2 changed files with 13 additions and 5 deletions
|
|
@ -320,7 +320,8 @@ class Message extends StatelessWidget {
|
|||
? LinearGradient(
|
||||
colors: [
|
||||
theme.colorScheme.primary,
|
||||
theme.colorScheme.secondary,
|
||||
theme.colorScheme
|
||||
.onPrimaryFixedVariant,
|
||||
],
|
||||
begin: Alignment.centerLeft,
|
||||
end: Alignment.bottomRight,
|
||||
|
|
|
|||
|
|
@ -216,7 +216,7 @@ class SettingsStyleView extends StatelessWidget {
|
|||
gradient: LinearGradient(
|
||||
colors: [
|
||||
theme.colorScheme.primary,
|
||||
theme.colorScheme.secondary,
|
||||
theme.colorScheme.onPrimaryFixedVariant,
|
||||
],
|
||||
begin: Alignment.centerLeft,
|
||||
end: Alignment.bottomRight,
|
||||
|
|
@ -253,8 +253,10 @@ class SettingsStyleView extends StatelessWidget {
|
|||
bottom: 12,
|
||||
),
|
||||
child: Material(
|
||||
color: theme
|
||||
.colorScheme.surfaceContainerHighest,
|
||||
color: accountConfig.wallpaperUrl == null
|
||||
? theme
|
||||
.colorScheme.surfaceContainerHighest
|
||||
: theme.colorScheme.surfaceBright,
|
||||
borderRadius: BorderRadius.circular(
|
||||
AppConfig.borderRadius,
|
||||
),
|
||||
|
|
@ -281,7 +283,12 @@ class SettingsStyleView extends StatelessWidget {
|
|||
),
|
||||
),
|
||||
ListTile(
|
||||
title: OutlinedButton(
|
||||
title: TextButton(
|
||||
style: TextButton.styleFrom(
|
||||
backgroundColor: theme.colorScheme.secondaryContainer,
|
||||
foregroundColor:
|
||||
theme.colorScheme.onSecondaryContainer,
|
||||
),
|
||||
onPressed: controller.setWallpaper,
|
||||
child: Text(L10n.of(context).setWallpaper),
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue