-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
/
tailwind.config.js
65 lines (60 loc) · 1.41 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
import defaultTheme from 'tailwindcss/defaultTheme';
import forms from '@tailwindcss/forms';
import typography from '@tailwindcss/typography';
/** @type {import('tailwindcss').Config} */
export default {
content: [
'./vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php',
'./storage/framework/views/*.php',
'./resources/views/**/*.blade.php',
'./resources/js/**/*.vue',
'./lang/**/*.php',
'./lang/*.json',
],
safelist: [
'bg-neutral-200',
'text-neutral-800',
'bg-red-200',
'text-red-600',
'bg-amber-200',
'text-amber-600',
'bg-emerald-200',
'text-emerald-600',
'bg-slate-200',
'text-slate-600',
'bg-sky-200',
'text-sky-600',
'bg-lime-500',
'bg-lime-300',
'bg-cyan-600',
'bg-cyan-300',
'bg-orange-600',
'bg-orange-300',
'bg-red-700',
'bg-red-400',
'bg-stone-400',
'bg-stone-700',
'bg-slate-900',
'dark:bg-green-100',
'dark:bg-green-200',
'dark:bg-green-300',
'dark:bg-green-400',
'dark:bg-green-500',
'dark:bg-green-600',
'dark:bg-green-700',
'dark:bg-green-800',
'dark:bg-green-900',
{
pattern: /bg-(green)-(100|200|300|400|500|600|700|800|900)/,
},
],
theme: {
extend: {
fontFamily: {
sans: ['Nunito', ...defaultTheme.fontFamily.sans],
},
},
},
darkMode: 'class',
plugins: [forms, typography],
};