forked from ploi/roadmap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
65 lines (62 loc) · 1.77 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
const colors = require('tailwindcss/colors')
import preset from './vendor/filament/support/tailwind.config.preset'
export default {
presets: [preset],
content: [
'./app/Filament/**/*.php',
'./resources/views/filament/**/*.blade.php',
'./vendor/filament/**/*.blade.php',
'./resources/**/*.blade.php',
],
safelist: [
"sm:max-w-sm",
"sm:max-w-md",
"sm:max-w-lg",
"sm:max-w-xl",
"sm:max-w-2xl",
"sm:max-w-3xl",
"sm:max-w-4xl",
"sm:max-w-5xl",
"sm:max-w-6xl",
"sm:max-w-7xl",
"lg:max-w-sm",
"lg:max-w-md",
"lg:max-w-lg",
"lg:max-w-xl",
"lg:max-w-2xl",
"lg:max-w-3xl",
"lg:max-w-4xl",
"lg:max-w-5xl",
"lg:max-w-6xl",
"lg:max-w-7xl",
"col-span-1",
"col-span-2",
],
darkMode: 'class',
theme: {
extend: {
colors: {
brand: {
50: 'var(--color-brand-50)',
100: 'var(--color-brand-100)',
200: 'var(--color-brand-200)',
300: 'var(--color-brand-300)',
400: 'var(--color-brand-400)',
500: 'var(--color-brand-500)',
600: 'var(--color-brand-600)',
700: 'var(--color-brand-700)',
800: 'var(--color-brand-800)',
900: 'var(--color-brand-900)',
},
danger: colors.rose,
primary: colors.blue,
success: colors.green,
warning: colors.yellow,
},
},
},
plugins: [
require('@tailwindcss/forms'),
require('@tailwindcss/typography'),
],
}