Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mobile][photos] Update memories banner font

Priyanshu Dangaree7a010ef9b1d
diff --git a/mobile/apps/photos/lib/ui/home/memories/craft_memories.dart b/mobile/apps/photos/lib/ui/home/memories/craft_memories.dart
index 3da8de662f..7a6b453d3f 100644
--- a/mobile/apps/photos/lib/ui/home/memories/craft_memories.dart
+++ b/mobile/apps/photos/lib/ui/home/memories/craft_memories.dart
@@ -75,24 +75,28 @@ class _CraftMemoriesState extends State<CraftMemories> {
mainAxisAlignment: MainAxisAlignment.end,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
- const Text(
+ Text(
"Crafting",
style: TextStyle(
fontFamily: "Outfit",
package: TextStyles.fontPackage,
color: Colors.white,
fontWeight: FontWeight.w700,
+ fontSize: widget.width * 0.115,
+ height: 1,
),
),
- const Text(
+ Text(
"memories",
style: TextStyle(
- fontFamily: "Outfit",
+ fontFamily: "Gochi Hand",
package: TextStyles.fontPackage,
color: Colors.white,
- fontWeight: FontWeight.w700,
+ fontSize: widget.width * 0.175,
+ height: 1,
),
),
+ const SizedBox(height: 6),
_buildButton(),
],
),
diff --git a/mobile/apps/photos/pubspec.yaml b/mobile/apps/photos/pubspec.yaml
index 25bf7fac9d..50e1e6c743 100644
--- a/mobile/apps/photos/pubspec.yaml
+++ b/mobile/apps/photos/pubspec.yaml
@@ -356,7 +356,6 @@ flutter:
- asset: fonts/Nunito-Regular.ttf
- asset: fonts/Nunito-Black.ttf
weight: 900
-
# The following line ensures that the Material Icons font is
# included with your application, so that you can use the icons in
# the material Icons class.
diff --git a/mobile/packages/ente_components/fonts/GochiHand-Regular.ttf b/mobile/packages/ente_components/fonts/GochiHand-Regular.ttf
new file mode 100644
index 0000000000..2be9c024dd
Binary files /dev/null and b/mobile/packages/ente_components/fonts/GochiHand-Regular.ttf differ
diff --git a/mobile/packages/ente_components/pubspec.yaml b/mobile/packages/ente_components/pubspec.yaml
index ea78dd37ce..c97a2b9cda 100644
--- a/mobile/packages/ente_components/pubspec.yaml
+++ b/mobile/packages/ente_components/pubspec.yaml
@@ -39,3 +39,6 @@ flutter:
weight: 600
- asset: fonts/Outfit-Bold.ttf
weight: 700
+ - family: Gochi Hand
+ fonts:
+ - asset: fonts/GochiHand-Regular.ttf