import 'package:flutter/material.dart';
import 'app_colors.dart';

class AppTypography {
  static TextStyle heading1(bool isDark) => TextStyle(
    fontSize: 24,
    fontWeight: FontWeight.bold,
    color: isDark ? AppColors.darkTextPrimary : AppColors.lightTextPrimary,
  );

  static TextStyle heading2(bool isDark) => TextStyle(
    fontSize: 20,
    fontWeight: FontWeight.w600,
    color: isDark ? AppColors.darkTextPrimary : AppColors.lightTextPrimary,
  );

  static TextStyle body1(bool isDark) => TextStyle(
    fontSize: 16,
    fontWeight: FontWeight.normal,
    color: isDark ? AppColors.darkTextPrimary : AppColors.lightTextPrimary,
  );

  static TextStyle body2(bool isDark) => TextStyle(
    fontSize: 14,
    fontWeight: FontWeight.normal,
    color: isDark ? AppColors.darkTextSecondary : AppColors.lightTextSecondary,
  );

  static TextStyle caption(bool isDark) => TextStyle(
    fontSize: 12,
    fontWeight: FontWeight.normal,
    color: isDark ? AppColors.darkTextSecondary : AppColors.lightTextSecondary,
  );
}
