-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtailwind.config.js
58 lines (56 loc) · 1.22 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
53
54
55
56
57
58
/* eslint-disable @typescript-eslint/no-var-requires */
const plugin = require('tailwindcss/plugin');
const colors = require('tailwindcss/colors');
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{js,jsx,ts,tsx}'],
corePlugins: {
container: false,
},
theme: {
extend: {
fontFamily: {
sans: ['Inter', 'sans-serif'],
},
fontSize: {
'4.5xl': ['2.5rem', '3rem'],
},
colors: {
primary: {
DEFAULT: '#4f4fde',
},
shade: {
...colors.neutral,
},
line: {
DEFAULT: colors.neutral[100],
},
},
borderWidth: {
3: '3px',
},
spacing: {
6.5: '1.625rem',
18: '4.5rem', // 72px
},
},
},
plugins: [
require('@tailwindcss/forms'),
require('tailwindcss-animate'),
function ({ addComponents }) {
addComponents({
'.container': {
width: '100%',
paddingLeft: '.75rem',
paddingRight: '.75rem',
marginLeft: 'auto',
marginRight: 'auto',
'@media (min-width: 1366px)': {
maxWidth: '1320px',
},
},
});
},
],
};