-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtailwind.config.cjs
71 lines (62 loc) · 1.16 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
60
61
62
63
64
65
66
67
68
69
70
71
const plugin = require('tailwindcss/plugin')
const config = {
mode: 'jit',
content: ["./**/*.templ"],
safelist: [
'ml-2',
'no-underline',
'hover:text-v-lilac',
],
theme: {
colors: {
'v-black': "#0d0e12",
'v-pink': "#fc9cac",
'v-green': "#ccecef",
'v-gray': "#c4d0dd",
'v-lilac': "#ad9ce3",
'v-beige': "#8f8379",
'v-white': "#f9fafb",
// 'v-caution': '#f83d5a',
'v-note': '#316DCA',
'v-tip': '#347D39',
'v-important': '#8256D0',
'v-warning': '#966600',
'v-caution': '#22272E',
},
container: {
padding: {
DEFAULT: '1rem',
sm: '2rem',
md: '3rem',
lg: '4rem',
xl: '5rem',
'2xl': '6rem',
},
},
fontFamily: {
sans: ['Outfit', 'sans-serif'],
},
extend: {
lineHeight: {
'pizzo': '1.1',
}
}
},
plugins: [
require('@tailwindcss/typography'),
require('@tailwindcss/forms'),
plugin(function ({ addUtilities }) {
addUtilities({
'.scrollbar-none': {
'scrollbar-width': 'none',
'&::-webkit-scrollbar': {
'display': 'none'
},
/* Hide scrollbar in IE and Edge */
"-ms-overflow-style": 'none',
}
})
})
]
};
module.exports = config;