import 'package:flutter/material.dart';
import 'package:test_sa/extensions/int_extensions.dart';

class AppTextStyle {
  static const fontFamily = "Poppins";

  AppTextStyle._();

  static final TextStyle heading1 = TextStyle(
    height: 1.5,
    fontSize: 32.toScreenWidth,
    letterSpacing: -0.5,
    fontFamily: fontFamily,
    fontWeight: FontWeight.w700,
    decoration: TextDecoration.none,
  );
  static final TextStyle heading2 = TextStyle(
    height: 1.5,
    fontSize: 28.toScreenWidth,
    letterSpacing: -0.5,
    fontFamily: fontFamily,
    fontWeight: FontWeight.w700,
    decoration: TextDecoration.none,
  );
  static final TextStyle heading3 = TextStyle(
    height: 1.5,
    fontSize: 24.toScreenWidth,
    letterSpacing: -0.5,
    fontFamily: fontFamily,
    fontWeight: FontWeight.w600,
    decoration: TextDecoration.none,
  );
  static final TextStyle heading4 = TextStyle(
    height: 1.5,
    fontSize: 21.toScreenWidth,
    fontFamily: fontFamily,
    fontWeight: FontWeight.w500,
    decoration: TextDecoration.none,
  );
  static final TextStyle heading5 = TextStyle(
    height: 1.5,
    fontSize: 19.toScreenWidth,
    letterSpacing: 0,
    fontFamily: fontFamily,
    fontWeight: FontWeight.w500,
    decoration: TextDecoration.none,
  );
  static final TextStyle heading6 = TextStyle(
    height: 1.5,
    fontSize: 16.toScreenWidth,
    letterSpacing: 0,
    fontFamily: fontFamily,
    fontWeight: FontWeight.w500,
    decoration: TextDecoration.none,
  );
  static final TextStyle body1 = TextStyle(
    height: 1.5,
    fontSize: 14.toScreenWidth,
    letterSpacing: 0,
    fontFamily: fontFamily,
    fontWeight: FontWeight.w400,
    decoration: TextDecoration.none,
  );
  static final TextStyle body2 = TextStyle(
    height: 1.5,
    fontSize: 12.toScreenWidth,
    letterSpacing: 0,
    fontFamily: fontFamily,
    fontWeight: FontWeight.w400,
    decoration: TextDecoration.none,
  );
  static final TextStyle tiny = TextStyle(
    //height: 1.5,
    fontSize: 11.toScreenWidth,
    letterSpacing: 0,
    fontFamily: fontFamily,
    fontWeight: FontWeight.w500,
    decoration: TextDecoration.none,
  );
  static final TextStyle overline = TextStyle(
    height: 1.5,
    fontSize: 9.toScreenWidth,
    letterSpacing: 0.5,
    fontFamily: fontFamily,
    fontWeight: FontWeight.w500,
    decoration: TextDecoration.none,
  );
}
