-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
53 lines (53 loc) · 1.23 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
const defaultTheme = require("tailwindcss/defaultTheme")
const colors = require("tailwindcss/colors")
module.exports = {
content: [
"./app/helpers/**/*.rb",
"./app/javascript/**/*.js",
"./app/views/**/*.html.erb",
],
safelist: [{ pattern: /form-.+/ }, { pattern: /btn-.+/ }],
theme: {
extend: {
fontFamily: {
sans: ["Inter", ...defaultTheme.fontFamily.sans],
},
colors: {
primary: colors.indigo,
secondary: colors.purple,
neutral: colors.gray,
success: colors.green,
warning: colors.yellow,
danger: colors.red,
'brand-blue': '#007bff'
},
borderWidth: {
DEFAULT: '1px',
'0': '0',
'2': '0.1px',
'3': '3px',
'4': '4px',
'6': '6px',
'8': '8px',
},
lineClamp: {
2: '2',
3: '3',
4: '4',
5: '5',
6: '6',
7: '7',
8: '8',
9: '9',
10: '10',
}
},
},
plugins: [
require("@tailwindcss/typography"),
require("@tailwindcss/forms"),
// https://github.com/adoxography/tailwind-scrollbar
require("tailwind-scrollbar")({ nocompatible: true }),
require('@tailwindcss/line-clamp')
],
}