mirror of
https://github.com/immich-app/immich.git
synced 2025-07-09 03:04:16 -04:00
chore: album's header styling (#18930)
This commit is contained in:
parent
a26d703335
commit
f64a3003af
@ -114,9 +114,9 @@ class AlbumViewer extends HookConsumerWidget {
|
|||||||
begin: Alignment.topCenter,
|
begin: Alignment.topCenter,
|
||||||
end: Alignment.bottomCenter,
|
end: Alignment.bottomCenter,
|
||||||
colors: [
|
colors: [
|
||||||
|
context.primaryColor.withValues(alpha: 0.06),
|
||||||
context.primaryColor.withValues(alpha: 0.04),
|
context.primaryColor.withValues(alpha: 0.04),
|
||||||
context.primaryColor.withValues(alpha: 0.02),
|
Colors.indigo.withValues(alpha: 0.02),
|
||||||
Colors.orange.withValues(alpha: 0.02),
|
|
||||||
Colors.transparent,
|
Colors.transparent,
|
||||||
],
|
],
|
||||||
stops: const [0.0, 0.3, 0.7, 1.0],
|
stops: const [0.0, 0.3, 0.7, 1.0],
|
||||||
|
@ -17,11 +17,15 @@ class AlbumActionFilledButton extends StatelessWidget {
|
|||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Padding(
|
return Padding(
|
||||||
padding: const EdgeInsets.only(right: 8.0),
|
padding: const EdgeInsets.only(right: 8.0),
|
||||||
child: FilledButton.icon(
|
child: OutlinedButton.icon(
|
||||||
style: FilledButton.styleFrom(
|
style: OutlinedButton.styleFrom(
|
||||||
padding: const EdgeInsets.symmetric(vertical: 0, horizontal: 16),
|
padding: const EdgeInsets.symmetric(vertical: 0, horizontal: 16),
|
||||||
shape: RoundedRectangleBorder(
|
shape: const RoundedRectangleBorder(
|
||||||
borderRadius: BorderRadius.circular(25),
|
borderRadius: BorderRadius.all(Radius.circular(20)),
|
||||||
|
),
|
||||||
|
side: BorderSide(
|
||||||
|
color: context.colorScheme.surfaceContainerHighest,
|
||||||
|
width: 1,
|
||||||
),
|
),
|
||||||
backgroundColor: context.colorScheme.surfaceContainerHigh,
|
backgroundColor: context.colorScheme.surfaceContainerHigh,
|
||||||
),
|
),
|
||||||
|
@ -326,6 +326,7 @@ class AlbumViewerAppbar extends HookConsumerWidget
|
|||||||
|
|
||||||
return AppBar(
|
return AppBar(
|
||||||
elevation: 0,
|
elevation: 0,
|
||||||
|
backgroundColor: context.scaffoldBackgroundColor,
|
||||||
leading: buildLeadingButton(),
|
leading: buildLeadingButton(),
|
||||||
centerTitle: false,
|
centerTitle: false,
|
||||||
actions: [
|
actions: [
|
||||||
|
@ -55,7 +55,7 @@ class AlbumViewerEditableDescription extends HookConsumerWidget {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
focusNode: descriptionFocusNode,
|
focusNode: descriptionFocusNode,
|
||||||
style: context.textTheme.bodyMedium,
|
style: context.textTheme.bodyLarge,
|
||||||
maxLines: 3,
|
maxLines: 3,
|
||||||
minLines: 1,
|
minLines: 1,
|
||||||
controller: descriptionTextEditController,
|
controller: descriptionTextEditController,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user