-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.ts
40 lines (39 loc) · 1.25 KB
/
tailwind.config.ts
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
import aspectRatio from "@tailwindcss/aspect-ratio";
import forms from "@tailwindcss/forms";
import typography from "@tailwindcss/typography";
import type { Config } from "tailwindcss";
import defaultTheme from "tailwindcss/defaultTheme";
export default {
content: [ "./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}" ],
darkMode: "class",
theme: {
extend: {
fontFamily: {
sans: [
"Nunito Variable",
...defaultTheme.fontFamily.sans,
],
},
animation: {
"bounce-horizontal": `bounce-horizontal 2s infinite`,
},
keyframes: {
"bounce-horizontal": {
"0%, 100%": {
transform: "translateX(-25%)",
animationTimingFunction: "cubic-bezier(0.8, 0, 1, 1)",
},
"50%": {
transform: "none",
animationTimingFunction: "cubic-bezier(0, 0, 0.2, 1)",
},
},
},
},
},
plugins: [
forms,
typography,
aspectRatio,
],
} as Config;