Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][auth] Remove unused Montserrat font (#12671)

aman-pilot3dd18ec0d259
diff --git a/mobile/apps/auth/assets/fonts/Montserrat-Bold.ttf b/mobile/apps/auth/assets/fonts/Montserrat-Bold.ttf
deleted file mode 100644
index 55e0b1a553..0000000000
Binary files a/mobile/apps/auth/assets/fonts/Montserrat-Bold.ttf and /dev/null differ
diff --git a/mobile/apps/auth/fonts/Montserrat-Bold.ttf b/mobile/apps/auth/fonts/Montserrat-Bold.ttf
deleted file mode 100644
index 55e0b1a553..0000000000
Binary files a/mobile/apps/auth/fonts/Montserrat-Bold.ttf and /dev/null differ
diff --git a/mobile/apps/auth/lib/theme/text_style.dart b/mobile/apps/auth/lib/theme/text_style.dart
index 4e3d6207fd..814c70cf71 100644
--- a/mobile/apps/auth/lib/theme/text_style.dart
+++ b/mobile/apps/auth/lib/theme/text_style.dart
@@ -5,18 +5,6 @@ const FontWeight _regularWeight = FontWeight.w500;
const FontWeight _boldWeight = FontWeight.w600;
const String _fontFamily = 'Inter';
-const TextStyle brandStyleSmall = TextStyle(
- fontWeight: FontWeight.bold,
- fontFamily: 'Montserrat',
- fontSize: 21,
-);
-
-const TextStyle brandStyleMedium = TextStyle(
- fontWeight: FontWeight.bold,
- fontFamily: 'Montserrat',
- fontSize: 24,
-);
-
const TextStyle h1 = TextStyle(
fontSize: 48,
height: 48 / 28,
@@ -83,9 +71,6 @@ class EnteTextTheme {
final TextStyle miniBold;
final TextStyle tiny;
final TextStyle tinyBold;
- final TextStyle brandSmall;
- final TextStyle brandMedium;
-
final TextStyle h1Muted;
final TextStyle h2Muted;
final TextStyle h3Muted;
@@ -122,8 +107,6 @@ class EnteTextTheme {
required this.miniBold,
required this.tiny,
required this.tinyBold,
- required this.brandSmall,
- required this.brandMedium,
required this.h1Muted,
required this.h2Muted,
required this.h3Muted,
@@ -178,8 +161,6 @@ EnteTextTheme _buildEnteTextStyle(
miniBold: mini.copyWith(color: color, fontWeight: _boldWeight),
tiny: tiny.copyWith(color: color),
tinyBold: tiny.copyWith(color: color, fontWeight: _boldWeight),
- brandSmall: brandStyleSmall.copyWith(color: color),
- brandMedium: brandStyleMedium.copyWith(color: color),
h1Muted: h1.copyWith(color: textMuted),
h2Muted: h2.copyWith(color: textMuted),
h3Muted: h3.copyWith(color: textMuted),
diff --git a/mobile/apps/auth/pubspec.yaml b/mobile/apps/auth/pubspec.yaml
index e607b536f9..688974261e 100644
--- a/mobile/apps/auth/pubspec.yaml
+++ b/mobile/apps/auth/pubspec.yaml
@@ -177,10 +177,6 @@ flutter:
- asset: fonts/Inter-Light.ttf
- asset: fonts/Inter-SemiBold.ttf
- asset: fonts/Inter-Bold.ttf
- - family: Montserrat
- fonts:
- - asset: fonts/Montserrat-Bold.ttf
-
flutter_launcher_icons:
image_path: "assets/generation-icons/icon-light.png"