-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtailwind.config.js
51 lines (51 loc) · 1.39 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
const { ibasic, imix } = require('./styles/basicUtilsPlugins')
module.exports = {
content: [
'./pages/**/*.{js,ts,jsx,tsx}',
'./components/**/*.{js,ts,jsx,tsx}',
'./node_modules/flowbite-react/**/*.{js,jsx,ts,tsx}',
],
darkMode: 'class',
theme: {
extend: {
screens: {
pc: { max: '99999px' },
tablet: { max: '1280px' },
mobile: { max: '1000px' }
},
backgroundColor: {
current: 'currentColor',
'primary': 'var(--primary)',
'stack-1': 'var(--bg-stack-1)',
'stack-2': 'var(--bg-stack-2)',
'stack-3': 'var(--bg-stack-3)',
'stack-4': 'var(--bg-stack-4)',
'transparent': 'transparent',
'inherit': 'inherit',
},
textColor: {
current: 'currentColor',
'default': 'var(--primary)',
'primary': 'var(--text-primary)',
'secondary': 'var(--text-secondary)',
'tertiary': 'var(--text-tertiary)',
'disabled': 'var(--text-disabled)',
},
borderColor: {
current: 'currentColor',
'primary': 'var(--primary)',
'stack-1': 'var(--bg-stack-1)',
'stack-2': 'var(--bg-stack-2)',
'stack-3': 'var(--bg-stack-3)',
'stack-4': 'var(--bg-stack-4)',
},
ringColor: {
current: 'currentColor',
'primary': 'var(--primary)',
}
},
},
plugins: [
ibasic, imix
],
}