41 lines
1.0 KiB
Markdown
41 lines
1.0 KiB
Markdown
# Nunito Font Download Instructions
|
|
|
|
## Option 1: Download from Google Fonts (Recommended)
|
|
|
|
1. Visit: https://fonts.google.com/specimen/Nunito
|
|
2. Click "Download family"
|
|
3. Extract the ZIP file
|
|
4. Copy these font files to `assets/fonts/`:
|
|
- Nunito-Light.ttf (weight 300)
|
|
- Nunito-Regular.ttf (weight 400)
|
|
- Nunito-SemiBold.ttf (weight 600)
|
|
- Nunito-Bold.ttf (weight 700)
|
|
- Nunito-ExtraBold.ttf (weight 800)
|
|
|
|
## Option 2: Use Google Fonts Package (Alternative)
|
|
|
|
If you don't want to download fonts manually, you can use the `google_fonts` package:
|
|
|
|
1. Add to pubspec.yaml:
|
|
```yaml
|
|
dependencies:
|
|
google_fonts: ^6.1.0
|
|
```
|
|
|
|
2. Update `lib/theme/app_text_styles.dart` to use GoogleFonts:
|
|
```dart
|
|
import 'package:google_fonts/google_fonts.dart';
|
|
|
|
static final appTitle = GoogleFonts.nunito(
|
|
fontSize: 24,
|
|
fontWeight: FontWeight.w700,
|
|
color: AppColors.textPrimary,
|
|
);
|
|
```
|
|
|
|
## Current Status
|
|
|
|
⚠️ **Action Required**: Please download the Nunito font files and place them in `assets/fonts/`
|
|
|
|
Until then, the app will use the system default font.
|