-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
66 lines (57 loc) · 1.34 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
57
58
59
60
61
62
63
64
65
66
const defaultTheme = require('tailwindcss/defaultTheme')
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['resources/views/**/*.edge'],
theme: {
extend: {
fontFamily: {
serif: ['Libre Baskerville', ...defaultTheme.fontFamily.serif],
sans: ['Instrument Sans', ...defaultTheme.fontFamily.sans],
},
},
},
plugins: [require('daisyui')],
safelist: [
'fond-bold',
'bg-gray-700',
'bg-red-500',
'bg-orange-500',
'bg-sky-900',
'bg-emerald-500',
'border-gray-700',
'border-red-500',
'border-orange-500',
'border-sky-900',
'border-emerald-500',
'text-gray-700',
'text-red-500',
'text-orange-500',
'text-sky-900',
'text-emerald-500',
'hover:bg-gray-700',
'hover:bg-red-500',
'hover:bg-orange-500',
'hover:bg-sky-900',
'hover:bg-emerald-500',
'hover:border-gray-700',
'hover:border-red-500',
'hover:border-orange-500',
'hover:border-sky-900',
'hover:border-emerald-500',
'p-3',
'p-4',
],
daisyui: {
themes: [
{
pastel: {
...require('daisyui/src/colors/themes')['[data-theme=pastel]'],
'--btn-text-case': 'none',
'--rounded-btn': '0.5rem',
'--rounded-box': '0.5rem',
'--padding-card': '1rem',
},
},
],
},
}