Repository navigation
Expand file tree
/
Copy pathtailwind.config.js
More file actions
76 lines (76 loc) · 2.18 KB
/
Copy pathtailwind.config.js
File metadata and controls
76 lines (76 loc) · 2.18 KB
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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./app/helpers/**/*.rb',
'./app/assets/stylesheets/**/*.css',
'./app/views/**/*.{html,html.erb,erb}',
'./app/views/devise/**/*.{html,html.erb,erb}',
'./app/frontend/components/**/*.{vue,js,ts,jsx,tsx}',
'./app/frontend/**/*.{vue,js,ts,jsx,tsx}',
'./app/**/*.{vue,js,ts,jsx,tsx}',
],
safelist: [
'font-extralight',
'font-extrabold',
'text-red-500',
'text-pink-600',
'text-orange-600',
'text-sm',
'text-3xl',
],
theme: {
fontFamily: {
sans: [
"ui-sans-serif",
"system-ui",
"Segoe UI",
"Roboto",
"Helvetica Neue",
"Arial",
"sans-serif",
],
serif: [
"Iowan Old Style",
"Palatino Linotype",
"Palatino",
"Charter",
"Georgia",
"serif",
],
mono: [
"ui-monospace",
"SFMono-Regular",
"Menlo",
"Consolas",
"monospace",
],
},
extend: {
colors: {
theme: {
bg: 'var(--bg)',
'accent-bg': 'var(--accent-bg)',
text: 'var(--text)',
'text-light': 'var(--text-light)',
border: 'var(--border)',
accent: 'var(--accent)',
'accent-text': 'var(--accent-text)',
code: 'var(--code)',
preformatted: 'var(--preformatted)',
disabled: 'var(--disabled)',
focus: 'var(--focus)',
danger: 'var(--danger)',
}
}
},
},
corePlugins: {
aspectRatio: false,
},
plugins: [
require('@tailwindcss/typography'),
require('@tailwindcss/forms'),
require('@tailwindcss/aspect-ratio'),
require('@tailwindcss/line-clamp'),
],
}