๐Ÿ“ฆ eureka928 / nextjs-burger-page

๐Ÿ“„ tailwind.config.js ยท 51 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51module.exports = {
  mode: 'jit',
  purge: [
    './src/pages/**/*.{js,ts,jsx,tsx}',
    './src/components/**/*.{js,ts,jsx,tsx}',
    './src/sections/**/**/*.{js,ts,jsx,tsx}'
  ],
  darkMode: false, // or 'media' or 'class'
  theme: {
    backgroundColor: (theme) => ({
      ...theme('colors')
    }),
    container: {
      center: true,
      padding: {
        DEFAULT: '1rem',
        sm: '2rem',
        lg: '2rem',
        xl: '4rem',
        '2xl': '5rem'
      }
    },
    extend: {
      colors: {
        primary: '#f1682b',
        secondary: '#2b5f7b'
      },
      backgroundImage: {
        'menu-pattern': "url('/assets/images/img-menu-pattern.png')",
        'menu-pattern-mobile':
          "url('/assets/images/img-menu-pattern-mobile.png')"
      },
      fontFamily: {
        asap: ['"Asap Condensed"', '"Georgia"', '"Times New Roman"', 'serif']
      },
      gridTemplateRows: {
        menu: 'auto 1fr auto'
      },
      maxHeight: {
        webkit: '-webkit-fill-available'
      }
    }
  },
  variants: {
    extend: {
      margin: ['last']
    }
  },
  plugins: []
};