You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

116 lines
2.8KB

  1. import 'package:flutter/material.dart';
  2. import 'app_dimension.dart';
  3. import 'app_colors.dart';
  4. class AppFont {
  5. static String appFont = 'sf-pro-text';
  6. }
  7. class StylesText {
  8. static final disabled = TextStyle(
  9. fontSize: 14.sp, fontFamily: AppFont.appFont, fontWeight: FontWeight.w400, color: AppColors.neutral1, backgroundColor: AppColors.neutral3);
  10. static final header1 = TextStyle(
  11. fontSize: 24.sp,
  12. fontWeight: FontWeight.w800,
  13. fontFamily: AppFont.appFont,
  14. color: AppColors.neutral1,
  15. );
  16. static final body1 = TextStyle(
  17. fontSize: 16.sp,
  18. fontWeight: FontWeight.w800,
  19. fontFamily: AppFont.appFont,
  20. color: AppColors.neutral1,
  21. );
  22. static final body2 = TextStyle(
  23. fontSize: 16.sp,
  24. fontFamily: AppFont.appFont,
  25. fontWeight: FontWeight.w600,
  26. color: AppColors.neutral1,
  27. );
  28. static final body3 = TextStyle(
  29. fontSize: 16.sp,
  30. fontFamily: AppFont.appFont,
  31. fontWeight: FontWeight.w400,
  32. color: AppColors.neutral1,
  33. );
  34. static final body4 = TextStyle(
  35. fontSize: 14.sp,
  36. fontFamily: AppFont.appFont,
  37. fontWeight: FontWeight.w800,
  38. color: AppColors.neutral1,
  39. );
  40. static final body5 = TextStyle(
  41. fontSize: 14.sp,
  42. fontFamily: AppFont.appFont,
  43. fontWeight: FontWeight.w600,
  44. color: AppColors.neutral1,
  45. );
  46. static final body6 = TextStyle(
  47. fontSize: 14.sp,
  48. fontFamily: AppFont.appFont,
  49. fontWeight: FontWeight.w400,
  50. color: AppColors.neutral1,
  51. );
  52. static final caption1 = TextStyle(
  53. fontSize: 12.sp,
  54. fontFamily: AppFont.appFont,
  55. fontWeight: FontWeight.w800,
  56. color: AppColors.neutral1,
  57. );
  58. static final caption2 = TextStyle(
  59. fontSize: 12.sp,
  60. fontFamily: AppFont.appFont,
  61. fontWeight: FontWeight.w600,
  62. color: AppColors.neutral1,
  63. );
  64. static final caption3 = TextStyle(
  65. fontSize: 12.sp,
  66. fontFamily: AppFont.appFont,
  67. fontWeight: FontWeight.w400,
  68. color: AppColors.neutral1,
  69. );
  70. static final caption4 = TextStyle(
  71. fontSize: 10.sp,
  72. fontFamily: AppFont.appFont,
  73. fontWeight: FontWeight.w800,
  74. color: AppColors.neutral1,
  75. );
  76. static final caption5 = TextStyle(
  77. fontSize: 10.sp,
  78. fontFamily: AppFont.appFont,
  79. fontWeight: FontWeight.w600,
  80. color: AppColors.neutral1,
  81. );
  82. static final caption6 = TextStyle(
  83. fontSize: 10.sp,
  84. fontFamily: AppFont.appFont,
  85. fontWeight: FontWeight.w400,
  86. color: AppColors.neutral1,
  87. );
  88. static final caption7 = TextStyle(
  89. fontSize: 8.sp,
  90. fontFamily: AppFont.appFont,
  91. fontWeight: FontWeight.w400,
  92. color: AppColors.neutral1,
  93. );
  94. static final appbarTitle = TextStyle(
  95. fontSize: 20.sp,
  96. fontFamily: AppFont.appFont,
  97. fontWeight: FontWeight.w600,
  98. color: AppColors.neutral1,
  99. );
  100. static final titleReport = TextStyle(
  101. fontSize: 18.sp,
  102. fontFamily: AppFont.appFont,
  103. fontWeight: FontWeight.w600,
  104. color: AppColors.neutral1,
  105. );
  106. }