-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
56 lines (55 loc) · 1.53 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
const colors = require('tailwindcss/colors');
module.exports = {
content: [
'./components/**/*.{vue,js}',
'./layouts/**/*.vue',
'./pages/**/*.vue',
'./plugins/**/*.{js,ts}',
'./assets/css/*.{css}',
'./assets/form-kit/*.{js,ts}'
// './nuxt.config.{js,ts}'
],
theme: {
colors: {
transparent: 'transparent',
current: 'currentColor',
primary: colors.slate,
secondary: colors.cyan,
success: colors.emerald,
danger: colors.rose,
warning: colors.yellow,
black: colors.black,
white: colors.white,
gray: colors.gray
},
extend: {
gridTemplateColumns: {
'2/3': '2fr 1fr'
},
minWidth: {
5: '1.25rem',
'1/4': '25%',
'1/3': '33%',
'single-column': '100%',
'multiple-column': 'calc(50% - 1rem)'
},
width: {
'side-bar-collapse': '4rem',
'side-bar': '16rem',
'main-content': 'calc(100vw - 16rem)'
},
minHeight: {
5: '1.25rem'
},
maxHeight: {
'1/2-screen': '50vh'
}
}
},
plugins: [
require('@tailwindcss/typography'),
require('@tailwindcss/forms'),
require('@tailwindcss/aspect-ratio'),
require('@tailwindcss/line-clamp')
]
};