tailwind.config.js 953 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /** @type {import('tailwindcss').Config} */
  2. module.exports = {
  3. content: ['./index.html', './src/**/*.{html,js,ts,jsx,tsx,vue}'],
  4. theme: {
  5. colors: {
  6. white: '#ffffff',
  7. black: '#000000',
  8. main: '#333333',
  9. content: '#666666',
  10. muted: '#999999',
  11. light: '#e5e5e5',
  12. primary: {
  13. DEFAULT: '#F36161'
  14. },
  15. success: '#5ac725',
  16. warning: '#f9ae3d',
  17. error: '#f56c6c',
  18. info: '#909399',
  19. page: '#f6f6f6',
  20. blue: '#4173ff'
  21. },
  22. fontSize: {
  23. xs: '24rpx',
  24. sm: '26rpx',
  25. base: '28rpx',
  26. lg: '30rpx',
  27. xl: '32rpx',
  28. '2xl': '34rpx',
  29. '3xl': '38rpx',
  30. '4xl': '40rpx',
  31. '5xl': '44rpx'
  32. }
  33. },
  34. plugins: [],
  35. corePlugins: {
  36. preflight: false
  37. }
  38. }