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.

113 lines
2.7KB

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