Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Fix: update color scheme

AmanRajSinghMourya6f0828858d1b
diff --git a/mobile/lib/ui/collections/album/new_list_item.dart b/mobile/lib/ui/collections/album/new_list_item.dart
index 79f61979a1..4277074552 100644
--- a/mobile/lib/ui/collections/album/new_list_item.dart
+++ b/mobile/lib/ui/collections/album/new_list_item.dart
@@ -28,8 +28,8 @@ class NewAlbumListItemWidget extends StatelessWidget {
height: sideOfThumbnail,
width: sideOfThumbnail,
color: Theme.of(context).brightness == Brightness.light
- ? const Color.fromRGBO(245, 245, 245, 100)
- : const Color.fromRGBO(39, 39, 39, 100),
+ ? colorScheme.backdropBase
+ : colorScheme.backdropFaint,
child: Icon(
Icons.add_outlined,
color: colorScheme.strokeMuted,
diff --git a/mobile/lib/ui/collections/album/new_row_item.dart b/mobile/lib/ui/collections/album/new_row_item.dart
index e0e358ea97..83725cad12 100644
--- a/mobile/lib/ui/collections/album/new_row_item.dart
+++ b/mobile/lib/ui/collections/album/new_row_item.dart
@@ -69,8 +69,8 @@ class NewAlbumRowItemWidget extends StatelessWidget {
height: height,
width: width,
color: Theme.of(context).brightness == Brightness.light
- ? const Color.fromRGBO(245, 245, 245, 100)
- : const Color.fromRGBO(39, 39, 39, 100),
+ ? colorScheme.backdropBase
+ : colorScheme.backdropFaint,
child: DottedBorder(
borderType: BorderType.RRect,
strokeWidth: 1.75,
diff --git a/mobile/lib/ui/viewer/search_tab/albums_section.dart b/mobile/lib/ui/viewer/search_tab/albums_section.dart
index 2335656253..9b1f801a53 100644
--- a/mobile/lib/ui/viewer/search_tab/albums_section.dart
+++ b/mobile/lib/ui/viewer/search_tab/albums_section.dart
@@ -236,10 +236,10 @@ class AlbumCTA extends StatelessWidget {
radius: const Radius.circular(8),
padding: EdgeInsets.zero,
color: enteColorScheme.strokeFaint,
- child: Container(
+ child: Container(
color: Theme.of(context).brightness == Brightness.light
- ? const Color.fromRGBO(245, 245, 245, 100)
- : const Color.fromRGBO(39, 39, 39, 100),
+ ? enteColorScheme.backdropBase
+ : enteColorScheme.backdropFaint,
height: 100,
width: 100,
child: Icon(