| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- /** @type {import('tailwindcss').Config} */
- export default {
- content: ['./index.html', './src/**/*.{ts,tsx}'],
- darkMode: 'class',
- theme: {
- extend: {
- fontFamily: {
- sans: [
- '-apple-system',
- 'BlinkMacSystemFont',
- 'SF Pro Display',
- 'SF Pro Text',
- 'Helvetica Neue',
- 'Helvetica',
- 'Arial',
- 'sans-serif',
- ],
- },
- colors: {
- // Apple-inspired palette
- ink: {
- 50: '#fafafa',
- 100: '#f5f5f7',
- 200: '#e8e8ed',
- 300: '#d2d2d7',
- 400: '#a1a1a6',
- 500: '#86868b',
- 600: '#6e6e73',
- 700: '#424245',
- 800: '#1d1d1f',
- 900: '#0a0a0c',
- 950: '#000000',
- },
- accent: {
- DEFAULT: '#0071e3', // Apple blue
- dark: '#0a84ff',
- },
- },
- fontSize: {
- // Apple display sizes
- 'hero': ['clamp(3.5rem, 8vw, 7rem)', { lineHeight: '1.05', letterSpacing: '-0.04em', fontWeight: '600' }],
- 'h1': ['clamp(2.5rem, 5vw, 4rem)', { lineHeight: '1.1', letterSpacing: '-0.03em', fontWeight: '600' }],
- 'h2': ['clamp(2rem, 3.5vw, 2.75rem)', { lineHeight: '1.15', letterSpacing: '-0.025em', fontWeight: '600' }],
- 'h3': ['1.5rem', { lineHeight: '1.3', letterSpacing: '-0.02em', fontWeight: '600' }],
- 'body-lg': ['1.25rem', { lineHeight: '1.5', letterSpacing: '-0.01em', fontWeight: '400' }],
- 'body': ['1.0625rem', { lineHeight: '1.5' }],
- 'small': ['0.9375rem', { lineHeight: '1.4' }],
- 'caption': ['0.8125rem', { lineHeight: '1.3' }],
- },
- backdropBlur: {
- xs: '2px',
- },
- animation: {
- 'fade-in': 'fadeIn 0.6s ease-out',
- 'slide-up': 'slideUp 0.6s ease-out',
- 'pulse-slow': 'pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite',
- },
- keyframes: {
- fadeIn: { '0%': { opacity: '0' }, '100%': { opacity: '1' } },
- slideUp: { '0%': { opacity: '0', transform: 'translateY(20px)' }, '100%': { opacity: '1', transform: 'translateY(0)' } },
- },
- },
- },
- plugins: [],
- }
|