forked from wireui/wireui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
67 lines (65 loc) · 1.61 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
const colors = require('tailwindcss/colors')
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./ts/**/*.{ts,js}',
'./src/View/**/*.php',
'./src/Traits/**/*.php',
'./src/WireUi/**/*.php',
'./src/Components/**/*.php'
],
darkMode: 'class',
theme: {
extend: {
colors: {
primary: colors.indigo,
secondary: colors.slate,
positive: colors.emerald,
negative: colors.red,
warning: colors.amber,
info: colors.blue,
/** background colors used in ring-offset-color */
background: {
white: colors.white,
dark: colors.slate[800]
}
},
zIndex: {
'60': '60',
'70': '70',
},
opacity: {
'15': '.15'
},
fontSize: {
'3xs': '0.5rem',
'2xs': '0.65rem'
},
spacing: {
'2.2': '0.55rem',
'3.5': '0.875rem',
'4.5': '1.13rem',
'5.5': '1.38rem',
'6.5': '1.63rem',
'9.5': '2.38rem'
},
keyframes: {
'linear-progress': {
'0%': { left: '-30%' },
'100%': { left: '100%' }
}
},
animation: {
'linear-progress': 'linear-progress 2s linear infinite'
}
}
},
plugins: [
require('@tailwindcss/forms')({ strategy: 'class' }),
require('./ts/tailwindcss/plugins/hideScrollbar'),
require('./ts/tailwindcss/plugins/softScrollbar'),
require('./ts/tailwindcss/plugins/appearance-none'),
require('./ts/tailwindcss/plugins/form/validation'),
require('./ts/tailwindcss/plugins/form/input-state')
]
}