-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
118 lines (118 loc) · 3.79 KB
/
tailwind.config.js
File metadata and controls
118 lines (118 loc) · 3.79 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
colors: {
// Todo este bloque de 'colors' está perfecto,
// ya que toma los valores de tu tailwind.css
border: 'var(--color-border)',
input: 'var(--color-input)',
ring: 'var(--color-ring)',
background: 'var(--color-background)',
foreground: 'var(--color-foreground)',
primary: {
DEFAULT: 'var(--color-primary)',
foreground: 'var(--color-primary-foreground)',
},
secondary: {
DEFAULT: 'var(--color-secondary)',
foreground: 'var(--color-secondary-foreground)',
},
destructive: {
DEFAULT: 'var(--color-destructive)',
foreground: 'var(--color-destructive-foreground)',
},
muted: {
DEFAULT: 'var(--color-muted)',
foreground: 'var(--color-muted-foreground)',
},
accent: {
DEFAULT: 'var(--color-accent)',
foreground: 'var(--color-accent-foreground)',
},
popover: {
DEFAULT: 'var(--color-popover)',
foreground: 'var(--color-popover-foreground)',
},
card: {
DEFAULT: 'var(--color-card)',
foreground: 'var(--color-card-foreground)',
},
success: {
DEFAULT: 'var(--color-success)',
foreground: 'var(--color-success-foreground)',
},
warning: {
DEFAULT: 'var(--color-warning)',
foreground: 'var(--color-warning-foreground)',
},
error: {
DEFAULT: 'var(--color-error)',
foreground: 'var(--color-error-foreground)',
},
},
fontFamily: {
'inter': ['Inter', 'system-ui', 'sans-serif'],
'playfair': ['Playfair Display', 'Georgia', 'serif'],
},
fontSize: {
'xs': ['0.75rem', { lineHeight: '1rem' }],
'sm': ['0.875rem', { lineHeight: '1.25rem' }],
'base': ['1rem', { lineHeight: '1.6rem' }],
'lg': ['1.125rem', { lineHeight: '1.75rem' }],
'xl': ['1.25rem', { lineHeight: '1.75rem' }],
'2xl': ['1.5rem', { lineHeight: '2rem' }],
'3xl': ['1.875rem', { lineHeight: '2.25rem' }],
'4xl': ['2.25rem', { lineHeight: '2.5rem' }],
'5xl': ['3rem', { lineHeight: '1.2' }],
'6xl': ['3.75rem', { lineHeight: '1.1' }],
},
spacing: {
'18': '4.5rem',
'88': '22rem',
'128': '32rem',
},
borderRadius: {
'lg': '8px',
'md': '6px',
'sm': '4px',
},
boxShadow: {
// --- ¡ACTUALIZADO! ---
// Se cambiaron los colores RGBA para que coincidan con la paleta pastel
'luxury': '0 4px 20px rgba(96, 122, 148, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04)',
'luxury-lg': '0 8px 32px rgba(96, 122, 148, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06)',
'luxury-xl': '0 20px 40px rgba(0, 0, 0, 0.15)', // Sombra más oscura, está bien
},
animation: {
'ken-burns': 'kenBurns 8s ease-in-out infinite alternate',
'pulse-subtle': 'pulseSubtle 2s ease-in-out infinite',
'slide-up': 'slideUp 400ms cubic-bezier(0.4, 0, 0.2, 1)',
'fade-in': 'fadeIn 300ms ease-out',
},
transitionTimingFunction: {
'luxury': 'cubic-bezier(0.4, 0, 0.2, 1)',
},
backdropBlur: {
'luxury': '20px',
},
gridTemplateColumns: {
'property': 'repeat(auto-fit, minmax(320px, 1fr))',
'analytics': '1fr 2fr 1fr',
},
aspectRatio: {
'property': '4/3',
'hero': '16/9',
},
},
},
plugins: [
require('@tailwindcss/typography'),
require('@tailwindcss/forms'),
require('@tailwindcss/aspect-ratio'),
],
}