diff --git a/khelo/assets/images/ic_app_logo.svg b/khelo/assets/images/ic_app_logo.svg new file mode 100644 index 00000000..bd240f0f --- /dev/null +++ b/khelo/assets/images/ic_app_logo.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/khelo/lib/gen/assets.gen.dart b/khelo/lib/gen/assets.gen.dart index 81ff822a..b4074125 100644 --- a/khelo/lib/gen/assets.gen.dart +++ b/khelo/lib/gen/assets.gen.dart @@ -19,6 +19,9 @@ class $AssetsImagesGen { /// File path: assets/images/ic_about_us.svg String get icAboutUs => 'assets/images/ic_about_us.svg'; + /// File path: assets/images/ic_app_logo.svg + String get icAppLogo => 'assets/images/ic_app_logo.svg'; + /// File path: assets/images/ic_arrow_down.svg String get icArrowDown => 'assets/images/ic_arrow_down.svg'; @@ -156,6 +159,7 @@ class $AssetsImagesGen { batsman, bowler, icAboutUs, + icAppLogo, icArrowDown, icArrowForward, icBatSelected, diff --git a/khelo/lib/ui/flow/home/home_screen.dart b/khelo/lib/ui/flow/home/home_screen.dart index 3c677fbc..4ac437ac 100644 --- a/khelo/lib/ui/flow/home/home_screen.dart +++ b/khelo/lib/ui/flow/home/home_screen.dart @@ -39,10 +39,13 @@ class _HomeScreenState extends ConsumerState { final state = ref.watch(homeViewStateProvider); return AppPage( - titleWidget: Text( - context.l10n.app_title, - style: AppTextStyle.appHeader.copyWith( - color: context.colorScheme.primary, + titleWidget: SvgPicture.asset( + Assets.images.icAppLogo, + height: 28, + width: 28, + colorFilter: ColorFilter.mode( + context.colorScheme.primary, + BlendMode.srcATop, ), ), actions: (state.matches.isNotEmpty) diff --git a/style/lib/text/app_text_style.dart b/style/lib/text/app_text_style.dart index da0951e1..218b6eaa 100644 --- a/style/lib/text/app_text_style.dart +++ b/style/lib/text/app_text_style.dart @@ -2,15 +2,6 @@ import 'package:flutter/material.dart'; class AppTextStyle { static const String poppinsFontFamily = 'Poppins'; - static const String suezOneFontFamily = 'SuezOne'; - - static const TextStyle appHeader = TextStyle( - fontFamily: suezOneFontFamily, - fontWeight: FontWeight.w400, - fontSize: 28, - letterSpacing: -0.64, - package: "style", - ); static const TextStyle header1 = TextStyle( fontFamily: poppinsFontFamily, diff --git a/style/pubspec.yaml b/style/pubspec.yaml index a44df68a..4b1648d0 100644 --- a/style/pubspec.yaml +++ b/style/pubspec.yaml @@ -41,8 +41,4 @@ flutter: - asset: assets/fonts/poppins_semi_bold.ttf weight: 600 - asset: assets/fonts/poppins_bold.ttf - weight: 700 - - - family: SuezOne - fonts: - - asset: assets/fonts/suezOne_regular.ttf \ No newline at end of file + weight: 700 \ No newline at end of file