-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathtailwind.config.cjs
56 lines (55 loc) · 1.34 KB
/
tailwind.config.cjs
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
53
54
55
56
const tailwindScrollbar = require('tailwind-scrollbar');
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: 'class',
content: ['./src/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {
fontFamily: {
poppins: ['Poppins', 'sans-serif'],
},
gridTemplateColumns: {
fill: 'repeat(auto-fit, minmax(250px, 1fr))',
'fill-sm': 'repeat(auto-fit, minmax(160px, 1fr))',
},
colors: {
primary: {
0: 'white',
50: '#fafafa',
100: '#f4f4f5',
200: '#e4e4e7',
300: '#d4d4d8',
400: '#a1a1aa',
500: '#71717a',
600: '#52525b',
700: '#3f3f46',
800: '#27272a',
900: '#18181b',
},
'primary-dark': {
900: '#ffffff',
800: '#f4f4f5',
700: '#D4DAFA',
600: '#b7bbc9',
500: '#797D8F',
400: '#5E636E',
300: '#36393F',
200: '#202225',
100: '#16181C',
50: '#000000',
},
},
keyframes: {
pop: {
'25%': { transform: 'rotate(-5deg)' },
'50%': { transform: 'scale(1.2)' },
'75%': { transform: 'rotate(5deg) ' },
},
},
animation: {
pop: 'pop 1s ease-in-out',
},
},
},
plugins: [tailwindScrollbar],
};