-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathtailwind.config.js
115 lines (114 loc) · 3.85 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
const { heroui } = require("@heroui/react");
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./src/pages/**/*.{js,ts,jsx,tsx,mdx}',
'./src/components/**/*.{js,ts,jsx,tsx,mdx}',
'./node_modules/@heroui/theme/dist/**/*.{js,ts,jsx,tsx}'
],
theme: {
extend: {
width: {
'calc': 'calc(100vw - 56px)'
},
height: {
'calc': 'calc(100vh - 56px)',
},
maxHeight: {
'calc': 'calc(100vh - 56px)',
},
minHeight: {
'calc': 'calc(100vh - 56px)',
},
maxWidth: {
'calc': 'calc(100vw - 56px)',
},
minWidth: {
'calc': 'calc(100vw - 56px)',
}
}
},
darkMode: 'class',
plugins: [heroui({
themes: {
light: {
colors: {
'sgi': '#137eb5',
'offwhite': '#ffffff',
'altwhite': '#5c6674',
'sidebar': '#1a8fcb',
'titlebar': '#ffffff',
'titletext': '#0a0a0a',
'titlehover': '#dddddd',
'titleborder': '#00000015',
'base': '#fafafa',
'container': '#f7f7f7',
'containerhover': '#efefef',
'footer': '#efefef',
'border': '#00000015',
'input': '#f7f7f7',
'inputborder': '#00000015',
'link': '#3c93f1',
'linkhover': '#4b82bb',
'modalheader': '#ffffff',
'modalbody': '#fafafa',
'modalfooter': '#ffffff',
'notibase': '#ffffff',
'notihead': '#fafafa',
'notiunread': '#ebebeb',
'notihover': '#f5f5f5',
primary: {
DEFAULT: '#1a8fcb',
foreground: '#fff'
},
secondary: {
DEFAULT: '#137eb5',
},
danger: {
DEFAULT: '#ef4444',
foreground: '#fff'
}
}
},
dark: {
colors: {
'sgi': '#137eb5',
'offwhite': '#ebebeb',
'altwhite': '#a9a9a9',
'sidebar': '#141414',
'titlebar': '#141414',
'titletext': '#efefef',
'titlehover': '#2b2b2b',
'titleborder': '#ffffff15',
'base': '#101010',
'container': '#161616',
'containerhover': '#252525',
'footer': '#0f0f0f',
'border': '#ffffff15',
'input': '#181818',
'inputborder': '#ffffff15',
'link': '#5a95d3',
'linkhover': '#4b82bb',
'modalheader': '#121212',
'modalbody': '#171717',
'modalfooter': '#121212',
'notibase': '#101010',
'notihead': '#181818',
'notiunread': '#212121',
'notihover': '#1e1e1e',
primary: {
DEFAULT: '#ebebeb',
foreground: '#000'
},
secondary: {
DEFAULT: '#137eb5',
},
danger: {
DEFAULT: '#ef4444',
foreground: '#fff'
}
}
},
}
})],
};