-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
98 lines (94 loc) · 2.51 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
const colors = require('tailwindcss/colors')
const { nextui } = require("@nextui-org/react");
module.exports = {
content: [
"./node_modules/@nextui-org/theme/dist/**/*.{js,ts,jsx,tsx}",
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
"./node_modules/@nextui-org/theme/dist/**/*.{js,ts,jsx,tsx}",
"node_modules/@zach.codes/react-calendar/dist/**/*.js"
],
theme: {
spacing: {
px: '1px',
0: '0',
0.5: '0.125rem',
1: '0.25rem',
1.5: '0.375rem',
2: '0.5rem',
2.5: '0.625rem',
3: '0.75rem',
3.5: '0.875rem',
4: '1rem',
5: '1.25rem',
6: '1.5rem',
7: '1.75rem',
8: '2rem',
9: '2.25rem',
10: '2.5rem',
11: '2.75rem',
12: '3rem',
14: '3.5rem',
16: '4rem',
20: '5rem',
24: '6rem',
28: '7rem',
32: '8rem',
36: '5rem',
40: '10rem',
44: '11rem',
48: '8rem',
// 52: '13rem',
// 56: '14rem',
// 60: '15rem',
// 64: '16rem',
// 72: '18rem',
// 80: '20rem',
// 96: '24rem',
},
extend: {
backgroundImage: {
'bg1': "url('/bg6.png')",
'bg2': "url('/bg4.png')",
'bg3': "url('/bg5.png')",
},
borderRadius: {
'4xl': '2rem',
}
},
colors: {
todoPrimary: 'var(--color-todoPrimary)',
todoSecondary: 'var(--color-todoSecondary)',
todoSecondary2: 'var(--color-todoSecondary2)',
header: 'var(--color-header)',
headerText: 'var(--color-headerText)',
layout: 'var(--color-layout)',
content: 'var(--color-content)',
primaryText: 'var(--color-primaryText)',
black: 'var(--color-black)',
title: 'var(--color-title)'
// bgImg: 'var(--color-img)',
},
},
plugins: [nextui(
{
prefix: "nextui", // prefix for themes variables
addCommonColors: false, // override common colors (e.g. "blue", "green", "pink").
defaultTheme: "light", // default theme from the themes object
defaultExtendTheme: "light", // default theme to extend on custom themes
layout: {}, // common layout tokens (applied to all themes)
themes: {
light: {
layout: {}, // light theme layout tokens
colors: {}, // light theme colors
},
dark: {
layout: {}, // dark theme layout tokens
colors: {}, // dark theme colors
},
// ... custom themes
},
}
)],
};