-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
58 lines (57 loc) · 1.37 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
const defaultTheme = require('tailwindcss/defaultTheme')
const colors = require('tailwindcss/colors')
module.exports = {
darkMode: 'class',
content: [
'./vendor/laravel/**/*.blade.php',
'./storage/framework/views/*.php',
'./resources/views/**/*.blade.php',
'./resources/js/**/*.vue',
'./system/**/resources/**/*.vue',
'./system/**/resources/**/*.js',
],
theme: {
extend: {
keyframes: {
rotate: {
'from': { transform: 'rotate(0deg)' },
'to': { transform: 'rotate(-359deg)' },
}
},
animation: {
rotate: 'rotate .75s ease-in-out infinite'
},
typography: (theme) => ({
sm: {
css: {
color: theme('colors.gray.800'),
hr: {
marginTop: '1rem',
marginBottom: '1rem',
},
h1: {
lineHeight: 1
},
h2: {
marginTop: '1rem',
marginBottom: '0.5rem',
},
p: {
marginTop: '1rem',
marginBottom: '1rem',
}
},
},
}),
colors: {
gray: colors.slate,
},
},
},
plugins: [
require('@tailwindcss/forms'),
require('@tailwindcss/typography'),
require('@tailwindcss/aspect-ratio'),
require('tailwind-scrollbar'),
],
}