-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
61 lines (61 loc) · 1.36 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
module.exports = {
mode: 'jit',
purge: {
enabled: true,
content: [
'./app/**/*.js.erb',
'./app/helpers/**/*.rb',
'./app/components/**/*.rb',
'./app/components/**/*.html.{erb,slim}',
'./app/views/**/*.html.{erb,slim}',
'./app/javascript/**/*.{js,ts,vue,jsx,scss}',
'./config/initializers/simple_form_tailwind.rb'
],
safelist: [
'mr-2',
'bg-gray-100',
'text-gray-500'
]
},
darkMode: false, // or 'media' or 'class'
theme: {
extend: {
fontFamily: {
sans: [
// 'Inter var',
'Inter',
'ui-sans-serif',
'system-ui',
'-apple-system',
'BlinkMacSystemFont',
'"Segoe UI"',
'Roboto',
'"Helvetica Neue"',
'Arial',
'"Noto Sans"',
'sans-serif',
'"Apple Color Emoji"',
'"Segoe UI Emoji"',
'"Segoe UI Symbol"',
'"Noto Color Emoji"'
]
},
zIndex: {
'75': 75,
'100': 100
}
},
},
variants: {
extend: {
// borderWidth: ['hover', 'focus'],
transitionProperty: ['visibility', 'height', 'opacity']
},
},
plugins: [
require('@tailwindcss/aspect-ratio'),
require('@tailwindcss/forms'),
require('@tailwindcss/line-clamp'),
require('@tailwindcss/typography')
]
}