Skip to content

armgit / ente

Public Imported from GitHub
0

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

Add onBoardingBodyColor to CustomColorScheme extension for light and dark themes

AmanRajSinghMouryab19814dd2c89
diff --git a/mobile/packages/ui/lib/theme/ente_theme_data.dart b/mobile/packages/ui/lib/theme/ente_theme_data.dart
index 8c2cf18786..0151407250 100644
--- a/mobile/packages/ui/lib/theme/ente_theme_data.dart
+++ b/mobile/packages/ui/lib/theme/ente_theme_data.dart
@@ -418,6 +418,10 @@ extension CustomColorScheme on ColorScheme {
Color get primaryColor => brightness == Brightness.light
? const Color(0xFF9610D6)
: const Color(0xFF9610D6);
+
+ Color get onBoardingBodyColor => brightness == Brightness.light
+ ? const Color.fromRGBO(0, 0, 0, 0.38)
+ : const Color.fromRGBO(255, 255, 255, 0.38);
EnteTheme get enteTheme =>
brightness == Brightness.light ? lightTheme : darkTheme;
@@ -504,7 +508,8 @@ ThemeData createAppThemeData({
// Create platform-specific typography to ensure consistent font sizes
final typography = Typography.material2021(
- platform: TargetPlatform.android, // Force Android typography for consistency
+ platform:
+ TargetPlatform.android, // Force Android typography for consistency
);
return baseThemeData.copyWith(