-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
44 lines (42 loc) · 991 Bytes
/
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
// /** @type {import('tailwindcss').Config} */
// module.exports = {
// content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
// theme: {
// extend: {
// colors: {
// orange: '#ee4d2d'
// }
// }
// },
// plugins: []
// }
/* eslint-disable @typescript-eslint/no-var-requires */
const plugin = require('tailwindcss/plugin')
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
corePlugins: {
container: false,
},
theme: {
extend: {
colors: {
orange: '#ee4d2d',
},
},
},
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'),
],
}