Add Persian font

This commit is contained in:
problematicconsumer
2023-07-20 14:17:13 +03:30
parent ba28cc06dd
commit 09b7421c6b
3 changed files with 7 additions and 0 deletions

BIN
assets/fonts/Shabnam.ttf Normal file

Binary file not shown.

View File

@@ -59,6 +59,7 @@ extension AppTheme on ThemePrefs {
), ),
tones: FlexTones.jolly(Brightness.light), tones: FlexTones.jolly(Brightness.light),
visualDensity: FlexColorScheme.comfortablePlatformDensity, visualDensity: FlexColorScheme.comfortablePlatformDensity,
fontFamily: "Shabnam",
); );
} }
@@ -118,6 +119,7 @@ extension AppTheme on ThemePrefs {
), ),
// tones: FlexTones.jolly(Brightness.dark), // tones: FlexTones.jolly(Brightness.dark),
visualDensity: FlexColorScheme.comfortablePlatformDensity, visualDensity: FlexColorScheme.comfortablePlatformDensity,
fontFamily: "Shabnam",
); );
} }
} }

View File

@@ -99,6 +99,11 @@ flutter:
- assets/core/clash/ - assets/core/clash/
- assets/images/ - assets/images/
fonts:
- family: Shabnam
fonts:
- asset: assets/fonts/Shabnam.ttf
flutter_gen: flutter_gen:
output: lib/gen/ output: lib/gen/
integrations: integrations: