-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
42 lines (42 loc) · 1.12 KB
/
tailwind.config.js
File metadata and controls
42 lines (42 loc) · 1.12 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./index.html", "./src/**/*.{js,jsx}"],
darkMode: "class", // ✅ dark mode via class
theme: {
extend: {
screens: {
'3xl': '1600px', // ultra-wide desktops
},
fontFamily: {
sans: ['Inter', 'Poppins', 'sans-serif'],
mono: ['Fira Code', 'monospace'],
},
colors: {
brand: {
DEFAULT: '#6366F1',
light: '#A5B4FC',
dark: '#4F46E5',
},
},
animation: {
fade: 'fadeIn 1s ease-in-out forwards',
bounceSlow: 'bounce 3s infinite',
},
keyframes: {
fadeIn: {
'0%': { opacity: 0, transform: 'translateY(20px)' },
'100%': { opacity: 1, transform: 'translateY(0)' },
},
},
backgroundImage: {
'bg-gradient': 'linear-gradient(to bottom right, #667eea, #764ba2)',
'bg-blobs': "url('/src/assets/blobs.svg')",
'bg-galaxy': "url('/src/assets/galaxy.jpg')",
},
},
},
plugins: [
require('tailwind-scrollbar-hide'),
require('@tailwindcss/typography'),
],
};