-
Notifications
You must be signed in to change notification settings - Fork 131
Expand file tree
/
Copy pathtailwind.config.cjs
More file actions
51 lines (50 loc) · 1.08 KB
/
tailwind.config.cjs
File metadata and controls
51 lines (50 loc) · 1.08 KB
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
const colors = require('./tailwind/colors.cjs');
const boxShadow = require('./tailwind/box-shadow.cjs');
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./index.html',
'./src/**/*.{js,ts,jsx,tsx}',
'./.storybook/**/*.{js,ts,jsx,tsx}',
'./node_modules/react-tailwindcss-datepicker/dist/index.esm.js',
],
important: '#body',
darkMode: 'class',
theme: {
extend: {
colors,
boxShadow,
borderRadius: {
100: '4px',
200: '6px',
300: '8px',
400: '12px',
500: '16px',
600: '20px',
},
padding: {
100: '4px',
200: '6px',
300: '8px',
400: '12px',
500: '16px',
600: '20px',
xs: '4px',
sm: '6px',
md: '12px',
lg: '16px',
xl: '20px',
},
keyframes: {
blink: {
'0%, 50%': { opacity: '1' },
'51%, 100%': { opacity: '0' },
},
},
animation: {
blink: 'blink 1s infinite',
},
},
},
plugins: [require('tailwindcss-animate')],
};