Skip to content

Commit

Permalink
Use Plus Jakarta Sans as the font of the app
Browse files Browse the repository at this point in the history
  • Loading branch information
g123k committed Jul 22, 2023
1 parent 899cea6 commit e563e73
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 0 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions packages/smooth_app/lib/themes/smooth_theme.dart
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ class SmoothTheme {

return ThemeData(
primaryColor: const Color(0xFF341100),
fontFamily: 'PlusJakartaSans',
colorScheme: myColorScheme,
canvasColor: themeProvider.currentTheme == THEME_AMOLED
? myColorScheme.background
Expand Down
18 changes: 18 additions & 0 deletions packages/smooth_app/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,24 @@ flutter:
generate: true
uses-material-design: true

fonts:
- family: PlusJakartaSans
fonts:
- asset: assets/fonts/PlusJakartaSans-ExtraLight.ttf
weight: 200
- asset: assets/fonts/PlusJakartaSans-Light.ttf
weight: 300
- asset: assets/fonts/PlusJakartaSans-Regular.ttf
weight: 400
- asset: assets/fonts/PlusJakartaSans-Medium.ttf
weight: 500
- asset: assets/fonts/PlusJakartaSans-SemiBold.ttf
weight: 600
- asset: assets/fonts/PlusJakartaSans-Bold.ttf
weight: 700
- asset: assets/fonts/PlusJakartaSans-ExtraBold.ttf
weight: 900

assets:
- assets/animations/
- assets/app/
Expand Down

0 comments on commit e563e73

Please sign in to comment.