-
Notifications
You must be signed in to change notification settings - Fork 17
/
tailwind.config.js
52 lines (51 loc) · 1.39 KB
/
tailwind.config.js
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
51
52
const defaultTheme = require('tailwindcss/defaultTheme');
module.exports = {
purge: ['./components/**/*.{js,ts,jsx,tsx}', './pages/**/*.{js,ts,jsx,tsx}'],
darkMode: false,
theme: {
extend: {
fontFamily: {
sans: ['Public Sans', ...defaultTheme.fontFamily.sans],
},
colors: {
primary: {
'dark-blue': 'hsl(233, 26%, 24%)',
'lime-green': 'hsl(136, 65%, 51%)',
'bright-cyan': 'hsl(192, 70%, 51%)',
},
neutral: {
'grayish-blue': 'hsl(233, 8%, 62%)',
'light-grayish-blue': 'hsl(220, 16%, 96%)',
'very-light-gray': 'hsl(0, 0%, 98%)',
white: 'hsl(0, 0%, 100%)',
},
},
backgroundImage: (theme) => ({
'header-desktop': "url('/images/bg-intro-desktop.svg')",
'header-mobile': "url('/images/bg-intro-mobile.svg')",
'image-mockups': "url('/images/image-mockups.png')",
}),
backgroundSize: {
'custom-mobile-header-size': '100% 50%',
'custom-mobile-mockup-size': 'auto 60%',
},
container: {
center: true,
padding: {
DEFAULT: '1.25rem',
sm: '2rem',
lg: '3rem',
xl: '4rem',
'2xl': '5rem',
},
},
inset: {
'-42.6%': '-42.6%',
},
},
},
variants: {
extend: {},
},
plugins: [require('@tailwindcss/aspect-ratio')],
};