-
Notifications
You must be signed in to change notification settings - Fork 261
/
tailwind.config.js
43 lines (40 loc) · 1021 Bytes
/
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
const defaultTheme = require("tailwindcss/defaultTheme")
const colors = require("tailwindcss/colors")
module.exports = {
plugins: [
require("@tailwindcss/forms"),
require("@tailwindcss/aspect-ratio"),
require("@tailwindcss/typography"),
require('@tailwindcss/line-clamp'),
],
content: [
"./app/assets/**/*.svg",
"./app/components/**/*.{rb,html,html.erb,yml}",
"./app/helpers/**/*.rb",
"./app/javascript/**/*.js",
"./app/models/field_error_tag_builder.rb",
"./app/views/**/*.html.erb",
"./config/utility_classes.yml"
],
theme: {
extend: {
colors: {
red: colors.rose,
},
fontFamily: {
sans: ["Inter var", ...defaultTheme.fontFamily.sans],
serif: ["Merriweather", "serif"],
},
animation: {
"reverse-spin": "reverse-spin 1.5s linear infinite"
},
keyframes: {
"reverse-spin": {
from: {
transform: "rotate(360deg)"
},
},
},
},
},
}