Skip to content

High performance self-hosted photo and video management solution.

chore: album's header styling (#18930)

Alexf64a3003af32
diff --git a/mobile/lib/pages/album/album_viewer.dart b/mobile/lib/pages/album/album_viewer.dart
index f22fc30716..86b23fba30 100644
--- a/mobile/lib/pages/album/album_viewer.dart
+++ b/mobile/lib/pages/album/album_viewer.dart
@@ -114,9 +114,9 @@ class AlbumViewer extends HookConsumerWidget {
begin: Alignment.topCenter,
end: Alignment.bottomCenter,
colors: [
+ context.primaryColor.withValues(alpha: 0.06),
context.primaryColor.withValues(alpha: 0.04),
- context.primaryColor.withValues(alpha: 0.02),
- Colors.orange.withValues(alpha: 0.02),
+ Colors.indigo.withValues(alpha: 0.02),
Colors.transparent,
],
stops: const [0.0, 0.3, 0.7, 1.0],
diff --git a/mobile/lib/widgets/album/album_action_filled_button.dart b/mobile/lib/widgets/album/album_action_filled_button.dart
index f5064f499c..48a8a27f59 100644
--- a/mobile/lib/widgets/album/album_action_filled_button.dart
+++ b/mobile/lib/widgets/album/album_action_filled_button.dart
@@ -17,11 +17,15 @@ class AlbumActionFilledButton extends StatelessWidget {
Widget build(BuildContext context) {
return Padding(
padding: const EdgeInsets.only(right: 8.0),
- child: FilledButton.icon(
- style: FilledButton.styleFrom(
+ child: OutlinedButton.icon(
+ style: OutlinedButton.styleFrom(
padding: const EdgeInsets.symmetric(vertical: 0, horizontal: 16),
- shape: RoundedRectangleBorder(
- borderRadius: BorderRadius.circular(25),
+ shape: const RoundedRectangleBorder(
+ borderRadius: BorderRadius.all(Radius.circular(20)),
+ ),
+ side: BorderSide(
+ color: context.colorScheme.surfaceContainerHighest,
+ width: 1,
),
backgroundColor: context.colorScheme.surfaceContainerHigh,
),
diff --git a/mobile/lib/widgets/album/album_viewer_appbar.dart b/mobile/lib/widgets/album/album_viewer_appbar.dart
index 9d48045459..14715e40a9 100644
--- a/mobile/lib/widgets/album/album_viewer_appbar.dart
+++ b/mobile/lib/widgets/album/album_viewer_appbar.dart
@@ -326,6 +326,7 @@ class AlbumViewerAppbar extends HookConsumerWidget
return AppBar(
elevation: 0,
+ backgroundColor: context.scaffoldBackgroundColor,
leading: buildLeadingButton(),
centerTitle: false,
actions: [
diff --git a/mobile/lib/widgets/album/album_viewer_editable_description.dart b/mobile/lib/widgets/album/album_viewer_editable_description.dart
index 06bfbc0186..b82e7f3d83 100644
--- a/mobile/lib/widgets/album/album_viewer_editable_description.dart
+++ b/mobile/lib/widgets/album/album_viewer_editable_description.dart
@@ -55,7 +55,7 @@ class AlbumViewerEditableDescription extends HookConsumerWidget {
}
},
focusNode: descriptionFocusNode,
- style: context.textTheme.bodyMedium,
+ style: context.textTheme.bodyLarge,
maxLines: 3,
minLines: 1,
controller: descriptionTextEditController,