import 'package:concierge/presentation/theme/app_colors.dart';
import 'package:flutter/cupertino.dart';

abstract class AppTextStyles {
  static const fontFamilyKaio = 'Kaio';
  static const fontFamilyRedHatText = 'RedHatText';
  static const fontFamilyRedHatDisplay = 'RedHatDisplay';

  static const _heading = TextStyle(
    letterSpacing: 0,
    fontFamily: fontFamilyKaio,
  );

  static const _body = TextStyle(
    letterSpacing: 0,
    fontFamily: fontFamilyRedHatText,
    fontWeight: FontWeight.w400,
    color: AppColors.colorPrimaryText,
  );

  static const _text = TextStyle(
    fontSize: 12,
    fontFamily: fontFamilyRedHatText,
    color: AppColors.colorPrimaryText,
  );

  static final h1 = _heading.copyWith(fontSize: 48);
  static final h2 = _heading.copyWith(fontSize: 40);
  static final h3 = _heading.copyWith(fontSize: 32);
  static final h4 = _heading.copyWith(fontSize: 24);
  static final h5 = _heading.copyWith(fontSize: 20);
  static final h6 = _heading.copyWith(fontSize: 16);

  static final b1 = _body.copyWith(fontSize: 16);
  static final b1Highlight = b1.copyWith(fontWeight: FontWeight.w500);

  static final b2Regular = _body.copyWith(fontSize: 14, height: 1.29);
  static final b2Highlight = b2Regular.copyWith(fontWeight: FontWeight.w600);
  static final b3 = _body.copyWith(fontSize: 12);

  static final textRegular = _text.copyWith(fontWeight: FontWeight.w400);
  static final textSemiBold = _text.copyWith(fontWeight: FontWeight.w500);
  static final textRegularSmall = _text.copyWith(fontSize: 12);
  static final textHighlightSemiBold = _text.copyWith(
    fontSize: 12,
    fontWeight: FontWeight.w600,
  );

  // Should always be UPPERCASE
  static final label = TextStyle(
    fontSize: 10,
    fontWeight: FontWeight.w700,
    fontFamily: fontFamilyKaio,
  );

  static final legal = TextStyle(
    fontSize: 10,
    fontFamily: fontFamilyRedHatText,
  );
}