Skip to content

Commit

Permalink
chore: 3.5.5+7 fix font for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Arenukvern committed Oct 25, 2021
1 parent d1cf31a commit 454b27d
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 19 deletions.
Binary file added google_fonts/NotoColorEmoji.ttf
Binary file not shown.
26 changes: 13 additions & 13 deletions lib/library/theme/app_text_styles.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,55 +8,55 @@ class AppTextStylesLight {
color: AppColors.black,
fontWeight: FontWeight.w400,
).copyWith(
fontFamilyFallback: ['NotoSans'],
fontFamilyFallback: ['NotoColorEmoji'],
);
static final headline2 = GoogleFonts.ibmPlexSans(
fontSize: 22,
height: 28 / 22,
color: AppColors.black,
fontWeight: FontWeight.w400,
).copyWith(
fontFamilyFallback: ['NotoSans'],
fontFamilyFallback: ['NotoColorEmoji'],
);
static final headline3 = GoogleFonts.ibmPlexSans(
fontSize: 20,
height: 26 / 20,
color: AppColors.black,
fontWeight: FontWeight.w400,
).copyWith(
fontFamilyFallback: ['NotoSans'],
fontFamilyFallback: ['NotoColorEmoji'],
);
static final headline4 = GoogleFonts.ibmPlexSans(
fontSize: 19,
height: 25 / 19,
color: AppColors.black,
fontWeight: FontWeight.w400,
).copyWith(
fontFamilyFallback: ['NotoSans'],
fontFamilyFallback: ['NotoColorEmoji'],
);
static final headline5 = GoogleFonts.ibmPlexSans(
fontSize: 18,
height: 24 / 18,
color: AppColors.black,
fontWeight: FontWeight.w700,
).copyWith(
fontFamilyFallback: ['NotoSans'],
fontFamilyFallback: ['NotoColorEmoji'],
);
static final headline6 = GoogleFonts.ibmPlexSans(
fontSize: 17,
height: 23 / 17,
color: AppColors.black,
fontWeight: FontWeight.w400,
).copyWith(
fontFamilyFallback: ['NotoSans'],
fontFamilyFallback: ['NotoColorEmoji'],
);
static final subtitle1 = GoogleFonts.ibmPlexSans(
fontSize: 16,
height: 18 / 16,
color: AppColors.black,
fontWeight: FontWeight.w400,
).copyWith(
fontFamilyFallback: ['NotoSans'],
fontFamilyFallback: ['NotoColorEmoji'],
);

static final subtitle2 = GoogleFonts.ibmPlexSans(
Expand All @@ -65,45 +65,45 @@ class AppTextStylesLight {
color: AppColors.black,
fontWeight: FontWeight.w500,
).copyWith(
fontFamilyFallback: ['NotoSans'],
fontFamilyFallback: ['NotoColorEmoji'],
);
static final bodyText1 = bodyText2
.copyWith(
fontWeight: FontWeight.bold,
)
.copyWith(
fontFamilyFallback: ['NotoSans'],
fontFamilyFallback: ['NotoColorEmoji'],
);
static final bodyText2 = GoogleFonts.ibmPlexSans(
fontSize: 16,
height: 24 / 16,
color: AppColors.black,
fontWeight: FontWeight.w400,
).copyWith(
fontFamilyFallback: ['NotoSans'],
fontFamilyFallback: ['NotoColorEmoji'],
);
static final overline = GoogleFonts.ibmPlexSans(
fontSize: 12,
height: 15 / 12,
color: AppColors.black,
fontWeight: FontWeight.w400,
).copyWith(
fontFamilyFallback: ['NotoSans'],
fontFamilyFallback: ['NotoColorEmoji'],
);
static final caption1 = caption2
.copyWith(
fontWeight: FontWeight.bold,
)
.copyWith(
fontFamilyFallback: ['NotoSans'],
fontFamilyFallback: ['NotoColorEmoji'],
);
static final caption2 = GoogleFonts.ibmPlexSans(
fontSize: 10,
height: 13 / 10,
color: AppColors.black,
fontWeight: FontWeight.w500,
).copyWith(
fontFamilyFallback: ['NotoSans'],
fontFamilyFallback: ['NotoColorEmoji'],
);
}

Expand Down
8 changes: 3 additions & 5 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 3.5.4+7
version: 3.5.5+7

environment:
sdk: ">=2.14.0 <3.0.0"
Expand Down Expand Up @@ -130,11 +130,9 @@ flutter:
weight: 700
- asset: google_fonts/IBMPlexSans-Bold.ttf
weight: 900
- family: NotoSans
- family: NotoColorEmoji
fonts:
- asset: google_fonts/NotoSans-Regular.ttf
- asset: google_fonts/NotoSans-Bold.ttf
weight: 900
- asset: google_fonts/NotoColorEmoji.ttf
#
# For details regarding fonts from package dependencies,
# see https://flutter.dev/custom-fonts/#from-packages
Expand Down
2 changes: 1 addition & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: last-answer
version: 3.5.4+7
version: 3.5.5+7
summary: Fast ideas brainstroming tool
description: |
!Please notice:
Expand Down

0 comments on commit 454b27d

Please sign in to comment.