-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
60 lines (60 loc) · 1.86 KB
/
tailwind.config.js
File metadata and controls
60 lines (60 loc) · 1.86 KB
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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
animation: {
fadeIn: "fadeIn 0.8s ease-out",
},
keyframes: {
fadeIn: {
"0%": { opacity: 0, transform: "translateY(-20px)" },
"100%": { opacity: 1, transform: "translateY(0)" },
},
},
colors: {
background: "var(--background)",
foreground: "var(--foreground)",
accent: "#800080",
},
fontFamily: {
sairaalt: ["Saira", "Sans"],
verdana: ["Verdana", "sans-serif"],
saira: ["Saira Semi Condensed", "sans-serif"],
mont: ["Montserrat", "sans-serif"],
Teko: ["Teko", "sans-serif"],
teko: ["Teko", "sans-serif"],
poppins: ["Poppins", "sans-serif"],
jakarta: ["Jakarta", "sans-serif"],
},
screens: {
// Extra small devices
sm: "640px", // Small devices
xs: "480px",
xs2: { max: "480px" },
"sm-md": "704px", // Middle of small and medium
md: "768px", // Medium devices
"md-lg": "896px", // Middle of medium and large
lg: "1024px", // Large devices
"lg-xl": "1152px", // Middle of large and extra large
xl: "1280px", // Extra large devices
"xl-2xl": "1408px", // Middle of extra large and 2xl
"2xl": "1536px", // Default 2xl
"3xl": "1920px", // Custom large screen
"max-920": { max: "920px" }, // Max-width screens
"max-1060": { max: "1060px" },
"max-800": { max: "800px" },
"max-1240": { max: "1240px" },
"max-400": { max: "400px" },
},
},
},
plugins: [require("tailwind-scrollbar")],
variants: {
scrollbar: ["rounded"],
},
};