mirrored_repositories/Birthday-reminder-sqflite
import 'package:example_todo_sqflite/ui/constants.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';
import 'package:google_fonts/google_fonts.dart';

class Themes {
  // light theme
  static final light = ThemeData(
    backgroundColor: white,
    primaryColor: primaryClr,
    brightness: Brightness.light,
  );
  // dark theme
  static final dark = ThemeData(
    backgroundColor: darkgreyClr,
    primaryColor: darkgreyClr,
    brightness: Brightness.dark,
  );
}


TextStyle get subHeadingStyle {
  return (GoogleFonts.lato(
    textStyle: TextStyle(
      fontSize: 18.sp,
      color: Get.isDarkMode ? Colors.grey[400] : Colors.grey,
      fontWeight: FontWeight.w500,
    ),
  ));
}

TextStyle get headingStyle {
  return (GoogleFonts.lato(
    textStyle: TextStyle(
      fontSize: 24.sp,
      color: Get.isDarkMode ? Colors.white : Colors.black,
      fontWeight: FontWeight.bold,
    ),
  ));
}

TextStyle get textHeadingStyle {
  return (GoogleFonts.lato(
    textStyle: TextStyle(
      fontSize: 14.sp,
      color: Get.isDarkMode ? Colors.white : Colors.black,
      fontWeight: FontWeight.w500,
    ),
  ));
}

TextStyle get textInputStyle {
  return (GoogleFonts.lato(
    textStyle: TextStyle(
      fontSize: 16.sp,
      color: Get.isDarkMode ? Colors.grey[100] : Colors.grey[800],
      fontWeight: FontWeight.w500,
    ),
  ));
}

TextStyle get hintStyle {
  return (GoogleFonts.lato(
    textStyle: TextStyle(
      fontSize: 14.sp,
      color: Get.isDarkMode ? Colors.grey[400] : Colors.grey[600],
      fontWeight: FontWeight.w500,
    ),
  ));
}
