Files
FocusBuddy/lib/theme/app_text_styles.dart
2025-11-22 18:17:35 +08:00

69 lines
1.7 KiB
Dart

import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
import 'app_colors.dart';
/// Typography styles following the design spec
/// Uses Nunito font family from Google Fonts
class AppTextStyles {
// App Title
static final appTitle = GoogleFonts.nunito(
fontSize: 24,
fontWeight: FontWeight.w700, // Bold
color: AppColors.textPrimary,
);
// Timer Display
static final timerDisplay = GoogleFonts.nunito(
fontSize: 64,
fontWeight: FontWeight.w800, // ExtraBold
letterSpacing: 2,
color: AppColors.textPrimary,
);
// Button Text
static final buttonText = GoogleFonts.nunito(
fontSize: 18,
fontWeight: FontWeight.w600, // SemiBold
color: AppColors.white,
);
// Body Text
static final bodyText = GoogleFonts.nunito(
fontSize: 16,
fontWeight: FontWeight.w400, // Regular
color: AppColors.textPrimary,
);
// Helper Text
static final helperText = GoogleFonts.nunito(
fontSize: 14,
fontWeight: FontWeight.w300, // Light
color: AppColors.textSecondary,
);
// Headline
static final headline = GoogleFonts.nunito(
fontSize: 20,
fontWeight: FontWeight.w600, // SemiBold
color: AppColors.textPrimary,
);
// Large number (for focus minutes display)
static final largeNumber = GoogleFonts.nunito(
fontSize: 32,
fontWeight: FontWeight.w700, // Bold
color: AppColors.textPrimary,
);
// Encouragement quote (italic)
static final encouragementQuote = GoogleFonts.nunito(
fontSize: 16,
fontWeight: FontWeight.w400,
fontStyle: FontStyle.italic,
color: AppColors.textSecondary,
);
// Prevent instantiation
AppTextStyles._();
}