-
Notifications
You must be signed in to change notification settings - Fork 7
/
tailwind.config.js
89 lines (82 loc) · 2.58 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
const defaultTheme = require('tailwindcss/defaultTheme');
const colors = require('tailwindcss/colors');
module.exports = {
mode: 'jit',
// purge: [
// ],
presets: [
require('./vendor/wireui/wireui/tailwind.config.js')
],
content: [
'./vendor/wireui/wireui/resources/**/*.blade.php',
'./vendor/wireui/wireui/ts/**/*.ts',
'./vendor/wireui/wireui/src/View/**/*.php',
// './vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php',
'./storage/framework/views/*.php',
'./resources/views/**/*.blade.php',
'./vendor/wireui/wireui/resources/**/*.blade.php',
'./vendor/wireui/wireui/ts/**/*.ts',
'./vendor/wireui/wireui/src/View/**/*.php',
],
theme: {
extend: {
colors: {
transparent: 'transparent',
current: 'currentColor',
black: colors.black,
white: colors.white,
gray: colors.neutral,
danger: colors.rose,
primary: colors.blue,
success: colors.green,
warning: colors.yellow,
'gray-background': '#f7f8fc',
'blue': '#328af1',
'blue-hover': '#2879bd',
'yellow': '#ffc73c',
'yellow-500': '#eab308',
'red': '#ec454f',
'red-100': '#fee2e2',
'red-500': '#ef4444',
'green': '#1aab8b',
'green-50': '#f0fdf4',
'green-500': '#22c55e',
'purple': '#8b60ed',
'purple-500': '#a855f7',
},
spacing: {
22: '5.5rem',
44: '11rem',
70: '17.5rem',
76: '19rem',
104: '26rem',
128: '32rem',
175: '43.75rem',
},
maxWidth: {
custom: '68.5rem',
},
boxShadow: {
card: '4px 4px 15px 0 rgba(36, 37, 38, 0.08)',
dialog: '3px 4px 15px 0 rgba(36, 37, 38, 0.22)',
},
fontFamily: {
sans: ['Open Sans', ...defaultTheme.fontFamily.sans],
},
fontSize: {
xxs: ['0.625rem', {
lineHeight: '1rem'
}],
},
},
},
variants: {
extend: {
opacity: ['disabled'],
},
},
plugins: [
require('@tailwindcss/forms'),
require('@tailwindcss/line-clamp'),
],
};