選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

112 行
1.9 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: 600,
  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: 600,
  26. fontSize: '1.1rem',
  27. lineHeight: 0.8
  28. },
  29. h1: {
  30. fontWeight: 600,
  31. fontSize: '2.5rem',
  32. lineHeight: 1.21
  33. },
  34. h2: {
  35. fontWeight: 600,
  36. fontSize: '2.375rem',
  37. lineHeight: 1.27
  38. },
  39. h3: {
  40. fontWeight: 600,
  41. fontSize: '1.875rem',
  42. lineHeight: 1.33
  43. },
  44. h4: {
  45. fontWeight: 600,
  46. fontSize: '1.5rem',
  47. lineHeight: 1.4
  48. },
  49. h5: {
  50. fontWeight: 600,
  51. fontSize: '1.275rem',
  52. lineHeight: 1.66
  53. },
  54. h6: {
  55. fontWeight: 600,
  56. fontSize: '1.1rem',
  57. lineHeight: 1.57
  58. },
  59. h7: {
  60. fontWeight: 400,
  61. fontSize: '0.875rem',
  62. lineHeight: 1.57
  63. },
  64. caption: {
  65. fontWeight: 400,
  66. fontSize: '0.75rem',
  67. lineHeight: 1.66
  68. },
  69. body1: {
  70. fontSize: '1.1rem',
  71. fontWeight: 600,
  72. lineHeight: 1.57
  73. },
  74. body2: {
  75. fontSize: '1.2rem',
  76. lineHeight: 1.66
  77. },
  78. subtitle1: {
  79. fontSize: '1rem',
  80. fontWeight: 600,
  81. lineHeight: 1.57
  82. },
  83. subtitle2: {
  84. fontSize: '0.9rem',
  85. fontWeight: 500,
  86. lineHeight: 1.66
  87. },
  88. headerTitle1: {
  89. fontSize: '1.5rem',
  90. fontWeight: 600,
  91. lineHeight: 1.66
  92. },
  93. errorMessage1: {
  94. fontSize: '1rem',
  95. fontWeight: 600,
  96. lineHeight: 1
  97. },
  98. step1: {
  99. fontSize: '1.4rem',
  100. fontWeight: 600,
  101. lineHeight: 1
  102. },
  103. overline: {
  104. lineHeight: 1.66
  105. },
  106. button: {
  107. textTransform: 'capitalize',
  108. },
  109. });
  110. export default Typography;