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

tailwind.config.js 707B

1ヶ月前
1234567891011121314151617181920212223242526272829303132333435
  1. /** @type {import('tailwindcss').Config} */
  2. const spacing = {}
  3. for (let index = 0; index < 96; index++) {
  4. spacing[index + 1] = `${index + 1}px`
  5. }
  6. const colorObj = {
  7. menub: '#FFBA00',
  8. primary: '#0057FF',
  9. danger: '#FF3B30',
  10. info: '#a6a6a6',
  11. success: '#4ECB74',
  12. warning: '#FFA43D'
  13. }
  14. module.exports = {
  15. content: ['./index.html', './src/**/*.{vue,js,jsx}'],
  16. theme: {
  17. spacing: spacing,
  18. fontSize: spacing,
  19. borderColor: theme => ({
  20. ...theme('colors'),
  21. ...colorObj
  22. }),
  23. backgroundColor: theme => ({
  24. ...theme('colors'),
  25. ...colorObj
  26. }),
  27. textColor: theme => ({
  28. ...theme('colors'),
  29. ...colorObj
  30. }),
  31. extend: {}
  32. },
  33. plugins: []
  34. }