Skip to content

armgit / ente

Public Imported from GitHub
0

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

Remove unused Ente UI brand styles

AmanRajSinghMourya300ec285c119
diff --git a/mobile/packages/ui/lib/theme/text_style.dart b/mobile/packages/ui/lib/theme/text_style.dart
index 5a8ae31af6..a408794197 100644
--- a/mobile/packages/ui/lib/theme/text_style.dart
+++ b/mobile/packages/ui/lib/theme/text_style.dart
@@ -6,18 +6,6 @@ const FontWeight _regularWeight = FontWeight.w500;
const FontWeight _boldWeight = FontWeight.w600;
const String _fontFamily = 'Inter';
-final TextStyle brandStyleSmall = TextStyle(
- fontWeight: FontWeight.bold,
- fontFamily: 'Montserrat',
- fontSize: PlatformTextConfig.adjustFontSize(21),
-);
-
-final TextStyle brandStyleMedium = TextStyle(
- fontWeight: FontWeight.bold,
- fontFamily: 'Montserrat',
- fontSize: PlatformTextConfig.adjustFontSize(24),
-);
-
final TextStyle h1 = TextStyle(
fontSize: PlatformTextConfig.adjustFontSize(48),
height: 48 / 28,
@@ -84,9 +72,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;
@@ -123,8 +108,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,
@@ -179,8 +162,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),