Skip to content

Commit

Permalink
Update in-app logo
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-mayank committed Dec 10, 2024
1 parent 0cc6a16 commit e46309b
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 18 deletions.
12 changes: 12 additions & 0 deletions khelo/assets/images/ic_app_logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions khelo/lib/gen/assets.gen.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 7 additions & 4 deletions khelo/lib/ui/flow/home/home_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,13 @@ class _HomeScreenState extends ConsumerState<HomeScreen> {
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)
Expand Down
9 changes: 0 additions & 9 deletions style/lib/text/app_text_style.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
6 changes: 1 addition & 5 deletions style/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
weight: 700

0 comments on commit e46309b

Please sign in to comment.