forked from frappe/press
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.cjs
59 lines (58 loc) · 1.03 KB
/
tailwind.config.cjs
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
const plugin = require('tailwindcss/plugin');
module.exports = {
presets: [require('frappe-ui/src/utils/tailwind.config')],
content: [
'./public/index.html',
'./src/**/*.html',
'./src/**/*.vue',
'./src2/**/*.vue',
'./src/assets/*.css',
'./node_modules/frappe-ui/src/components/**/*.{vue,js,ts}'
],
theme: {
extend: {
width: {
112: '28rem',
wizard: '650px'
},
minWidth: {
40: '10rem'
},
maxHeight: {
52: '13rem'
}
},
container: {
padding: {
xl: '5rem'
},
margin: {
3.5: '14px'
}
},
screens: {
sm: '640px',
md: '768px',
lg: '1024px',
xl: '1280px'
}
},
plugins: [
require('@tailwindcss/container-queries'),
plugin(function ({ addUtilities, theme }) {
// Add your custom styles here
addUtilities({
'.bg-gradient-blue': {
'background-image': `linear-gradient(180deg,#2c9af1 0%, ${theme(
'colors.blue.500'
)} 100%)`
}
});
addUtilities({
'.bg-gradient-none': {
'background-image': 'none'
}
});
})
]
};