-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
59 lines (57 loc) · 1.32 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{js,jsx,ts,tsx}'],
theme: {
extend: {
borderColor: {
fill: {
main: 'rgb(var(--fill-color)/ <alpha-value>)',
weak: 'rgb(var(--btn-color)/ <alpha-value>)',
strong: 'rgb(var(--btnHover-color)/ <alpha-value>)',
},
},
textColor: {
skin: {
base: 'rgb(var(--text-color)/ <alpha-value>)',
weak: 'rgb(var(--textWeak-color)/ <alpha-value>)',
},
fill: {
weak: 'rgb(var(--btn-color)/ <alpha-value>)',
strong: 'rgb(var(--btnHover-color)/ <alpha-value>)',
},
},
backgroundColor: {
fill: {
main: 'rgb(var(--fill-color)/ <alpha-value>)',
weak: 'rgb(var(--btn-color)/ <alpha-value>)',
strong: 'rgb(var(--btnHover-color)/ <alpha-value>)',
},
},
backgroundImage: {
'hello-pattern': "url('./images/pramod-tiwari-KXtBffEKYZ4-unsplash.jpg')",
},
width: {
128: '32rem',
9: '90%',
},
},
container: {
center: true,
},
screens: {
ssm: '540px',
sm: '576px',
// => @media (min-width: 576px) { ... }
md: '960px',
// => @media (min-width: 960px) { ... }
lg: '1440px',
},
},
variants: {
extend: {
backgroundColor: ['disabled'],
textColor: ['disabled'],
},
},
plugins: [require('@headlessui/tailwindcss')({ prefix: 'ui' })],
};