-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
42 lines (42 loc) · 1.05 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./index.html", "./src/**/*.{vue,js,ts,jsx,tsx}"],
theme: {
fontFamily: {
sans: "Open Sans, Helvetica, Arial, sans-serif",
serif: "Roboto Slab, serif",
},
extend: {
colors: {
orange: "#f63",
"orange-light": "#f85",
},
animation: {
"octocat-wave": "octocat-wave 750ms ease-in-out",
},
keyframes: {
"octocat-wave": {
"0%, 100%": { transform: "rotate(0)" },
"20%, 60%": { transform: "rotate(-25deg)" },
"40%, 80%": { transform: "rotate(10deg)" },
},
},
typography: (theme) => ({
DEFAULT: {
css: {
maxWidth: "none",
p: {
"font-family": theme("fontFamily.serif"),
},
a: {
color: theme("colors.orange"),
"text-decoration": "none",
},
},
},
}),
},
},
plugins: [require("@tailwindcss/typography")],
darkMode: "class",
};