-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
64 lines (63 loc) · 1.91 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./app/**/*.{js,ts,jsx,tsx}",
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
// Or if using `src` directory:
"./src/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
colors: {
primary: "#007bff",
"primary-light": "#0069d9",
secondary: "#6c757d",
"secondary-light": "#5a6268",
warning: "#ffc107",
"warning-light": "#e0a800",
success: "#28a745",
"success-light": "#218838",
error: "#dc3545",
"error-light": "#c82333",
foreground: "#212529",
background: "#f8f9fa",
},
fontSize: {
xs: "12px",
sm: "14px",
base: "16px",
lg: "18px",
xl: "20px",
"2xl": "24px",
"3xl": "30px",
"4xl": "36px",
"5xl": "48px",
"6xl": "64px",
},
fontWeight: {
normal: "400",
medium: "500",
semibold: "600",
bold: "700",
extrabold: "800",
},
animation: {
text: "text 5s ease infinite",
},
keyframes: {
text: {
"0%, 100%": {
"background-size": "200% 200%",
"background-position": "left center",
},
"50%": {
"background-size": "200% 200%",
"background-position": "right center",
},
},
},
},
},
plugins: [require("@tailwindcss/typography")],
};