-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
55 lines (54 loc) · 1.58 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
import type { Config } from "tailwindcss";
const config: Config = {
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
fontFamily: {
dm: ["var(--font-dm-serif-display)"],
antic: ["var(--font-antic)"],
dekko: ["var(--font-dekko)"],
},
colors: {
white: "#EDF0F3",
navy: "#274C77",
blue: "#6096BA",
lightblue: "#A3CDF1",
gray: "#8B8C89",
red: "#885053",
green: "#BBDB9B",
},
keyframes: {
wiggle: {
"0%": { transform: "translateY(0)" },
"25%": { transform: "translateY(2px)" },
"50%": { transform: "translateY(0px)" },
"75%": { transform: "translateY(-2px)" },
"100%": { transform: "translateY(0px)" },
},
wave: {
// "0%": { transform: "translateX(2px)" },
// "50%": { transform: "translateX(-2px)" },
// "100%": { transform: "translateX(2px)" },
// "25%": { transform: "translateX()" },
// "75%": { transform: "translateX(-2rem)" },
// "100%": { transform: "translateX(0px)" },
},
bg: {
"0%, 100%": { backgroundPosition: "0 50%" },
"50%": { backgroundPosition: "100% 50%" },
},
},
animation: {
wiggle: "wiggle 0.75s ease-in-out infinite",
bg: "bg 10s ease-in-out infinite",
// wave: "wave 5s ease-in-out infinite",
},
},
},
plugins: [],
};
export default config;