forked from Rahuletto/ClassPro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
55 lines (54 loc) · 1.29 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";
import { Themes } from "./misc/theme";
const config: Config = {
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
],
darkMode: "selector",
theme: {
fontFamily: {
sans: ["var(--font-geist-sans)"],
mono: ["var(--font-geist-mono)"],
},
fontWeight: {
normal: "500",
medium: "500",
semibold: "600",
bold: "700",
"extra-bold": "800",
black: "900",
},
extend: {
gridTemplateColumns: {
marks: "repeat(auto-fill, minmax(18rem, 1fr))",
},
keyframes: {
fadeIn: {
"0%": { opacity: "0" },
"100%": { opacity: "1" },
},
fadeOut: {
"0%": { opacity: "1" },
"100%": { opacity: "0" },
},
},
animation: {
fadeIn: "fadeIn 0.4s ease-in-out forwards",
fastfade: "fadeIn 0.1s ease-in forwards",
fadeOut: "fadeOut 0.4s ease-in-out forwards",
},
colors: {
...(Themes as any),
},
backgroundColor: {
...(Themes as any),
},
transitionTimingFunction: {
bouncy: "cubic-bezier(0.68, -0.55, 0.27, 1.55)",
},
},
},
};
export default config;