-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
40 lines (38 loc) · 1.05 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 type { Config } from "tailwindcss";
const config: Config = {
content: ["./src/**/*.{js,ts,jsx,tsx}"],
theme: {
extend: {
fontFamily: {
heading: ['"Schibsted Grotesk"', "sans-serif"],
mono: ['"DM Mono"', "monospace"],
},
keyframes: {
"fade-in": {
from: { opacity: "0" },
to: { opacity: "1" },
},
"fade-out": {
from: { opacity: "1" },
to: { opacity: "0" },
},
"slide-in-from-bottom": {
from: { transform: "translateY(100%)" },
to: { transform: "translateY(0)" },
},
"slide-out-to-bottom": {
from: { transform: "translateY(0)" },
to: { transform: "translateY(100%)" },
},
},
animation: {
"fade-in": "fade-in 0.3s ease-in-out",
"fade-out": "fade-out 0.3s ease-in-out",
"slide-in": "slide-in-from-bottom 0.3s ease-in-out",
"slide-out": "slide-out-to-bottom 0.3s ease-in-out",
},
},
},
plugins: [],
};
export default config;