25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

73 lines
2.0 KiB

  1. const defaultTheme = require('tailwindcss/defaultTheme');
  2. const colors = require('@tailwindcss/ui/colors');
  3. const rgba = require('hex-to-rgba');
  4. module.exports = {
  5. theme: {
  6. extend: {
  7. fontFamily: {
  8. sans: ['var(--font-family, Inter)', ...defaultTheme.fontFamily.sans]
  9. },
  10. colors: {
  11. primary: {
  12. '50': `var(--primary-50, ${colors.blue[50]})`,
  13. '100': `var(--primary-100, ${colors.blue[100]})`,
  14. '200': `var(--primary-200, ${colors.blue[200]})`,
  15. '300': `var(--primary-300, ${colors.blue[300]})`,
  16. '400': `var(--primary-400, ${colors.blue[400]})`,
  17. '500': `var(--primary-500, ${colors.blue[500]})`,
  18. '600': `var(--primary-600, ${colors.blue[600]})`,
  19. '700': `var(--primary-700, ${colors.blue[700]})`,
  20. '800': `var(--primary-800, ${colors.blue[800]})`,
  21. '900': `var(--primary-900, ${colors.blue[900]})`
  22. },
  23. gray: {
  24. '50': `var(--gray-50, ${colors.gray[50]})`,
  25. '100': `var(--gray-100, ${colors.gray[100]})`,
  26. '200': `var(--gray-200, ${colors.gray[200]})`,
  27. '300': `var(--gray-300, ${colors.gray[300]})`,
  28. '400': `var(--gray-400, ${colors.gray[400]})`,
  29. '500': `var(--gray-500, ${colors.gray[500]})`,
  30. '600': `var(--gray-600, ${colors.gray[600]})`,
  31. '700': `var(--gray-700, ${colors.gray[700]})`,
  32. '800': `var(--gray-800, ${colors.gray[800]})`,
  33. '900': `var(--gray-900, ${colors.gray[900]})`
  34. },
  35. black: '#112B42',
  36. code: {
  37. green: '#b5f4a5',
  38. yellow: '#ffe484',
  39. purple: '#d9a9ff',
  40. red: '#ff8383',
  41. blue: '#93ddfd',
  42. white: '#fff'
  43. }
  44. },
  45. borderRadius: {
  46. xl: '0.75rem'
  47. },
  48. maxHeight: {
  49. '144': '36rem'
  50. },
  51. boxShadow: theme => ({
  52. 'outline-primary': `0 0 0 3px ${rgba(theme('colors.blue.300'), 0.45)}`
  53. }),
  54. container: {
  55. center: true,
  56. padding: {
  57. default: '1.25rem',
  58. sm: '2rem',
  59. lg: '3rem',
  60. xl: '12rem',
  61. xxl: '11rem'
  62. }
  63. },
  64. screens: {
  65. xxl: '1440px'
  66. }
  67. }
  68. },
  69. variants: {},
  70. plugins: [require('@tailwindcss/ui')]
  71. };