-
Notifications
You must be signed in to change notification settings - Fork 2k
/
Copy pathtailwind.config.js
40 lines (39 loc) · 970 Bytes
/
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
import typography from '@tailwindcss/typography';
module.exports = {
content: [
'./pages/**/*.{ts,tsx,mdx}',
'./icons/**/*.{ts,tsx,mdx}',
'./theme.config.tsx',
],
theme: {
container: {
center: true,
padding: '1rem',
},
extend: {
colors: {
primary: '#e10098',
'conf-black': '#0e031c',
black: '#1b1b1b',
},
backgroundImage: {
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
'gradient-conic':
'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))',
},
animation: {
scroll:
'scroll var(--animation-duration, 40s) var(--animation-direction, forwards) linear infinite',
},
keyframes: {
scroll: {
to: {
transform: 'translate(calc(-50% - .5rem))',
},
},
},
},
},
plugins: [typography],
darkMode: ['class', 'html[class~="dark"]'],
};