Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 

122 rindas
2.1 KiB

  1. // ==============================|| DEFAULT THEME - TYPOGRAPHY ||============================== //
  2. const Typography = (fontFamily) => ({
  3. htmlFontSize: 16,
  4. fontFamily,
  5. fontWeightLight: 300,
  6. fontWeightRegular: 400,
  7. fontWeightMedium: 500,
  8. fontWeightBold: 600,
  9. pnspsFormTitle: {
  10. fontWeight: 500,
  11. fontSize: '1.175rem',
  12. lineHeight: 1.4
  13. },
  14. pnspsFormHeader: {
  15. fontWeight: 600,
  16. fontSize: '1.2rem',
  17. lineHeight: 1.4
  18. },
  19. pnspsHeaderTitle: {
  20. fontSize: '1.15rem',
  21. fontWeight: 600,
  22. lineHeight: 1.5
  23. },
  24. pnspsFormParagraph: {
  25. fontWeight: 500,
  26. fontSize: '1.1rem',
  27. lineHeight: 1
  28. },
  29. pnspsFormParagraphBold: {
  30. fontWeight: 600,
  31. fontSize: '1.1rem',
  32. lineHeight: 1
  33. },
  34. pnspsNormalText: {
  35. fontWeight: 600,
  36. fontSize: '1.0rem',
  37. lineHeight: 1.0
  38. },
  39. h1: {
  40. fontWeight: 600,
  41. fontSize: '2.5rem',
  42. lineHeight: 1.21
  43. },
  44. h2: {
  45. fontWeight: 600,
  46. fontSize: '2.375rem',
  47. lineHeight: 1.27
  48. },
  49. h3: {
  50. fontWeight: 600,
  51. fontSize: '1.875rem',
  52. lineHeight: 1.33
  53. },
  54. h4: {
  55. fontWeight: 600,
  56. fontSize: '1.5rem',
  57. lineHeight: 1.4
  58. },
  59. h5: {
  60. fontWeight: 600,
  61. fontSize: '1.275rem',
  62. lineHeight: 1.66
  63. },
  64. h6: {
  65. fontWeight: 600,
  66. fontSize: '1.1rem',
  67. lineHeight: 1.57
  68. },
  69. h7: {
  70. fontWeight: 400,
  71. fontSize: '0.875rem',
  72. lineHeight: 1.57
  73. },
  74. caption: {
  75. fontWeight: 400,
  76. fontSize: '0.75rem',
  77. lineHeight: 1.66
  78. },
  79. body1: {
  80. fontSize: '1.1rem',
  81. fontWeight: 600,
  82. lineHeight: 1.57
  83. },
  84. body2: {
  85. fontSize: '1.2rem',
  86. lineHeight: 1.66
  87. },
  88. subtitle1: {
  89. fontSize: '1rem',
  90. fontWeight: 600,
  91. lineHeight: 1.57
  92. },
  93. subtitle2: {
  94. fontSize: '0.9rem',
  95. fontWeight: 500,
  96. lineHeight: 1.66
  97. },
  98. headerTitle1: {
  99. fontSize: '1.5rem',
  100. fontWeight: 600,
  101. lineHeight: 1.66
  102. },
  103. errorMessage1: {
  104. fontSize: '1rem',
  105. fontWeight: 600,
  106. lineHeight: 1
  107. },
  108. step1: {
  109. fontSize: '1.1rem',
  110. fontWeight: 600,
  111. lineHeight: 1
  112. },
  113. overline: {
  114. lineHeight: 1.66
  115. },
  116. button: {
  117. textTransform: 'capitalize',
  118. },
  119. });
  120. export default Typography;