-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
35 lines (35 loc) · 862 Bytes
/
tailwind.config.js
File metadata and controls
35 lines (35 loc) · 862 Bytes
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
const plugin = require('tailwindcss/plugin')
/** @type {import('tailwindcss').Config}*/
module.exports = {
content: [
'./src/**/*.{html,js,jsx,ts,tsx}' // Đảm bảo rằng Tailwind có thể quét tất cả các tệp nơi bạn sử dụng các lớp CSS
],
corePlugins: {
container: false
},
theme: {
extend: {
colors: {
orange: '#ee4d2d',
text_footer: 'rgba(0, 0, 0, 0.65)'
},
fontSize: {
sm: '0.75rem'
}
}
},
plugins: [
plugin(function ({ addComponents, theme }) {
addComponents({
'.container': {
maxWidth: theme('columns.7xl'),
marginLeft: 'auto',
marginRight: 'auto',
paddingLeft: theme('spacing.4'),
paddingRight: theme('spacing.4')
}
})
}),
require('@tailwindcss/line-clamp')
]
}