Implementation
static final ModulaTypography modulaTextStyles = ModulaTypography(
displayH1: _baseTextStyle.copyWith(
fontSize: 44,
fontWeight: FontWeight.bold,
height: 56 / 44,
),
displayH2: _baseTextStyle.copyWith(
fontSize: 36,
height: 48 / 36,
fontWeight: FontWeight.bold,
),
displayH3: _baseTextStyle.copyWith(
fontSize: 28,
height: 36 / 28,
fontWeight: FontWeight.bold,
),
text3xlRegular: _baseTextStyle.copyWith(
fontSize: 24,
height: 28 / 24,
fontWeight: FontWeight.w400,
),
text3xlMedium: _baseTextStyle.copyWith(
fontSize: 24,
height: 28 / 24,
fontWeight: FontWeight.w500,
),
text3xlSemibold: _baseTextStyle.copyWith(
fontSize: 24,
height: 28 / 24,
fontWeight: FontWeight.w600,
),
text3xlBold: _baseTextStyle.copyWith(
fontSize: 24,
height: 28 / 24,
fontWeight: FontWeight.bold,
),
text2xlRegular: _baseTextStyle.copyWith(
fontSize: 20,
height: 28 / 20,
fontWeight: FontWeight.w400,
),
text2xlMedium: _baseTextStyle.copyWith(
fontSize: 20,
height: 28 / 20,
fontWeight: FontWeight.w500,
),
text2xlSemibold: _baseTextStyle.copyWith(
fontSize: 20,
height: 28 / 20,
fontWeight: FontWeight.w600,
),
text2xlBold: _baseTextStyle.copyWith(
fontSize: 20,
height: 28 / 20,
fontWeight: FontWeight.bold,
),
textXlRegular: _baseTextStyle.copyWith(
fontSize: 18,
height: 26 / 18,
fontWeight: FontWeight.w400,
),
textXlMedium: _baseTextStyle.copyWith(
fontSize: 18,
height: 26 / 18,
fontWeight: FontWeight.w500,
),
textXlSemibold: _baseTextStyle.copyWith(
fontSize: 18,
height: 26 / 18,
fontWeight: FontWeight.w600,
),
textXlBold: _baseTextStyle.copyWith(
fontSize: 18,
height: 26 / 18,
fontWeight: FontWeight.bold,
),
textLgRegular: _baseTextStyle.copyWith(
fontSize: 16,
height: 24 / 16,
fontWeight: FontWeight.w400,
),
textLgMedium: _baseTextStyle.copyWith(
fontSize: 16,
height: 24 / 16,
fontWeight: FontWeight.w500,
),
textLgSemibold: _baseTextStyle.copyWith(
fontSize: 16,
height: 24 / 16,
fontWeight: FontWeight.w600,
),
textLgBold: _baseTextStyle.copyWith(
fontSize: 16,
height: 24 / 16,
fontWeight: FontWeight.bold,
),
textBaseRegular: _baseTextStyle.copyWith(
fontSize: 14,
height: 20 / 14,
fontWeight: FontWeight.w400,
),
textBaseMedium: _baseTextStyle.copyWith(
fontSize: 14,
height: 20 / 14,
fontWeight: FontWeight.w500,
),
textBaseSemibold: _baseTextStyle.copyWith(
fontSize: 14,
height: 20 / 14,
fontWeight: FontWeight.w600,
),
textBaseBold: _baseTextStyle.copyWith(
fontSize: 14,
height: 20 / 14,
fontWeight: FontWeight.bold,
),
textSmRegular: _baseTextStyle.copyWith(
fontSize: 12,
height: 16 / 12,
fontWeight: FontWeight.w400,
),
textSmMedium: _baseTextStyle.copyWith(
fontSize: 12,
height: 16 / 12,
fontWeight: FontWeight.w500,
),
textSmSemibold: _baseTextStyle.copyWith(
fontSize: 12,
height: 16 / 12,
fontWeight: FontWeight.w600,
),
textSmBold: _baseTextStyle.copyWith(
fontSize: 12,
height: 16 / 12,
fontWeight: FontWeight.bold,
),
textXsRegular: _baseTextStyle.copyWith(
fontSize: 10,
height: 14 / 10,
fontWeight: FontWeight.w400,
),
textXsMedium: _baseTextStyle.copyWith(
fontSize: 10,
height: 14 / 10,
fontWeight: FontWeight.w500,
),
textXsSemibold: _baseTextStyle.copyWith(
fontSize: 10,
height: 14 / 10,
fontWeight: FontWeight.w600,
),
textXsBold: _baseTextStyle.copyWith(
fontSize: 10,
height: 14 / 10,
fontWeight: FontWeight.bold,
),
textXxsRegular: _baseTextStyle.copyWith(
fontSize: 9,
height: 12 / 9,
fontWeight: FontWeight.w400,
),
textXxsMedium: _baseTextStyle.copyWith(
fontSize: 9,
height: 12 / 9,
fontWeight: FontWeight.w500,
),
textXxsSemibold: _baseTextStyle.copyWith(
fontSize: 9,
height: 12 / 9,
fontWeight: FontWeight.w600,
),
textXxsBold: _baseTextStyle.copyWith(
fontSize: 9,
height: 12 / 9,
fontWeight: FontWeight.bold,
),
);